]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
Update ReleaseNotes
[bacula/bacula] / bacula / ChangeLog
1
2 2002-mm-dd Version 1.27 (26Nov02) released 28 November 2002
3
4 General: from kes25Nov02
5 - Mostly Cygwin changes
6
7 Changes submitted this submission:
8 - Updated bdb_find.c to have new calling sequence for db_find_job_start_time
9 - dird/catreq.c edit in Volume name in error messages to SD
10 - attribs.c switch to using the cygwin API to convert from POSIX paths
11   to Win32 paths. This now permits Win32 path specifications in Include
12   statements (all combinations not yet tested).  It also avoids the large
13   number of errors seen by Lutz if a Win32 path is specified in the Dir.
14 - Update testfind help and remove set_attribsEx debug code.      
15 - Build testfind as default.
16 - Turn off debug message in stored/askdir.c
17
18 General: from kes21Nov02
19 - Another change in the database. You MUST either re-initialize
20   your database or use the appropriate ./alter_xxx_tables in
21   the src/cats directory.
22
23 Changes submitted this submission:
24 - Additional documentation.
25 - Added MaxVolFiles to the database (not yet implemented in code).
26 - Increased the database version from 3 to 4.
27 - Change VolMaxBytes to MaxVolBytes, which is much more descriptive.
28 - Compressed unnecessary spaces out of a lot of SQL statements.
29 - Changed many %d to %u where unsigned integers are used.
30 - Added the Bacula version and build date to each backup output.
31   This will help knowing what version of Bacula was used.
32 - Implemented VolUseDuration MaxVolBytes, MaxVolFiles, and MaxVolJobs
33   based on maximums set in the Volume (Media) record rather than in the
34   resource. This means the values can be individually set on a Volume basis.
35 - Allow commas separating Include options (this was a subtle bug).
36 - Added maximum string length argments to a number of subroutines to
37   prevent buffer overflows. Most notably was do_prompt().
38 - Replaced MANY occurrences of strcpy() with bstrncpy(), which guarantees
39   both that the length is not exceeded and that the string is properly terminated.
40   This has a risk of a certain destabilization -- as does the changes to
41   the SQL noted above.
42 - In cram-md5 routine use my_name if gethostname() returns an error.
43 - Increase timeout from 2 minutes to 3 minutes in authorization code.
44 - Check the full string including \n in authorization.
45 - Throw away any response longer than MAXSTRING.
46 - Added a number of additional error checks on subroutine return statuses.
47 - Replaced as many lld's with edit_uint64 as I could find.
48 22Nov02:
49 - Added MaxVolBytes to Pool record - had forgotten it. Updated DB version.
50 23Nov02
51 - Update manual to document new Pool/Volume attributes
52 - Correct make_sqlite_tables (typo, plus missing value in Pool)
53 - Fix bizarre behavior in gnome-console and console when auth fails.
54 - Add Pool attribute query
55 - Add a few more error messages in askdir.c
56 - More strcpy() conversions to bstrncpy().
57
58 General: from kes18Nov02
59 - Did a number of cleanups of string copying to limit the length
60   and prevent buffer overflows.
61
62 Changes submitted this submission:
63 - Added a mutex arount the gethostbyname() so that multiple simultaneous
64   jobs get the correct address.
65 - Added the MaxVolJobs to the Media alter tables script for MySQL (forgot it).
66 - Changed arg to db_find_job_start_time to be POOLMEM for returning the string.
67 - Add the new VolUseDuration and MaxVolJobs to all the db_ routines.
68 - Use bstrncpy() in most places in the db_ routines to prevent a bad 
69   database from crashing Bacula (self protection).
70
71 General: from kes13Nov02
72 - You MUST either re-initialize your databases or use the 
73     ./alter_mysql_tables
74   or  
75     ./alter_sqlite_tables
76   in the <bacula-src>/src/cats directory to modify your database tables.
77 - Major improvements to dbcheck including an interactive mode.
78
79 Changes submitted this submission:
80 - Implemented VolumeUseDuration and MaximumVolumeJobs which control
81   when a tape can be marked Used.
82 - New tape status "Used" means it was used and cannot be used any more.
83 - Defined utime_t which is 64 bit epoch time in seconds.  btime_t is
84   64 bit epoch time in microseconds.
85 - Created alter_xxx_tables to add new columns (VolUseDuration, MaxVolJobs) to
86   database. Incremented db version.
87 - Changed a few subroutine names concerning dates to be more descriptive.
88 - Fixed several places where the last filename was not stored in JCR in
89   FD verify_vol.c and restore.c
90 - Major update to dbcheck.  Unfortunately I used subselects, which work
91   perfectly fine in SQLite, but not at all in MySQL.  I must now rework
92   it for MySQL. What a pain!
93 - Removed "Database found" from configure output. It was no longer used or valid.
94 - Corrected doc --working-dir => --with-working-dir  Thanks to Tuck for 
95   reporting this.
96 - Added the database name to the error message for mismatched DB version.
97 - Commented out GMP and CWEB from configure as they are not currently used.
98
99 General: from kes09Nov02
100 - Converted the manual over to a new format written in wml. This
101   gives navigation buttons on the top and bottom of each page
102   as well as a standard page size.
103 - Updated the main Web site, providing a menu bar to the left
104   and much better organization and presentation of the information.
105 - Added code to recognize a Volume written with a larger block
106   size than specified. The code automatically adjusts. 
107
108 Changes submitted this submission:
109 - Created a new scripts directory and moved most of the scripts
110   previously in the main directory there. This cleans things up
111   quite a bit.
112 - Moved the randpass stuff into autoconf.
113 - ensure that the generic make_bacula_tables and drop_bacula_tables
114   are installed.
115 - Added code to filed to allow it to be run from inetd.  Just add the
116   -i option.  I have not tested it.
117
118 General: from kes30Oct02
119 - Alex found a problem with GZIP compression -- fixed.
120 - bacula stript fixes.
121 - Segment fault in Director fixed.
122 - Added openbsd to platforms
123
124 Changes submitted this submission:
125 - GZIP compression was broken for large files due to a variable that
126   is changed during the compression. This was relatively easy to fix.
127   However, there were a number of fixes required to make GZIP and SPARSE
128   files work together. Found one more place in bextract where SPARSE_GZIP
129   testing was missing.
130 - During testing of the above, I ran into the restore problem of multiple
131   FileSet records. Fixed by including the FileSetId and the MD5 on the
132   selection string, then always using the FileSetId. It is a bit
133   confusing for the user, but ...
134 - Francis found a problem with bacula.in (fixed - thanks)
135 - I found another problem with bacula.in, so now it REALLY should work
136   on most systems.
137 - Added the Replace options code for restores. Not tested.
138 - Fixed an ugly stack overrun bug in reading the config file
139   that has been in for a long time.  I found this in testing on FreeBSD
140   where the Director seg faulted.
141
142 General: from kes29Oct02
143 - Major change to the bnet communications routines.
144
145 Changes submitted this submission:
146 - Modified the bacula script to use pid files, so this script should
147   now work on more platforms.  Updated devel_bacula as well.
148 - Added the full GNU hostname on the configuration print output.
149 - Added gettimeofday() to configure, and tweaked a few variables for
150   OpenBSD.
151 - Added a chapter to the manual on Porting Bacula to other platforms.
152 - Documented in Tips how to use the WriteBootstrap record.
153 - Modified bc_types.h to error if 64 bit types are not found.
154 - Pass replace option for restore to the FD (no code to use it yet).
155 - Modify the FD to pass back the GNU OS string as well as the DISTNAME
156   and DISTVER. This needs to be put in the Client record in the catalog.
157 - Major reworking of the bnet routines to eliminate the zero length which
158   previously indicated a signal. This risks to create some subtle communications
159   bugs.  The changes now permit blank lines to be sent from the user to the
160   Director.
161 - Found and corrected a few more places where the Win32 attributes were not
162   being recognized.
163 - Permit spaces in the Where string (restore) by bashing/unbashing them.
164 - Handle quotes correctly in the Console program (actually Dir ua code).
165   Previously they were not handled in the middle of a string.
166 - Corrected two error message (error reading file), which previously stated
167   it was a network error.
168 - Reworked the files in the binary Windows release. Removed unused programs 
169   and added a README with the copyright as suggested by John. Also added
170   console.exe to the release.
171 - Found and corrected an autoloader mount problem where the wrong tape
172   was specified.  Previously it looped, then gave up.  Now it correctly
173   detects the volume is not correct and zaps the Slot in the catalog.
174
175 General: from kes23Oct02
176 - I have mainly worked on getting all the details of a Restore
177   to work correctly (new tape format, support for Win32 
178   attributes, ...)
179 - Trademarked name Bacula.
180 - Implement Bacula tape format 11 (1.0 Immortal). This format
181   will be maintained forever.
182 - Accept Any Volume is yes by default. This modifies Bacula's behavior
183   when writing tapes.
184
185 Changes submitted this submission:
186 - Corrected a bug on FreeBSD where CFLAGS would get a "yes". I was
187   unable to reproduce this, but a user confirmed the correction.
188   It was a problem with detection of largefile support, which FreeBSD 
189   has by default.
190 - Added a new "license" chapter in the manual. Re-licensed a number of
191   library routines (bnet.c, hmac.c md5.c, cram-md5, ...) with LGPL so that they
192   can be used in proprietary software to access Bacula if so desired.
193 - Move Director's AutoChanger doc to correct location (in Storage      
194   resource). 
195 - Document why trademark (to protect compatibility).
196 - Implement and turned on Bacula tape format 11 (also BB02). This
197   format moves the VolSessionId and VolSessionTime from each record 
198   header into the Block header. This is MUCH more efficient when reading
199   records as now whole blocks can be skipped.   
200   Also added JobStatus in End Of Session record, and added MD5 for
201   FileSet, which is necessary to insure uniqueness.
202 - Implement a new Bacula time format for btime_t. It is Epoch time
203   in microseconds (i.e. base 1 Jan 1970 in microseconds).
204   This replaces previous floating point times.
205 - Added Win32 extended attributes. In doing so, I moved all attribute
206   handling from src/lib into src/findlib.  Added new streams for 
207   Win32 attributes and for GZIP Win32 attributes.
208 - Modified "Accept Any Volume" so that it really permits any volume
209   in the pool to be mounted.  
210 - Removed "Mount Anonymous Volumes" from Storage daemon config.
211 - Implemented sparse files. You must add "sparse=yes" on the include line
212   for it to be enabled.
213 - Print "None" in backup summary rather than 0.0% if there is no compression
214   enabled.
215 - Improved error checking in daemon connection/authentication code to prevent
216   garbage data from harming a Bacula daemon.
217 - All daemon tools MUST have a config file.
218 - Completely strip drive specification on Win32 if a Where prefix is specified.
219 - Corrected DB info for writing to files. Now the File Address is stored
220   in File-Block variables in the catalog.
221 - All Storage daemon tools now use common code for acquiring/reading
222   Volumes.
223 - If a device is unmounted, report it even if the device is not open. This
224   will help inform users who have BLOCKED Bacula by unmounting a drive.
225
226
227 =============================================================================
228 2002-10-12 Version 1.26 (10Oct02)
229 General: from kes10Oct02
230 - Changed Job name conventions to avoid : which is an illegal
231   character on Windows.
232
233 Changes submitted this submission:
234 - Added check for inet_pton to configure.in. If it does not
235   exist (e.g. Windows) use inet_aton
236 - Documentation on GZIP.
237 - Another restore doc example.
238 - Documented btape fill command.
239 - Set default restore directory from /tmp to /tmp/bacula-restores
240 - Add additional no find error messages to sql_get.c
241 - Creating a bootstrap file on Windows failed because the Job name
242   contained colons which are illegal on Windows. Replaced the
243   colons with periods.  This corrects the Windows restore problem.
244 - Print number of files to be restored in "restore" command.
245 - On Windows systems, if there is a prefix, completely eliminate
246   any drive: at the beginning of a path.
247 - Minor corrections to the tree routines to handle Windows
248   files such as c:/ better. Previously it insisted on /c:/, which
249   would then not be found in the catalog for a "dir" command.
250 - Modified cd command in restore to try /c: if c: fails.
251 - Add a new S_ISWIN32 bit to the st_mode word so that low level
252   routines that create files do not print error messages.
253 - More work must be done to restore all Windows files correctly.
254   Currently the following bits are not handled:
255     Archive
256     Hidden
257     System 
258   Also, all the dates are not properly restored.
259
260 General: from kes09Oct02
261 - More documentation.
262 - Implemented new fill command in btape that permits filling
263   a tape and then reading it back to ensure that it works
264   with Bacula.
265
266 Changes submitted this submission:
267 - Added ReadBytes to JCR, which contains Job bytes read by
268   FD, JobBytes contains compressed output of FD.
269 - Modified FD to pass back JobStatus, ReadBytes, JobBytes, ...
270   for backup jobs.  This is upward compatible.
271 - Modified backup termination status report to contain the
272   compression ratio 100 * (1 - compressed-bytes/uncompressed-bytes)
273   This will always be zero if no software compression was
274   done, or if you are using a version 1.25 or older FD.
275 - Pickup Job termination status of FD in backup, so now
276   the termination status represents the state of all three
277   daemons.
278 - Implemented new fill command in btape that permits filling
279   a tape and then reading it back to ensure that it works
280   with Bacula.
281
282 General: From kes06Oct02
283 - Implemented first major cut of bscan -- program to scan a tape
284   and recreate a Bacula catalog.
285 - Fixed lseek() relative negative seek that prevented writing multiple
286   jobs to a File volume.
287 - Implemented BB02 tape format -- currently turned off for writing.
288
289 Changes submitted this submission:
290 - Updated README
291 - Implemented new BB02 tape format, which moves the VolSessionId and
292   VolSessionTime from the record headers into the Block header.  It
293   is currently turned off.
294 - Implemented new btime time/date format on the tape. This is currently
295   turned off.
296 - Added JobStatus to EOS tape label. This is currently turned off.
297 - Changed start_block, ... to StartBlock in JCR for uniformity.
298 - Print a message telling which tables were dropped/made with  
299   ./drop_bacula_tables.
300 - Return JobType and JobLevel in db_get_job_record().
301 - Implemented get_current_btime(), which returns btime_t.
302 - Bump debug message max size to 2000 bytes.
303 - Add btime_t serial/unserial routines.
304 - Rework all tape label routines to integrate btime and other
305   label format changes (currently turned off -- for writing).
306 - Fix lseek() to always be positive -- block.c
307 - Consolidate record, block, and label major #defines in block.h.
308 - Major implementation of bscan. Some more minor tweaking will be
309   necessary.  E.g. add multiple records for multiple simultaneous
310   Jobs.
311 - Cleanup lseek() to always use off_t as second argument.
312 - Add new "created" tape label (EOT_LABEL). This generates a callback
313   to the read_records() routine when the final end of all tapes is
314   reached allowing proper termination and updating of the media records.
315
316 General: From kes25Sep02
317 - Added means to bind servers to specific address.
318 - Documentation
319
320 Changes submitted this submission:
321 - Added DirAddress, FDAddress, and SDAddress records to the corresponding
322   resources that allow the server to bind to a specific address 
323   rather than any address.  This security improvement was suggested by
324   a user -- thank you.
325 - Eliminated deprecated "Address" record from all sample Storage resources.
326 - Made quite a lot of improvements to the bscan program. Much more
327   to do. Aside from details, it is able to recreate a database
328   from which you can do a restore.
329 - The s option is not accepted on all versions of ar, so replaced it
330   by an explicit ranlib call.
331 - Fixed a bug that caused the Director to crash if you rudely bring
332   down the console program in the middle of an SQL command.
333 - Fixed a bug (missing break) that caused scheduled Admin jobs to
334   be listed as "Unknown type".
335 - Removed old code from Storage daemon that used a separate FD port.
336
337 General:  From kes14Sep02
338 - Better key generation on non OpenSSL systems.
339 - 64 bit file address support if available.
340 - Implement autochanger for reading
341 - Lots of cleanup of tape reading code.
342 - Automatically create all Pool resources when Bacula starts.
343 - Implement bscan.c
344 - Implement autochanger use via the Console commands "add" and "label"
345 - Begin implementation of a regression script 
346 - Write bootstrap after ever job
347
348 Changes submitted this submission:
349 - After noticing that the non OpenSSL random key generator was
350   not good on Solaris, John wrote a very nice randpass generator.
351 - Integrated John's makeSessionKey for generating the FD->SD
352   authorization.
353 - Statically link tools (doesn't work on Solaris).
354 - Document how to debug Bacula (new chapter in the manual)
355 - Remove unneeded printing of error message in sql_get.c
356 - Free SD description config record (previous oversight)
357 - Bash spaces when sending Director names, and unbash them when 
358   received.
359 - Ensure no divide by zero in rate computation in backup.c
360 - Implement WriteBootstrap in backup.c
361 - Allow tape reading to request volume information for any
362   volume.
363 - Create all Pool resources at startup.
364 - Show only Backup jobs in Restore listing of last 20 Jobs.
365 - Handle 64 bit stat packets in restore.
366 - Don't do shell expansion on store_dir in config if string 
367   starts with |.  This is used for piping the program for the
368   WriteBootstrap.
369 - Ignore SIGHUP -- DéjàGnu was triggering this. 
370 - Implement autochanger for reading, many changes to 
371   acquire_device_for_read()
372 - Implement callback for reading Volume. Implement in bextract,
373   bls, and bscan.
374 - Implement bscan
375 - Add count to bsr.
376 - Fix Volume in bsr.
377 - Move autochanger code to new subroutine in mount.c
378
379 =============================================================================
380 2002-09-05 Version 1.25a (05Sep02) Released
381 - Fix unitialized stack variable in bextract so it
382   will always read the currently mounted tape.
383
384 =============================================================================
385 2002-09-04 Version 1.25 (01Sep02) Released
386   General:
387 - Added .cvsignore files in each directory to cut down on the
388   CVS output when scanning directories and finding Makefiles
389   and such which are not part of the CVS tree.
390
391   Changes submitted this submission:
392 - Cleaned up a lot of the error messages in Verify, including
393   indenting.
394 - Had to remove some of the "automatic" error message printing
395   in the DB because they are in fact things that come up 
396   for Verify but not really errors.
397
398
399   2002-08-30 Version 1.25 (30Aug02) Beta
400   From kes30Aug02
401 - Fixed a bug where only the first file was restored if
402   it is hard linked. The other links were lost.
403 - In some cases of restoring to alternate directories, softlinks
404   were not properly restored.
405
406   From kes28Aug02
407   General:
408 - Bacula backups now run up to 12 times faster than version 1.24
409 - Bacula can run multiple simultaneous Jobs.
410 - Had to turn off TRANSACTIONS in SQLite because it doesn't work
411   with multiple simultaneous jobs (I'm working on this).
412 - Added a better Job printout for Restore Jobs.
413 - Added a save/restore Rate to backup and restore jobs. This
414   does not yet subtract out operator wait time so it will be
415   underestimated it the Job waits on the tape (mount/label).
416 - Fixed a major bug caused by free()ing a buffer twice in
417   the Restore code. This made the SD more or less useless after
418   any restore Job. Arrggg!
419 - DIR - SD protocol changed, both must be updated at the same time.
420 - DIR - FD protocol changed in upward compatible way. Upgrade of   
421   FD not required, but recommended.
422
423   Changes submitted this submission:
424 - Added bell to "make" when errors are detected.
425 - Changed default compile option from -g to -g -O2
426 - Additional documentation as usual -- much based on questions or
427   feedback from users. Thanks.
428 - Fixed example config files to use new syntax and to have a 
429   Restore Job.
430 - Define ETIME to ETIMEOUT for Irix
431 - Added JCR filed to DB structure permitting direct printing error
432   messages from within the Database subroutines.
433   Some error messages may be printed twice as a consequence.
434   When I see them or someone reports them, I will remove the double.
435 - Added JCR to the bsock structure. This allows direct printing
436   of network errors from within the network code.
437 - Made most "trivial" debug messages have level 100 or greater. This
438   allows for easier debugging of new code using the range below 100.
439 - Began replacing all Emsg() with Jmsg() using a NULL as the JCR in    
440   Jmsg() is the same as Emsg().
441 - Fixed several crashes in the Director because of malformed config files.
442 - Added SpoolAttributes to Job resource.
443 - Pass CatalogFiles to SD. If set to no, the attributes are dropped 
444   within the SD rather than being sent to the DIR.
445 - Cleaned up a number of information/error messages in user interface.
446   This includes eliminating the "pretty please" response in favor of
447   "yes/no" to delete volumes and pools.
448 - Cleaned up quite a number of uninitialized variables reported when going
449   to -O2, most were harmless, but a couple could cause problems.
450 - The cd command in restore was not working correctly (it didn't allow some
451   legal cds).
452 - Fixed a segmentation violation in the directory tree handling code in 
453   the restore command.
454 - Handle a few error conditions in the restore command better.
455 - Permit "Where" to be set to nul in modification of a run command.
456 - Clarified the error message for Verify if an InitCatalog has not previously
457   been done -- thanks Chuck.
458 - Add MaximumConcurrentJobs to FD.
459 - Added code to mem_pool to die if a buffer is released twice.
460 - Lots of work done on SD for multiple simultaneous jobs. Split device.c
461   into device.c, mount.c and acquire.c
462 - Started writing new lock code for SD, but may back it out -- needs more
463   thought. Current code works, but is too complicated. Maybe can simplify it.
464 - Cleaned up the SD tools code quite a bit. Added bootstrap to all tools.
465 - Ensure that tape session labels are not split across two blocks. This makes
466   reading them back much easier.
467 - Fixed another restore bug concerning tape labels on multi-volume saves.
468
469 =============================================================================
470 2002-08-14 Version 1.24
471   From kes12Aug02
472 - Made a new tools directory.
473 - Moved smtp into the tools directory.
474 - Created a dbcheck program in the tools directory that
475   checks for certain database errors and if requested fixes them.
476 - Put the database link flags on DB_LIBS so that it now only is
477   on binaries that actually need it.
478 - Document dbcheck and testfind programs.
479 - Move testfind to tools directory.
480 - Check for FileSet after getting Client name in Restore command.
481   Modify all necessary SQL commands to accept FileSetId.
482 - Add a db_get_fileset_record in cats directory.
483 - Correct list last 20 files concatenation to be MySQL 
484   dependent. They aren't SQL standard. Use SQL standard || for
485   other SQL programs.
486 - Modify dir command in file selection to produce a long form
487   listing of the file/directory name.
488 - Add platforms/irix/*.in files to CVS
489 - Make Console command scanner accept quoted value fields.
490 - If after selecting Client to restore, there are multiple
491   FileSets, ask user to select one.
492 - After obtaining JobIds for restore, ensure that there is only
493   one MediaType, and select a Storage resource to be used.
494
495   From kes11Aug02
496 - Made restore actually work.
497 - Made console and gconsole be configured (requested by Chuck)
498 - Updated kernstodo
499 - changed fs in Job record to fileset for clarity
500 - The console run command was not properly picking up the command
501   line arguments.  Fixed!
502 - Changed add/remove/rm to mark/unmark
503 - Volume keyword VolumeName was wrong, changed to Volume (in restore bsr).
504 - Pass jcr to parse_bsr, and if non-NULL, it will output error messages
505   to Job stream rather than Emsg.
506 - Modified lexical scanner to include caller context so that jcr can
507   be stored in lex context allowing error messages to be properly 
508   routed.
509 - Renamed the Job message chain to be jcr_msgs. This eliminated the      
510   previous confusion with the default value, now named jcr->messages.
511 - Implemented multi-volume bsr records.    
512 - Implemented pm_strcat() and pm_strcpy() to cat/add to memory pool
513   buffers in same way as strcat/strcpy, but expanding buffer.
514 - Modified db_get_volume_names to handle arbitrarily long Volume list.
515
516   From kes07Aug02
517 - If the Console program terminated during the printing of messages,
518   the message file was left locked. This was corrected by using the
519   new read-write lock code.  
520 - Implemented Pw() and Vw() for obtaining and releasing a write lock
521   using the rwl_xxx routines.
522 - Deleted some old pthread_mutex code from mysql.c
523 - In making the Irix port, I previously corrected the base64 routine so 
524   they were not sensitive to the machine definition of char. This made
525   them incompatible with previous versions invalidating MD5 signatures
526   which are in base64 format. I have now corrected this, making the
527   routines compatible with the previous version but also insensitive
528   to the default definition of char.
529 - Removed some unnecessary NPRT() usage in signal.c (pointed out by
530   the Irix compiler).
531 - Add back BNET_NONO for compatibility with older File daemons.
532 - Implement runing a restore Job in the restore command.
533 - Make installation of query.sql unconditional. To prevent you own file
534   from being overwritten, give it a different name.
535 - Made parse_command_args() in ua take command from ua->cmd, this
536   simplifies it and allows usage in other places -- e.g. building
537   arguments for created run command in restore.
538 - Cleaned the naming of s_full_ctx to be s_jobids.
539 - Write the bsr created in restore to "working-directory"/restore.bsr
540 - Fix bugs in command line scanner in run command -- also some misplaced
541   breaks!
542 - Eliminate static cmd in ua_server.c
543 - Eliminate segmentation fault when using the Run command in the
544   Console -- forgot to init_msgs().
545
546   From kes06Aug02
547 - Did a good amount of documentation.
548 - Added sql_cmds.c to CVS, forgot, pointed out by Chuck.
549 - Added new platforms/irix directory to CVS
550 - Turn off transaction debug code in sql.c
551 - Reworked the scheduler so that it handles the same Job starting
552   twice in the same hour. Previously it took one or the other.
553 - Tightened up the "slop" in the timings that I programmed to ensure
554   that the same job isn't run twice or that no job was missed.
555 - Increase the sleep time.
556 - Used job_type_to_str() in status so that Admin jobs are correctly reported.
557 - Add internationalization message chars to a number of routines
558   in util.c
559 - Make the watchdog timer clear the mutex when it exits.
560 - Some tweaks to the Restore command. It needs fixing when a Job spans
561   two or more volumes.
562
563   From kes05Aug02
564 - Initial cut at adding Irix File daemon support.
565 - Lots of work on the restore command.
566 - Take a stab at eliminating the "broken pipe message"
567   when the console program prematurely terminates.
568 - Reimplemented transactions for SQLite by keeping
569   them all in the same thread.
570 - quit in the Console program now waits for Bacula to
571   quit. To immediately quit, you must enter .quit
572 - Eliminated BNET_EOF -- this COULD have some negative consequences
573   on interdaemon communications.
574 - Define Job termination status for Admin jobs.
575 - Write new bstrncpy() function that guarantees that strcpy is
576   properly terminated.
577 - Fixed command input in ua_input.c to accept quoted items as a
578   single field. 
579
580   From kes01Aug02
581 - The changes that added indexes to the SQLite database were
582   lost -- thanks to Chuck for pointing this out. Redone.
583 - Fixed a problem quoting strings in SQLite. This showed up
584   as database errors with files containing ' or " in the filename.
585 - Implemente restore command -- still in progress.
586 - Added indexes to all fields in SQLite that exist in MySQL.
587 - Moved unused immortal files from src/lib to src/immortal.
588   This will permit splitting depkgs.
589 - Started work on adding embedded MySQL. Cannot get the tables
590   to work for the moment. Please don't try to use this option.
591 - Convert to using single quotes for enclosing all strings.
592 - Implement correct quoting algorithm for SQLite strings.
593   Is dequoting needed?
594 - Started centralizing SQL statments in the Director in sql_cmds.c
595 - Changed a number of M_ABORTs to M_ERROR_TERM so that program terminates
596   but does not produce a dump.
597 - Allow wild-card matches in bsr for Client name, and Job.
598 - Change OflineOnUnmount=no as default.
599 - Fixed improper printing of filenames containing a space in bls.c
600   Thanks to Carlos for reporting this.
601
602 ===========================================================================
603 2002-07-26 Release 1.23a
604 - Fix segmentation fault is FD status.
605 - Turn off TRANSACTIONs for SQLite.                        
606
607 ===========================================================================
608 2002-07-23 Release 1.23
609   From kes22Jul02
610 - Updated Bacula to handle some minor differences in MySQL 4.0.2
611   (still works with older MySQLs).
612 - Updated MySQL documentation to correct some minor errors.
613 - Added kernstodo to CVS
614 - Fixed create_mysql_database, which I recently accidently broke.
615 - Disallow zero length volume names in Console program.
616 - Create alter_mysql_tables and alter_sqlite_tables for conversion
617   from 1.22 table format to 1.23 table format.
618
619   From kes20Jul02
620 - Investigation of SQLite performace problems reported by Chuck.
621 - Updated ChangeLog
622 - Updated README
623 - made root@localhost the default email address because many smtp
624   servers reject root but accept root@localhost
625 - Added an autochangers chapter to the manual.
626 - Documented most of the new features in 1.23
627 - Modified the SQLite interface code to start a transaction at the
628   beginning of a job and commit it at the end of the job. It
629   also commits it after 10000 changes. Hopefully this will
630   improve performance.
631 - Set the default cache pages from 2000 to 10000 for SQLite (i.e.
632   about 15Megs of memory) hoping to improve performance.
633 - Terminate last filename referenced in FD prior to copy to
634   avoid race problem with multiple threads and no locking.
635 - Enhanced the status output to include the JobType                
636 - Print an error message if the email program terminates in error.
637 - If your machine has an MTUNLOCK, do it before doing an OFFLINE to
638   ensure that the door is unlocked.
639 - Added code to stored/append.c to spool attributes. This is in
640   a testing stage and must be explicitly enabled.
641 - Added a no_attributes variable to stored/append.c that prevents
642   the attributes from being sent to the Director. As yet, no way
643   to turn it on.
644 - Modified SQLite code so that after 10000 updates any transaction
645   is committed, then restarted. This keeps it from using too much
646   memory.
647 - Set the default cache size to 10000 pages (previously 2000).
648 - Fixed a segmentation fault on Sun due to no default value for
649   the JobStatus.
650 - Added the same indexes to SQLite that I exist in MySQL. This
651   VASTLY reduces CPU usage for lots of inserts.
652 - Added spooling to bnet_send().
653
654   From kes18Jul02
655 - The following two changes were prompted by questions/suggestions
656   from A Morgan.
657 - If you have "AlwaysOpen = no" in your SD Device
658   resource, Bacula will free() the drive when it
659   is finished with the Job.
660 - If you have "Offline On Unmount = yes", in your
661   SD Device resource, Bacula will offline (or eject)
662   the tape prior to freeing it.
663 - Added Maximum Open Wait to allow open() to wait if drive is busy.
664 - Added RunBeforeJob and RunAfterJob records to Job records.
665   This permits running an external program with the following editing
666   codes:
667     %% = %
668     %c = Client's name
669     %d = Director's name
670     %i = JobId
671     %e = Job Exit
672     %j = Job
673     %l = Job Level
674     %n = Job name
675     %t = Job type
676
677   From kes17Jul02
678 - Added autochanger support to devices.c
679 - Allow user to change Slot in the Volume record.
680 - Implemented code in lib to run an external program
681   (tape changer)
682 - Implemented a changer script for mtx.
683 - Currently the changer commands used are:  
684     loaded -- returns number of slot loaded or 0
685     load   -- loads a specified slot
686     unload -- unloads the device (returns casette to slot)
687 - Other changer commands defined but not yet used:
688     list   -- returns list of slots containing a cassette
689     slots  -- returns total number of slots 
690 - Implemented ChangerCommand, specified in the SD Device
691   resource, permits editing of:
692       %% = %
693       %a = archive device name
694       %c = changer device name
695       %f = Client's name
696       %j = Job name
697       %o = command
698       %s = Slot base 0
699       %S = Slot base 1
700       %v = Volume name
701 - Implemented MaximumChangerWait default 120 seconds. It is 
702   specified in the SD Device resource.
703
704   From kes15Jul02
705 - Moved techlogs from main directory to be subdirectory of doc
706 - Added code for strerror_r, and detection of gethostbyname_r().
707 - The protocol between the Director and the SD has changed.
708 - Major rework of SD tape mounting to prepare for Changer commands.
709 - Separated Update Media record and Create JobMedia record. These
710   are done from the SD by calling the Director. Need separate Create
711   JobMedia so that when a Job spans a volume, all other Jobs writing
712   the same volume will also have JobMedia records created.
713 - Added message to user indicating selection aborted if he enters .
714   to a Console selection request.
715 - Create a jobstatus_to_ascii() routine for use in status commands.
716   This makes a single routine from three separate pieces of code.
717   Updated the code to properly handle more (all) termination statuses.
718 - Tried to fix the gnome-console to handle history a bit better. There
719   are still some problems with focus not being properly set to the edit
720   box after history replacement.
721 - Removed the shutdown() from bnet_close() hoping to fix Console termination
722   errors that are occassionally seen -- no luck.
723 - Moved add_str() to lib/util and renamed it add_str_to_pool_mem() so that
724   it can be used to edit Job termination codes and Changer command codes.
725 - Reworked how the SD mounts tapes (in device.c) so that control passes through
726   only a single routine. The logic is much simpler than previously, and now
727   adding AutoChanger code is straight forward.
728 - Made SD tape mounting much more fault tolerant -- more cases retry instead
729   of terminating the Job.
730 - Wrote code to edit_device_codes() for Changer commands. Not yet fully     
731   implemented.
732 - Added a ChangerDevice directive to the Device resource. Still need to add
733   ChangerCommand.
734
735   From kes07Jul02
736 - This documents what I did while on vacation. 
737 - A fair amount of documentation.
738 - Implemented Verify Volume to Catalog (needs renaming)
739 - Modified the database to include new MarkId field as
740   well as Counters. Database level is incremented from 1 to  2.
741 - Added first cut of managing autochangers by implementing Slot in DB.
742 - Fixed a good number of M_ERROR messages to be M_FATAL where appropriate.
743   Also converted a number of Emsg() to Jmsg() permitting better Job error
744   messages.
745 - First cut at implementing a general packet passing mechanism for bsock
746   to replace printf and sscanf for passing data.     
747 - Made make_xxx_tables and drop_xxx_tables and create_xxx_database
748   for bdb as well as sqlite. With this each database has the
749   same set of scripts (with the exception that MySQL has grant_privileges).
750 - Modified Makefile to only install the database scripts for the
751   database that you are using.
752 - Updated the pdf script to include all the html files.
753 - Did quite a lot of documentation.
754 - Made Bacula compile correctly with DEBUG turned off.
755 - Implemented Pmsg() macros that permit using the debug print
756   routines even with DEBUG off.
757 - Updated job_cancelled() macro to handle JS_FatalError.
758 - Changed db_find_last_full_verify() to db_find_last_jobid(). This
759   permits working with Verify Volume to Catalog.
760 - Removed TRANSACTION code from incrementing NextId for SQLite. 
761 - Implemented quick and dirty (not fully functional code) so that
762   console program does not die if ctl-Z is entered. 
763 - Cleaned up backup.c a bit adding a bail_out goto to ensure proper
764   handling of errors with minimum code.
765 - Added passing Slot back and forth to Storage daemon with Volume info.
766 - Implemented Slot in Media record in DB.
767 - Implemented first cut of Counter resource in dird_conf.c. A counter
768   resource is part of the Pool resource.
769 - Implemented necessary database record. However, the resource doesn't
770   yet create a DB record.
771 - Implemented onefs (One File System) and recurse options on Include
772   resource.
773 - Implemented autopruning of Verify and Restore Jobs.
774 - Did a better job of calculating thread_concurrency() for Sun systems.
775   This permits better multi-threading allowing all the threads to run
776   at the same time.
777 - Implemented a wait_for_storage_daemon_termination(), which is used by
778   backup and verify volume.
779 - Clarified a number of UA prompts, and add feedback where certain commands
780   completed but printed nothing. (More work to be done here).
781 - Added a pile of new code to implement Verify Volume to Catalog. It is sort
782   of a hybrid of "restore" and "verify" in that it actually reads the tape,
783   then compares it to the catalog.  Need Verify Volume to Client.
784 - Added a good number of checks for job_cancelled() this should permit
785   quicker and more reliable cancelling of jobs.
786 - Fixed one bug in restore where I used ofile instead of lname, which means
787   that if the lname was too long, the memory was not properly reallocated.
788 - Cleaned up find_one.c in findlib quite a bit.
789 - Link smtp static so that it works even if the libraries are messed up.
790 - If mail host is not found, retry with local host in smtp.
791 - Added slot and stream to the bootstrap record processing.
792 - Do offline on tape cartrige for unmount command. This can be turned off
793   by the user in the config file. OffLineOnUnmount in Device resource.
794 - Implemented AutoChanger = yes/no in Device resource.
795
796 ===========================================================================
797 2002-07-07 Release 1.22
798 - All the basic Restore code to handle the boostrap file is
799   now implemented with the exception of the Console Restore command.
800 - Retained compatibility with previous Restore providing no 
801   bootstrap file is specified. However, the old code (JobId based)
802   will go away in a future release.
803 - Fixed a number of segmentation faults in the Console program due
804   to printing of NULL pointers -- thanks to Chuck and his Sun for
805   finding and reporting them -- mostly in ua_output.c.
806
807   From kes25Jun02
808 - Null pointers now are printed as *None* if NPRT() is used.
809 - At the request of Phil, all resources are now chained in in the
810   order they appear in the config file.
811 - Implement Bootstrap record in the Director's config file, which
812   allows you to specify a predefined bootstrap file for Restore Jobs.
813 - Allow Bootstrap on the Restore record. This is deprecated.
814 - Implemented code to pass the Bootstrap file, if defined, to the
815   File daemon, then from the File daemon to the Storage daemon.
816 - Added ability to set Bootstrap file in the Console when running a Restore.
817 - Allow scan_error() routine to be passed to lex_open_file(). This permits
818   using lex in the Storage daemon without worrying that it will ABORT on
819   a syntax error.  More work is needed to direct the error messages correctly.
820 - Improved error messages a bit when config syntax errors are found.
821 - Tested and corrected some errors in match_bsr.c
822 - Removed askdir.c from bls and bextract by defining dummy entry points.
823 - bextract now has bootstrap pretty well integrated.
824 - Changed bextract ABORTs into FATAL and exit(1) or ERROR_TERMINATE.
825   More user friendly.
826 - Eliminated at least one lld and replaced it by edit_uint64() 
827 - Eliminated a few more _PROTO()s.
828 - Corrected a problem with the SQL for in query.sql for 
829   Listing Volumes to Restore All Files
830
831   From kes22Jun02
832 - Additional documentation.
833 - Reduce the time the jcr mutex is locked in lib/jcr.c
834 - More null pointer printing fixes in lib/parse_conf.c (debug output only).
835 - Added daemon filename to Kaboom message so I know what daemon died.
836 - Fix big bad bug introduced in watchdog.c last update that caused
837   a segmentation violation (forgot to check for NULL pointer).
838 - Add a bit more info to bad returns from Stored when starting
839   a job fails.
840
841   From kes21Jun02
842 - Fixed scan_to_eol
843 - Fixed backup scanning forgot one T_STRING -> T_UNQUOTED_STRING
844 - changed all rwlock_t to brwlock_t to avoid conflicts with
845   Solaris library.
846 - Added NPRT() macro to allow printing of NULL pointers, which
847   segment fault on Solaris.
848 - Cast printing of pid_t to int for Solaris compiler.
849
850   From kes20Jun02
851 - Added expect argment to lex_get_token().
852 - Added tree.c and tree.h to lib directory.
853
854   From kes19Jun02
855 - Improvements to the bootstrap compiler
856 - Implemented first cut of bootstrap code in the Storage daemon
857 - Modified the authentication code to be more explicit during 
858   failures.
859 - Added a few more debug message numbers with more arguments (Dmsg10, ...)
860 - Added more and more precise error messages when authentication fails.
861 - Implemented new "expect" codes in the lexical scanner that allows
862   the caller to specify what he wants.                   
863 - Added integer, positive integer, 64 bit integer, and integer ranges,
864   and name scanning to lex.
865 - Implemented new lex code in parse_conf.c, this reduces significantly
866   the code.
867 - Hopefully fixed a watchdog race bug that caused the watchdog to time
868   out a line after 1 hour rather than 6 days.
869
870   From kes15Jun02
871 - Implemented a Bootstrap file parser and matcher.
872 - Implemented first cut of bootstrap code in bextract  
873 - Started clarifying different termination codes.
874 - Added M_ERROR_TERM to immediately terminate the daemon -- no dump.
875   Also changed a few termination codes as appropriate.
876 - Fixed create_jobmedia_record() to include all the fields such as
877   StartFile/EndFile, StartBlock/EndBlock.
878 - Print user friendly message when query mode ends.
879 - Fixed ls style print routines (bextract, bls, restore) to check
880   buffer size, to print the link if any, and to used edit_uint64()
881   instead of %lld.
882 - Moved scan_to_eol() and s_err() to lex.c to avoid dragging in 
883   parse_conf.c for new bsr scanning code.
884 - New files: bsr.h, parse_bsr.c and match_bsr.c. parse_bsr.c parses
885   a Bootstrap file, and match_bsr.c matches a bsr against a tape.
886 - use strcasecmp() in several places instead of lcase().
887 - Add first cut of bootstrap to bextract.
888 - Added File Size limit -- writes EOF after limit exeeded.
889
890 ===========================================================================
891 2002-06-12 Release 1.21
892 - Fixed several problems with filenames being truncated if
893   they contain spaces. Thanks to the user that reported this.
894 - N.B. To get the new queries, after the "make" and 
895   "make install" you must explicitly replace the
896   existing query.sql by query.sql.new.  query.sql is a
897   user configuration file, so it is not overwritten.
898 - Added GZIP compression of Included files.  
899 - Added additional fields to tape SOS record permitting better
900   recovery with no database.
901 - Be sure to remove any !terminate statements you may have
902   in your config files.
903 - MUST UPDATE ALL DAEMONS due to protocol change to handle new
904   tape format.
905
906   From kes11Jun02:
907 - Updated examples directory with my most recent config files.
908 - Modified the M_TERM meaning to mean that Bacula has
909   terminated in error without producing a dump. Previously,
910   it meant that Bacula terminate (with or without error).
911   You should remove any !terminate from your messages
912   resources.
913 - Changed the order of the libraries in the link so that
914   tcp wrappers link properly. Thanks Phil for reporting this.
915 - A user reported that filenames containing spaces were truncated
916   in bextract. This was indeed the case. They were also truncated
917   in Restore as well as in Verify. They are, hopefully, all fixed
918   now.
919 - Made a few error conditions in Verify non-fatal.
920 - Modified the Console "query" command to permit multiple SQL
921   statements per command. 
922 - Implemented three new "query" options: 
923     List last 10 Full Backups for a Client
924     List Volumes used by selected JobId
925     List Volumes to Restore All Files
926   To use them, simply type "query" to the Console program, and
927   select the one you want.
928 - Modified bextract to default to extracting all files (i.e. /).
929 - Cleaned up the code in bextract a bit.
930
931   From kes03Jun02:
932 - Improve Verify command to include files examined.
933 - Eliminate fcntl() locking of the console file and replaced
934   it with a pthreads mutex.
935 - Note Director - SD protocol is changed to handle new tape
936   information (Fileset, JobType, JobLevel).
937 - Create config.out that contains a summary of ./configure
938   to see what you previously configured: "cat config.out"
939 - Implemented GZIP compression.  Added addition syntax to
940   Include { } resource to permit setting of any GZIP compression
941   level:
942      compression=GZIP
943      compression=GZIP1
944      ...
945      compression=GZIP9
946
947   Level 1 is minimum compression and level 9 is maximum. Using just
948   GZIP gives the default (level 6).
949 - Enhanced the tape format to include the unique Job name, FileSetName,
950   JobType, and JobLevel in the Start/End of Session records. The code
951   detects that tape level difference and acts accordingly. You can 
952   add data in the new format to old tapes.
953 - Fixed an incorrect display message in the prune command.
954 - Began implementation of Verify Volume and Verify Data.
955 - Cleaned up File daemon restore.c a bit ensuring that termination 
956   cleanup is done and all possible Emsgs are converted to Jmsgs.
957 - Modify bls.c to use common setup routines. This reduced the big
958   code duplication that creeped in when I added different listing
959   options. Also, changing tapes is now handled uniformily in a subroutine.
960
961 ===========================================================================
962 2002-05-27 Release 1.20
963 - Started documenting Catalog Pruning and Recycling.
964   Added catmaintenance.html and recycling.html
965 - Fixed the query command bug.
966 - Implemented PID files to prevent two copies of Bacula
967   from running at the same time. Be sure you --with-pid-dir
968   points to a working directory.
969 - Modified ASSERT() to cause a segmentation violation. This
970   permits a core dump.
971 - Worked on gnome-console. It paints better, it tells you if it
972   is ready to accept a command or processing one, and it is
973   almost entirely GTK+ (rather than GNOME, I'm removing GNOME
974   a bit at a time).
975 - Limit to 100 the number of tape labeling errors in a single Job.
976 - Add some additional ASSERT()s to the database routines. I don't
977   like ASSERTs but they do catch bugs.
978 - Tested and debugged recycling of Volumes.  Needed to change
979   the Director-SD protocol slightly.
980 - Removed the experimental SIGHUP in the Director as it is a
981   potential source of errors.
982 - Added Level, Pool, Messages, and Storage keyword/value scanning
983   to the Schedule Run record.
984 - Improved printing of Schedule resources with "show schedules"
985 - Do not autoprune Jobs/Files if the Job errs.
986 - Updated newvol() to pass back the updated Media record.   
987 - Fixed the "update pool" command, which was broken during a much
988   earlier code reorganization.
989 - Improved a few of the pruning messages.
990 - Removed readline inclusions from gnome-console (hang over from console).
991 - Make Jmsg use daemon message handler if no message handler is defined.
992   This is always the case in the SD and FD.
993 - Started removing __PROTO(). With C++ prototypes are manditory, so why
994   keep around legacy code.
995 - Added a good deal of message internationalization -- more to be done.
996 - Move cached Path into mdb structure and use POOLMEM.
997 - Fix verify bug introduced last update causing incorrect diffs 
998   by turning off autopruning.
999 - Started adding code to distinguish Errors from Fatal Errors.
1000 - Errors are now counted in message.c for a Job.
1001 - More POOLMEM cleanups.
1002 - Implemented Automatic pruning.
1003 - Implemented Automatic recycling of Volumes.
1004 - Added PruneJobs/Files/Volumes=yes or no to Job resource. If set,
1005   it forces the specified pruning.
1006 - Modified rwlock to accept multiple nested write lock
1007   requests.
1008 - Modified the cats directory to use the new rwlock mechanism
1009   in place of P() and V(). 
1010 - Defined db_lock(mdb) and db_unlock(mdb). They are in effect
1011   transaction locks. 
1012 - Add CVS Id's to most files.
1013 - Made first cut at AutoPrune
1014 - Added new autoprune file that is called at the end of
1015   each Job. It then decides when and what to prune and
1016   calls the UA prune routines.
1017 - Modified Run (in Schedule resource) to permit overrides of
1018   Level, Pool, Storage, and Messages. (not tested).
1019 - Added more POOLMEM in place of char.
1020 - Implemented daemon pid files. This prevents multiple 
1021   daemons from running simultaneously. You can run multiple
1022   daemons if they listen on different ports.
1023 - Documented the Schedule resource a bit better.
1024 - Began gently adding a POOLMEM type (perviously void).
1025   For the moment it is a #define to char, but long term
1026   it should be its own typedef.
1027 - Corrected a bit of spacing on the status bar of gnome-console
1028 - Added Admin and Archive Job types.
1029 - Implemented multiple Messages resources. Each daemon has
1030   its own message resource, which defaults if not defined.
1031   Jobs may now have different message handlers.
1032 - Cleaned up a bit of duplicate code in backup, verify, and
1033   restore by creating appropriate subroutines in job.c
1034 - Added Type, Client, FileSet, and Level resource record
1035   definitions to the Director. These can be used in place
1036   of the Backup = ..., Verify = ..., ... commands.  This needs
1037   documenting.
1038 - Corrected an incorrect message in the prune code and added
1039   the number of Files pruned in the message.
1040 - Corrected several paint problems with gnome-console.
1041 - Added a bit of printout in signal handler during traceback.
1042 - Cleaned up most of sm_check() to be turned on/off by define
1043   in version.h
1044
1045 ===========================================================================
1046 2002-05-10 Release 1.19
1047 - Allow the user to select a new period for pruning.
1048 - Lots of additions to the manual -- prune and purge
1049   commands documented.
1050 - Applied Phil's configure.in fix for --prefix, ...
1051 - Fixed bug found by Phil (patch supplied) in updating
1052   MD5 signatures (revert to 32 bit FileId, move "static"
1053   variables into JCR) (catreq.c fd-cmds.c).
1054 - Reverted to using INTEGER for FileId in make_sql_tables
1055   due to a bug in MySQL.
1056 - Change editing code to %d for FileId.
1057 - Remove sqlite in make distclean in cats directory.
1058 - Remove console.conf in console during make distclean.
1059 - Remove gnome-console.conf during make distclean.
1060 - Remove bacula-dir.conf during make distclean.
1061 - Set default level when using Console if none specified.
1062   Bug reported by Phil.
1063 - A simple . command from Console is ignored.   
1064 - Change program named from filed to bacual-fd in winmain.cpp
1065 - Change default config file for Win32 in winmain.cpp
1066 - Free namebuf on early return from find_one.c. Bug reported by Phil.
1067 - Modify testfind.c to dump orphaned buffers.
1068 - Removed terabytes from parse_conf.c because of problems with
1069   older gcc compilers.
1070 - Turn off gnome options in gnome-console by constructing empty argv.
1071 - Fixes to Verify when only MD5 differs.
1072 - Insert 0 for MD5 as default rather than space.
1073 - Allow .messages "transparent" command while reading input
1074   in UserAgent server.
1075 - In dird/verify.c ensure that correct filename is printed if only
1076   the MD5 differs. Minor reindenting caused large diff.
1077 - Delete unused code from backup.c
1078 - In filed/verify.c ensure that same algorithm as backup.c is used
1079   to pass back MD5 signatures -- especially for directories and files
1080   that cannot be read. Change dummy filename from X to *MD5-id*.
1081   This dummy value should never be printed.
1082 - Make gnome-console poll Director every 5 seconds for output.
1083   This means that queued up messages are displayed at reasonable
1084   intervals. Delete some unused code hanging around from the tty
1085   console program.
1086 - Begin implementation of prune commands.
1087 - Add command line history to gnome-console. Not yet saved across sessions.
1088 - Fixed some broken URLs in the manual.
1089 - Added JobId type.
1090 - Wrote first cut of "prune files" and "prune jobs".
1091 - Added command line history to gnome-console 2500 lines max.
1092 - Widened store_time() and associated variables to 64 bits using
1093   new btime_t definition.
1094 - Removed GNOME about box and replaced it with 
1095   a somewhat crude Gtk+ about box in the gnome-console.
1096 - Widened StartDay in the Job DB record to be 64 bits.
1097 - Changed edit_uint_ to edit_uint64_ everywhere. Much more
1098   descriptive of what is done.
1099 - Removed most llds and replaced them with %s and edit_uint64.
1100   This makes the code a bit easier to read for beginners.
1101 - Added a btime_t typedef which is 64 bits wide.
1102 - Added most of the code needed to do Purge and Prune of
1103   database. Not yet tested. Please do not use.
1104 - Additional config options for Console.
1105 - Started adding code for Automatic Recycling of Volumes.
1106 - Allow arbitrary length filenames in Verify code.
1107 - Fix incorrect filename in Verify code.
1108 - Significant enhancement to number scanning in config parser.
1109 - Requires initializing MySQL tables, or applying cats/alter.sql
1110   to modify Media table.
1111 - Modified Makefile to printer a much more visible
1112   message if the make ends in error.
1113 - Added the Purge value to the VolStatus in the Media table.
1114   This value is set if the Volume is purged.
1115 - Enhanced the db_delete_media_record() routine to delete
1116   all associated records in the database.
1117 - Modified Console to always write to the variable "output"       
1118   rather than stdout. This will permit directing output to a file.
1119 - Enhanced the Console configuration file to have a Console 
1120   resource. This will allow us to add an rcfile and history file.
1121 - Modified Find_next_vol in catreq.c to search for "Recycle"
1122   volumes if there are none marked Append. Also made Get_Vol_info
1123   return the VolStatus to the Storage daemon.
1124 - Allow upper/lower case match on job level names.
1125 - Added another warning message to the Console "delete media" command.
1126 - Corrected a number of FileId types from uint64_t to FileId_t in
1127   ua_retention.c.
1128 - In ua server close database before freeing JCR (because pointer is
1129   kept in ua and jcr structures).
1130 - parse all numbers as doubles. Do lots of checking for valid number
1131   formats. Allow numbers in scientific form (e.g. 1.5e+10).
1132 - Remove terabyte modifier as it doesn't work in some compilers.
1133 - Fix bug in handling some modifiers.
1134 - Added all necessary code for Recycle to Storage daemon. A Volume
1135   marked Recycle will now be overwritten.
1136 - Filled out the prune command a bit and did some testing.
1137 - Make console accept redirected input.
1138 - Altered the Table definitions to include Recycle,
1139   FileRetention, JobRetention, and AutoPrune.
1140 - Widened StartDay to 64 bits.
1141 - Use JobId_t in more places. 
1142 - Added the new table fields to the database record definitions.
1143 - Changed Recycle from string to a binary quantity.
1144 - Added a Version table with a VersionId to detect.
1145   future changes in the database. This should prevent
1146   a Bacula from working with a database that is not in sync.
1147 - Modify Console to accept input from a file. This will permit
1148   the .read command and allow reading a .rc file.
1149 - Added new retention and recycle variables to the Director's configuration.
1150 - The UA subroutines or commands can now be called from core
1151   code because the output routines detect the absence of a 
1152   UA socket and direct output to the Job.
1153 - Added a verbose flage to the ua packet to permit reduction of
1154   output while running a UA command (prune) from a Job.
1155 - Did a fair amount of work on the prune command. Prune Volume now works.
1156 - Purge Volume now works.
1157 - Made last changes for integrating prune and purge commands.
1158 - Add -ltermcap to CONS_LIBS when readline is configured.
1159   More work to be done to search for termcap.
1160 - Added cats/drop_sqlite_tables.in, which will delete the SQLite database.
1161 - Got CWEB working so that we can compile filesys.w and immortal.w
1162 - Modified depkgs to include cweb.             
1163 - Note, CWEB is not yet used by the core Bacula code.
1164 - Made cats/alter.sql, which alters an old database to bring it
1165   up to the new format. This only works with MySQL since SQLite does
1166   not have the ALTER SQL command.
1167 - Changed the old StartDay field in the db to be JobTDate, which is
1168   the latest time/date in widened Unix time format that the Job ran.
1169   This value is used when doing pruning.
1170 - Added code in cats/sql.c to verify that the database internal version
1171   corresponds to the db version compiled in Bacula. It is set to 1 currently.
1172 - Lots of changes to cats to bring the SQL up to date with the new 
1173   retention period changes.
1174 - Added Console command code to permit changing a Volume's retention period.
1175 - Removed old code that used date_encode() and replaced it with widened
1176   Unix time().
1177 - Started modifying Message resource scanner so that we can have multiple
1178   message resources. Much more work to be done.
1179 - Moved scanning for time into new library routine string_to_btime().
1180
1181 ===========================================================================
1182 2002-04-22 Release 1.18
1183 - Applied Phil's configure.in fix for --prefix, ...
1184 - Fixed bug found by Phil (patch supplied) in updating
1185   MD5 signatures (revert to 32 bit FileId, move "static"
1186   variables into JCR) (catreq.c fd-cmds.c).
1187 - Reverted to using INTEGER for FileId in make_sql_tables
1188   due to a bug in MySQL.
1189 - Change editing code to %d for FileId.
1190 - Remove sqlite in make distclean in cats directory.
1191 - Remove console.conf in console during make distclean
1192 - Remove gnome-console.conf during make distclean
1193 - Remove bacula-dir.conf during make distclean
1194 - Set default level when using Console if none specified.
1195   Bug reported by Phil.
1196 - A simple . command from Console is ignored.   
1197 - Change program named from filed to bacual-fd in winmain.cpp
1198 - Change default config file for Win32 in winmain.cpp
1199 - Free namebuf on early return from find_one.c. Bug reported by
1200   Phil.
1201 - Modify testfind.c to dump orphaned buffers.
1202 - Removed terabytes from parse_conf.c because of problems with
1203   older gcc compilers.
1204 - Turn off gnome options in gnome-console by constructing empty
1205   argv.
1206
1207 ===========================================================================
1208 2002-04-18 Release 1.17 Kern Sibbald
1209 - Ensure that platforms Makefiles are called for clean  
1210   and distclean.
1211 - Hide a lot of Makefile messages with @
1212 - Applied Phil's configure.in patch. Thanks.
1213 - Doc updates, many to clarify points brought up by Phil.
1214 - Applied Phil's make_mysql_tables.in patch. Thanks.
1215 - Made authenticate.c in dird test bnet_send status.
1216 - Make label a bit more friendly with extra info message.
1217 - Add level 200 to debug info in run command.
1218 - Remove old code from findlib/testfind.c so that it compiles.
1219 - Add two minute max wait to cram-md5 authentication. Hopefully,
1220   this will catch non-responding WinNT daemons.
1221 - Allow time and size modifiers to be upper or lower case.
1222 - Turn off old CYGWIN patch for pthread_cond_timedwait() bug that
1223   now causes File daemon hangs on WinNT.
1224 - Fix mount messages for restore. Previous updates to save
1225   broke the restore code.
1226 - By default write fixed block sizes rather than variable block
1227   sizes.  My Sony DAT simply does not work (reread failures) with
1228   variable block sizes.
1229 - Data split across tapes was not being correctly restored
1230   (at least on DAT tapes). 
1231 - Implement MaximumBlockSize and MinumBlockSize statements in
1232   Storage daemon so user can specify variable block sizes if
1233   desired.
1234 - Return error if block checksum error on read (previously 
1235   ignored).
1236 - Fixed some error messages in bls, and in some cases exit(1)
1237   rather than ABORT. There remain ABORTs to be examined.
1238 - Made a local copy of tcpd.h and corrected the function 
1239   prototype problem for C++.
1240
1241 ===========================================================================
1242 2002-04-14 First public release 1.16 Kern Sibbald
1243  - Many intervening changes/updates.
1244
1245 2001-09-29 Release 1.0 Kern Sibbald
1246  - Fixes to problems found at John's
1247    installation.
1248  - See techlogs/kes25Sep01 for details
1249
1250 2001-09-25 Release 1.0 Kern Sibbald
1251  - Helped John install at his site.
1252    He is backing up one Linux machine and
1253    one Win2000 machine.
1254
1255 2001-mm-dd Many releases
1256  - Released internally.
1257   
1258 2000-04-09 Release 0.4 Kern Sibbald
1259  - Added a lot of Director configuration code. In      
1260    part (a small part), the Director now uses the
1261    bacula.conf file to know what to do. There still
1262    remains a lot to do.
1263  - The file search code is now integrated into the
1264    MySQL database routines, and Bacula is now hooked
1265    into the MySQL database (if so configured). Thus
1266    all the database records are being created, though
1267    there still remains some work in getting all the
1268    details into the records (such as the Storage 
1269    coordinates).
1270  - I've defined how Volume pools work (see manual).
1271  - I've defined error message handling though no code
1272    is yet written.
1273  - The following resources and records are implemented
1274    in the Director configuration file (bacula.conf):
1275     
1276    Director
1277      Name (passed to Storage daemon)
1278    Client
1279      Name, Address, Port
1280      Password (not yet used)
1281    Storage    
1282      Name, Address, Port, Password, MediaType
1283    Job
1284      Name    
1285      Type (not yet used)
1286      Backup (only one permitted) 
1287        Client, FileSet
1288      Storage
1289      Schedule, Messages, Pool (not used)
1290    FileSet
1291      Name  
1292      Include (options ignored)
1293      Exclude (no options)
1294    Schedule (not used)
1295      Name
1296    Messages (not used)
1297      Name       
1298      Debug, syslog, mail, append (not used)
1299    Catalog
1300      Name
1301      Address, Port, Password (not used)
1302    Pool (not used)
1303      Name
1304      PoolType, MediaType (not used)
1305
1306  - Added Storage configuration routines.
1307    Director
1308      Name, password (verified against those sent by Director)
1309    Storage
1310      Name, Address, Port (address, port must correspond to Director's values)
1311      Password, MediaType
1312    Device
1313      Name, MediaType (must correspond to those sent by Director)
1314      Archive Device (defines device name)
1315
1316
1317 2000-03-10 Release 0.3 Kern Sibbald
1318  - Implemented new base64 encoding for attributes.
1319    This eliminates some of the error messages in the
1320    sprintfs on the Solaris due to different stat() sizes.
1321  - Implemented  the first cut of the file search routines for
1322    the File daemon.  The exclusion lists work including wild
1323    cards.   There is a lot of work to be done, but the basic
1324    structure is now in place (wild cards do not yet work for
1325    the include).
1326  - Completed writing the memory pool code.  Now I must
1327    implement it in the daemons.
1328  - Modified the bacula start/stop script so that it has a
1329    better chance of working on SGI and Solaris.
1330  - The catalog code has not been converted to the new file
1331    search code.
1332
1333 2000-03-06 Release 0.2 Kern Sibbald
1334  - Integrated John's fixes.
1335  - Made Makefiles self configuring when Makefile.in is changed.
1336  - Added a runit script in the top level that runs bacula
1337  - Added a "bacula" script in the top level directory that
1338    starts and stops the File daemon and the Storage daemon.
1339
1340 2000-03-03 Release 0.1 Kern Sibbald
1341  - Basic Director, File, and Storage daemons.
1342    Standalone Catalog services using MySQL
1343
1344 2000-01-22 Kern Sibbald
1345    * Setup basic file structure with ./configure