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