]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
Commit final code for 1.32b + Verify Job (name) + change Pool for a Volume
[bacula/bacula] / bacula / ChangeLog
1
2 2003-10-15 Version 1.32b 14Oct03 Release
3 14Oct03
4 - Modify configure so that if threaded MySQL client library
5   is not present, Bacula will link with the non-threaded 
6   version.
7 - Updates to the Web pages and to the manual.
8 - Remove trademark symbol from title. Phil pointed out that it
9   does not display correctly in a title.
10 11Oct03
11 - Implement restore by file before date. 
12 - Change restore arguments a bit so that you can feed it
13   multiple jobid= specifications or multiple file= specifications.
14 - Pass restore with run option on to run_cmd.
15 - Make run-cmd not prompt if it has a "run" on the command line.
16 10Oct03
17 - When pruning, select only old orphanned jobs to delete so that
18   the current job is not pruned too.
19 09Oct03
20 - Corrected return status for bsf_dev and bsr_dev in block.c and btape.c
21 - dev.c used incorrect ruturn status for bsf_dev in the BSF at EOM
22   code. This caused all appends on FreeBSD to fail.
23 - Turn on fast block rejection code.
24 08Oct03
25 - Optimize file index searches by adding a count to the bootstrap.
26 - Write single files/blocks to bootstrap without the second part.
27 - Add current Volume status to the cannot use this Volume message.
28 - Zero the rx->bsr in ua_restore when freeing so it doesn't get
29   freed twice.
30 - Lots of testing on the restore
31 - I noticed that SD and FD bootstrap files were not always
32   deleted, so delete them as soon as possible.
33 - Restore by file (or by selecting files) created some
34   horrible looking bsr files that defeated the forward
35   spacing code, so fix write_findex to work right.
36 - Add zlib_strerror() routine in filed/restore in case
37   of zlib errors.
38 - In filed/restore.c make sure all error returns cleanup
39   and close the open file descriptor.
40 - Make sure to set *non* over filename in attr packet
41   after file is found, so error messages that print the
42   filename don't print an old, incorrect name.
43 - Allow bclose() to be called after closing the file.
44 - Fix a number of unclear help messages, ... reported by
45   Phil in btape.
46 - Retweak stored/read_record.c so that it does forward
47   spacing at the beginning of every tape, not just the
48   first one.
49 - Print repositioning message if verbose is set.
50
51 2003-10-01 Version 1.32a 03Oct03 Release
52 04Oct03
53 - Combine the code in ua_output and ua_status that searches
54   the run records.
55 03Oct03
56 - Fixed "list nextvol" to search for the correct pool in the
57   Schedule Run records.
58 - Correct an error in is_block_zero. It found a false
59   match if the first 1016 bytes of a 32K buffer and     
60   the last 248 bytes are zero.  Broke the sparse option.
61 01Oct03
62 - More documentation.
63 - Test if multiple mail addresses works. Yes.
64 - Add debug Jmsg() to trigger if the file I/O packet is
65   not closed in the FD, i.e file descriptor leaks.
66 - When error occurs reading label in mount.c, start from
67   the very top so that the retry count is in effect.
68 - Zap the mode in soft links in testls.c for regression
69   testing.
70
71 2003-10-01 Version 1.32 30Sep03 Release
72 28Sep03
73 - Enhance manual faq, regression ...
74 - Make FreeBSD read sizes always be a multiple of 512. Needed
75   to read raw disks.
76 - Make FreeBSD accept block AND character devices for raw
77   disk reads.  On FreeBSD there are no block devices.
78 27Sep03
79 - Fix printing of EndTime on job report after rescheduling.
80 - Fix jobq.c error returns to clean up before returning.
81 - Make Cleaning tape aware of "unlabeled" volumes.
82 - If a job is rescheduled, ensure that old job is
83   removed from SD's jcr queue -- i.e. it is still waiting
84   for FD connection.
85 - Test rescheduling code.
86 - Change ./configure to detect Cygwin enviornments.
87
88 2003-09-26 Version 1.32 26Sep03 Beta
89 - Add regression and GUI-interface chapters to the manual.
90 - Fix "label" of a volume that is already in the catalog,
91   but not yet labeled.
92 - Correct the test for spooling attributes which was backward.
93   This caused the creation of a spool file in the working
94   directory for every job run.
95 - Print to the job output stream when block checksum errors
96   occur, but continue processing. If more than one occurs,
97   print number at end of job.
98 - Remove a few unneeded tests from configure.in
99 - Modify configure to use -pthread on FreeBSD 4.8,
100   but nothing on FreeBSD 5.1
101 - Clarify that bmicrosleep() takes sec and microsecs
102 - Apply Franc Carter's code to specify a DB host in 
103   bscan.
104 - Fix sanity login length test in stored/dircmd.c
105 - remove old code fro stored/job.c
106 - Lots of work on regress so that it works on FreeBSD
107   and Solaris.
108 - Make the default gnome-console wider (console.c)
109 - Add \r to the items that terminate a token.
110
111 2003-09-20 Version 1.32 20Sep03 Beta
112 - Replace a number strcpy() calls with bstrncpy().
113 - Added code to ensure that the names for each resource
114   type are unique. Two resources of different types can
115   have the same name.
116 - More documentation
117 - Added new full length modifiers for time intervals.
118   Compatible with previous method EXCEPT a modifier is now
119   manditory.
120 - Completely restructured recycling. It should work now, but
121   in any case, the logic is much cleaner. A lot of new
122   code in next_vol.c
123 - Added a few pthread_xx_destroy() for items inited.
124 - Nic Bellamy pointed out that it wasn't necessary to do 
125   destroy() of static initialized pthread variables -- fixed
126   watchdog.
127 - update VolStatus asked for the media and volume twice.
128 - Changed a few more strcpy() to bstrncpy().
129 - Made VolBytes=1 as indicator that the Volume is labeled.
130 - Modified creation of Media record to include VolBytes,
131   same for sql_update - also set LabelDate if VolBytes = 1.
132 - Copy any statically linked programs to install directory.
133 - Change relabel flag to label in Update_media protocol Dir<->SD.
134 - Change a few strcpy to bstrncpy ...
135 - Update Media record after an automatic tape label.  
136 - Added more debug code to bnet_server and bnet.c to attempt to
137   track down Alex's SD segfault (BSOCK==0)
138 - Add additional debug cod for authentication errors in cram-md5.     
139 - Implement "list nextvol job=xx" and add Volume to Dir status.
140 - Retry waitpid if interrupted -- needed for FreeBSD!
141 - Move lex.c debug level to 900
142 - Add new aliases SDAddress, ...
143 - Final changes for variable expansion
144 - Possible fix to Alex's SD crashes
145 - Correct incrementing counters not in catalog -- reported by
146   Chris Allen.
147 - Correct memory leak in core var.c code -- reported by 
148   Chris Allen.
149 - Make documentation of variable substitution a bit clearer.
150 - Apply Nic Bellamy's patch to dbcheck.c to fix SQL to work
151   on both MySQL and SQLite.
152 - Finally fixed the .messages that was sent during prompts
153   in the console with no readline.
154 - Implement new Include/Exclude semantics.
155 - Fix a good number of segfaults reported by Chris Allen in
156   the variable expansion code. 
157 - Print warning message if a job is blocked by user unmount.
158 - Fix additional variable expansion problem reported by Chris Allen.
159 - Fix pathconf() error status bug that caused a segfault on
160   a FreeBSD system -- reported by Gernot Hueber.
161 - Make sure the console sends ".messages" only when at the
162   command line prompt.
163 - Apply a patch from Nic Bellamy that corrects a file descriptor
164   leak in the Storage deamon when a job is canceled. (Thanks)
165 - Implement < and | in File daemon.
166 - Implement ClientRunBeforeJob and ClientRunAfterJob.
167 - Corrected BSRatEOF to be BSFatEOF in btape --
168   reported by Lars Koller.
169 - Documented BSFatEof
170 - Eliminated save_level in FD replaced by JobLevel.
171 - Increased MAX_RES_ITEMS from 35 to 50 to handle
172   new ClientRunBeforeJob ...
173 - Add line number in error message for restore from file.
174 - Correct editing of jobids (misplaced comma).
175 - Implement restore files.
176 - Quickie patch to allow Purged Volumes to be mounted.   
177   Must review algorithm.
178 - Eliminate a duplicated query from query.sql
179 - Restructure ua_restore.c so that I can add restore files.
180 - Correct positioning problem at beginning of a second volume 
181   introduced with the new forward spacing code.
182 - Eliminated a sprintf() in the tree routines.
183 - Doc updates
184 - Added HOST_OS, DISTNAME, and DISTVER to the status output.
185 - Eliminated a few stray Dmsgn(000, messages making them either
186   debug_level 100, or Pmsg().
187 - Made the default "Maximum File Size" 1Gbyte in SD.
188 - Cache path in tree.c to reduce calls to make_tree_path 
189 - Documentation updates
190 - Implement forward space file and block when reading a bsr.
191 - Fixed a bug in db_find_next_volume() where the VolStatus was
192   not being returned.
193 - Rework some of the query.sql records that were incomplete.
194 - Fixed an ambigous SQL statement in restore.
195 - Fix proper sorting order in restore display last 20 jobs.
196 - Remove duplicate JobId's in feeding the directory tree.
197 - Fix an orphaned ua buffer due to a return that should have been 
198   break so that cleanup code executed.
199 - Changed some strcats and sprintfs int bstrncat() ... to prevent
200   possible buffer overflows.
201 - Fix max file size code on tape so that after writing EOF, 
202   an appropriate jobmedia record is created.
203 - Fix error messages in dev.c, which were copied into lots of
204   different subroutines without updating the text.
205 - Add reposition_dev(), and make more of the return statuses of
206   dev routine standard.
207 - Eliminate old semaphore and workq code. Keep only new jobq code.
208 - Try to get a better default size for the gnome-console
209 - Add code to avoid race conditions in starting/stoping the
210   heartbeat thread.
211 - Correct potential race condition in heartbeat_stop().
212 - Correct segmentation fault in mysql.c if no password given.
213 - make pm_strcat and pm_strcpy return the string length
214 - Use Phil's code to get the unadorned job name.
215 - Move the MTIOCERRSTAT from just after a write() failure to
216   after writing the EOF marks on FreeBSD systems.
217 - Enhance packet too big error in bnet.c and add some
218   ASSERTs in the send code.
219 - Set heartbeat interval to zero by default.
220 - Add Recycle to list of Update Volume parameters.
221 - Use bget_dirmsg() wherever possible in Director.
222 - Split next_volume code from catreq.c to next_vol.c
223 - Consolidate editing job codes into a single routine.
224 - Add Job resource name
225 - Remove check for Win32 attributes in bls.  It doesn't
226   need to read them, only print ls -l.
227 - Add SDConnectTimeout in FD.
228 - Add Scott's perlgui directory
229 - Upgrade from RH7.3 to RH9.  New autoconf.
230 - Eliminate gnome2-console directory.
231 - Correct English in status command.
232 - Eliminate old shell expansion code and use BPIPE to call shell      
233   with echo command.
234 - Documentation as usual.
235 - Add a new bacula.spec for Mandrake
236 - Add ownership to alist items. Default the list owns the items.
237 - Make record_cb return a status (preparation for internal use).
238 - Remove all clearing of remainder in read_record.c -- not necessary
239 - Write a tapetest program for FreeBSD end of tape testing.
240 - Modify read.c in Bacula to use read_record.c
241 - Implement multiple records in read_record.c. One for each session that
242   is open.  Free the record with the EOS_LABEL is found (or at the
243   end of the scan).
244
245 2003-08-02 Version 1.31a 02Aug03 Released
246 - Yifang Dai reported a case where he stress tested Bacula and
247   backed up to four volumes, but only two were selected for the
248   restore. This is because I forgot that the selection could
249   span a volume entirely.
250 - Added a missing CLIENT_FOUND_ROWS to the second attempt to open
251   the MySQL database -- this prevents UPDATE errors if nothing
252   actually changed.
253 - Applied corrections to the manual supplied by Bob Collins.  Many thanks!
254
255 2003-07-30 Version 1.31 Beta 30Jul03
256 - Integrated Robert Mathews improved description of Priorities into
257   the manual.
258 - Chased down the "The data is not valid" bug on WinMe/98/95.
259 - Found an orphaned buffer in the set_attributs part of WinMe/98/95.
260 - Add sleep(1) to console when it gets a SIGTSTP signal 
261   to prevent it from using 100% of the CPU.
262 - Improve description of Priorities.
263 - Add a bit more documentation to jobq.c
264 - Complete hash table routine htable.c htable.h
265 - Change M_INFO to M_ERROR in attribs.c for Windows errors.
266
267 2003-07-23 Version 1.31 Beta 22Jul03
268 - Apply a patch from Nic Bellamy that clarifies the error messages 
269   during recycling volumes.
270 - Documentation.
271 - Clear VolCatInfo in askdir.c so that readbytes is zeroed.
272 - Add SD statistics to backup report.
273 - Removed old workq code.
274 - Fixed rescheduling after error.
275 - Fixed delayed starts which were not working.
276 - Added priority to values that can change when starting
277   a job.
278 - Complete implementation of new job scheduler. jobq.h jobq.c
279   This code is turned off unless specifically enabled in src/version.h
280 - Integrate code from Nic Bellamy to check for recycled volume in
281   mount.c in SD.
282 - Fix a couple of bugs in dlist.c
283 - Begin implementation of new job scheduler.
284 - Take serial.h provided by David Craigon, which corrects differences in 
285   prototypes between serial.h and serial.c.
286 - Make db_get_media_ids() return Media Ids only for the current pool.
287 - Add new jobq.h and jobq.c drived from workq.
288 - Add JobPriority to jcr, and Priority to Job resource as well as
289   to the run line in a Schedule.
290 - Remove unused pool record from autoprune.c.
291 - Implement Nic Bellamy's RecycleCurrentVolume.     
292 - Implement RecycleOldestVolume.
293 - Begin adding new JOB_QUEUE code to the Director.
294 - Create a single routine recycle_volume().
295 - Retry accept(), bind() and socket() if EINTR occurs.
296 - Implement insert_before(), insert_after(), and empty() for dlist class.
297   Also require offset to be given by giving item and link address.
298 - Make error some messages in smtp.c a bit more explicit.
299
300 2003-07-12 Version 1.31 Beta 14Jul03
301 - Marc Brueckner reported a crash during restore (a missing tree->)
302 - Moved host.h.in file from filed to src.
303 - Update btraceback to include host os, distname, distver in output.
304 - Split list (in lib) into alist and dlist both with .h and .c.
305 - Update home page to include Project status page.
306
307 2003-07-12 Version 1.31 Beta 10Jul03
308 - Manual updates.
309 - Clean up some unused variables detected by the IRIX compiler.
310 - Test two directories on Win32 -- caused a crash. I forgot
311   to NULL the uid cache pointer after releasing it.
312 - Use bstrncpy() instead of strcpy() in find_files.
313 - Clear a few linked lists in the temp directory packed in find_one.c
314 - Eliminate an unnecessary variable in attr.c
315 - Clear the cache pointer after release in idcache.c
316 - Implement a new C++ doubly linked list class.
317
318 2003-07-08 Version 1.31 Beta 08Jul03
319 - Update document for Win32 stuff.
320 - Ensure VolStatus value for update is permitted.
321 - Fix cached_path so that it is local to the jcr, otherwise, there
322   are problems from job to job.
323 - Fixed idcache.c which was not thread safe and didn't release memory,
324   and didn't always edit the userid correctly.
325 - Correct missing pool memory allocation in update voluseduration.
326 - Release mutex in pool_mem.c before triggering ASSERT.
327 - Lock database while recycling.
328 - Fix a bug in editing since where I forgot to update to the new size.  
329 - Implement all the command line update arguments.
330 - Modify label to use volume=xxx for the new volume and oldvolume=yyy
331   if doing a relable.
332 - Added yes to run command line arguments.
333 - Clear errno in editing a string to utime.
334 - In restore print only volumes that will actually be used.
335 - Fix bextract -- add appropriate breaks in new case code.
336 - Add a new test -- bsr-opt-test for testing bsr optimization. As usual,
337   it pointed out a bug where the directory tree handling code destroyed
338   the restore arg list.
339 - Many updates to the manual.
340 - Pass prefix links flag to FD.
341 - Sort list of commands for Console
342 - Set default FD and SD concurrent jobs to 10.
343 - Rework the find next volume code in catreq.c to correct some minor
344   but subtle logic errors and to eliminate a goto.
345 - Did spell check on manual.
346 - Removed bindtextdomain() as it conflicted with RH8.0 headers
347 - Fixed parse_args to pass address of POOLMEM struct.
348 - Constrain FileIndexes written to BSR to be within range of Volume.
349 - Suppress writing volumes to BSR if they are not actually referenced.
350 - Make FOPTS use alist for match and base entries.
351 - Pass prefix_links to SD.
352 - Add command line interface to most items in "update volume=xxx"
353 - Add command line interface to restore "jobid", "current", "before", "all".
354 - Add command line "yes" to run command to supress prompt.
355 - In new alist code, free only if allocated.
356 - Overload [] with get() code for alist.
357 - Fixed the code that wrote FirstIndex and LastIndex to the database. It
358   was not correct at the end of a volume (basically included indexes in
359   the second volume).
360 - Fixed bscan to work with the new code and to properly build JobMedia
361   records.
362 - Added code to the read end of block.c to properly track Volume bytes,
363   blocks, and files. I thought this was not necessary, but it is critical
364   for bscan to work correctly.
365 - Modified read_record to properly track First/LastIndex -- needed by
366   bscan.
367 - Eliminated some old Volume write code.
368 - Changed RecycleOldestVolume to PurgeOldestVolume
369 - Added what I hope are the "final" touches for Win32 stuff.  There
370   are still a lot of annoying little problems.
371 - Added the "portable=yes/no" option to Include. If set, it disables
372   use of BackupRead/Write for Win32, so in principle, the data should
373   be portable.
374 - Pulled in more recent config.sub and config.guess from /usr/share/libtool
375 - Replaced the system fgets() by a Bacula version that ignores
376   interrupts (i.e. signals).  This truncated output from child processes.
377 - Make file_index int32_t everywhere.
378 - Moved LinkFI into ATTR structure.  Also integrated data_stream there too.
379 - Moved code that sets the stream for writing into create_file.
380 - Removed a signal(SIG_IGN, SIGCHLD) from dird.c that prevented getting
381   the status of child processes.  This allowed removing the FreeBSD 
382   kludge to bpipe.c -- the status is now obtained correctly.
383 - Hand scan the stream header that arrives in append.c to avoid machine
384   dependencies of sscanf().
385 - Implemented code to put Data stream in Attributes record. 
386 - Check if data stream is supported, if not, ignore.
387 - Fix crash when multiple Includes are given (missing parens).
388 - Clear WroteVol in askdir.c when JobMedia record is created.
389 - Implement simple array list class for use in Bacula.  New files
390   are lib/list.c lib/list.h. Probably will not use until version 1.32.
391
392 2003-06-24 Version 1.31 Beta 22Jun03
393 - Change Purging Oldest Volume message to Recycling Oldest Volume.
394 - Limit results from find_oldest_volume to one.
395 - Fix possible buffer overrun in the restore tree handling routines.
396 - Fixed a crash in VerifyToVolume because I moved the close_db()
397   down into the free_ua_context() and should not have done so.
398 - At a "var" command in the Console that does variable expansion and
399   prints it.
400 - Implement first cut of estimate command.
401 - Change find_next_volume() for oldest to use LastWritten instead of
402   FirstWritten -- also add Append to volumes slected.
403 - Do normal recycling before checking for RecycleOldestVolume.
404 - Implemented block rejection on read. This should make restores run
405   much faster. Next release will have block positioning -- even faster.
406 - Very preliminary support for Gnome-2.0.  Text does not yet work.
407 - Correct buffer corruption in find_one.c with long directory names (Win32).
408 - Make setting owner on directories M_ERROR rather than M_WARNING.
409 - Fix printing of JobId in run listing for restore job.
410 - Reduce heartbeat read check interval to every 10 seconds on Cygwin because
411   there is no working pthread_kill().
412 - I finally designed a test for multiple simultaneous jobs,
413   and sure enough it broke when the jobs are split over multiple
414   volumes.  Now fixed and working!
415 - Eliminated a few "duplicate" error messages by testing for canceled.
416 - Add ASSERT for device use count going negative.
417 - Fix BlockNumber checking in stored/read.c (got first one wrong).
418 - If socket is timed out, do a shutdown(fd,2) instead of close().
419 - Fixed return status from SD to FD by setting JobStatus in append_end() 
420 - Add arrays to Environment variables. Elements separated by |.
421 - Implement Reschedule On Error, Reschedule Interval, Reschedule Times.
422 - Add a new pool PM_NAME -- gets a name length buffer.
423 - Implement fast cancel of FD blocked on writing to SD by using
424   pthread_cancel(). Turned off on Cygwin due to bug.
425 - Add code to handle EAGAIN in writing (probably not necessary). Use
426   select().
427 - Eliminate size_t from pool control buffers.
428 - Complete Counter resource.
429 - Complete LabelFormat (except for WrapCounter) plus counter
430   inrementation.
431 - This needs a database change to eliminate PoolId from counters.
432 - Made a more compact format for the document index.
433 - Add Phil's checkhost to examples directory (thanks Phil).
434 - Implement generalized LabelFormat (documentation to come).
435 - Implement Counter resource.
436 - Cleanup examples/kernsconfig
437 - Implement restore to a specific date.
438 - Fixed a but in automatic labeling (and use durations expiring) analysed
439   and reported by Rob Proffitt (thanks!).
440 - Cleaned up a few Cygwin compile problems.
441 - Made a 10Jun03 release (it is in production here)
442 - Finally took the big plunge and fixed restoration of links and other
443   files that have been changed between the backup and restore. Basically
444   if the file exists, it is deleted, then re-created.
445 - Purge only Volumes marked Append, Full, Used, or Error.
446 - Allow pruning of volumes marked Append, in addition to Full and Used.
447
448
449 2003-06-10 Version 1.31 Beta 10Jun03
450 - Eliminated all plain email addresses and replaced them with " at " in
451   place of @ to reduce havesting by spammers.  Doc + Web Site.
452 - Started working on making POOLMEM a struct rather than a char. Lots of
453   work to do.
454 - Fixed bscan to handle -V option.
455 - Fixed bscan to handle two File volumes.
456 - Corrected a misplaced comma it get_fileset() in cats pointed out by bscan.
457 - Added two Volume bscan test to regression scripts -- write two volumes,
458   purge and delete everything, bscan the tapes, and do a restore. It works!
459 - Reorganized the backup/restore code to move the attribute information into
460   an ATTR packet, which is passed in place of tons of arguments.  Moved some
461   code into lib/attr.c and lib/attr.h.  Then eliminated all the duplicate
462   attribute code.
463 - Moved FT_ types into baconfig.h.
464 - Defined FT_ types to use only 16 bits. The upper half of the word is
465   reserved for adding optional fields in the attributes packet.
466 - Moved jcr->where into common part of jcr and have it deleted in lib/jcr.c
467 - Put all attribute reading code on switch() with cases instead of a big
468   if (restore.c, bls.c, bextract.c, bscan.c, ...)
469 - set_attributes() now takes ATTR packet, and thus has much fewer args.
470 - moved print_ls_output() into lib/attr.c  
471 - implemented is_stream_supported().
472 - create_file() now takes ATTR packet so has many fewer args.
473 - add mtime_only code.
474 - Rewrote bnet.c read and write routines to quit if bsock->terminated is
475   set.  This will allow setting non-blocking writes and then receiving
476   a termination message and terminating the Job immediately rather than
477   waiting 2 hours for the line to timeout.
478 - Put catalog db name in some error messages.
479 - Code for restore is now much cleaner, with much of it in lib/attr.c,
480   and it is now common for all readers.
481 - Add first cut of proper support for Win32 Backup code.
482 - Fix bug in restore Win95/98/Me.
483 - Pass mtime_only flag to FD. Needs config record.
484
485 2003-06-04 Version 1.31 Beta 04Jun03
486 - Fix block.c to check errno only in case of return status -1 as 
487   suggested by Justin Gibbs (FreeBSD).
488 - Implemented qfill command in btape for quick testing write/read of a tape.
489 - Discovered that FreeBSD pthreads re-use the same thread id, which causes
490   the SD to fail when a user leaves a device unmounted (old pid is reused
491   and lock_device() thinks the same thread is calling again leading to
492   inconsistent state). Set id to zero after blocking the device during
493   unmount.
494 - A lot of clean up, moving subroutines around for TermCode.
495 - Free ua->prompt when Job terminates.
496 - Add AutoPrune and Recycle to values copied from Pool resource
497   into Pool record on create/updated.
498 - Implemented bsr for Verify VolumeToCatalog. 
499 - Improved the Verify Job report using SD and FD term codes.
500 - Split tree handling routines from ua_restore.c to ua_tree.c
501 - Split bsr routines from ua_restore.c to bsr.c and bsr.h 
502 - Fixed clash between FD and SD returned job values. Report now contains
503   values from FD.  Maybe I should change? or give both.
504 - Attempt to fix negative use_count for dev packet in SD by adding
505   a couple of open_dev().   This may be cause of Dan's crash.
506 - Clear no_wait_id when device is unblocked. This may be cause of Dan's crash.
507 - Eliminate old "new lock code".
508 - Add configure of mtx-changer for mtx path.
509 - Always rewind tape before releasing it (for FreeBSD).
510 - StartBlock was one too large for second volume.
511 - Fixed restore to display status from both SD and FD.
512 - Unified return status message for backup and restore.
513 - Corrected segmentation fault reported by Dan when doing "label barcodes"
514   on a File.
515 - Corrected a segmentation fault when attempting to send a JobMedia record
516   to the Console -- reported by Dan.
517 - Added MySQL documentation for using the threaded libraries.
518 - Added new columns and tables to Catalog database.
519 - Wrote alter scripts and tested them (thanks to Dan for the help) on
520   MySQL and SQLite.
521 - Started using enums where ever possible when passing flags to 
522   subroutines. This helps make the source much more readable.
523 - Corrected a bug where a vertical database listing was being used in
524   the query command.
525 - Added new argument to parse_args() to prevent command arg overflow.
526 - Renamed ua_db_query.c ua_query.c.
527 - Split scan.c out of lib/util.c
528 - Perhaps I have *finally* fixed the command line history in gnome-console.
529 - Added support for smartalloc for any global new or delete command
530   by overloading the global operators.
531 - Made the default time with no qualifier day rather than seconds.
532 - Fixed a bug in the store_size() routine that improperly converted from
533   double to uint32_t.
534 - Started using "bool" where possible.
535 - Zap SD session key once it is used.
536 - Added *lots* more checking for strcpy -- bstrncpy(), ... 
537 - Added CreateTime field to FileSet record and print it to distinguish
538   FileSets. 
539 - Print an information message when a new FileSet is created.
540 - Include the FileSet date/time in the Job report.
541 - Indicate if a Job is upgraded in the Job report and from what previous level.
542 - Incremented the database version.
543 - Ensure that any DB error message is printed if the start_time of a previous
544   save is not found.
545 - Free orphaned buffer in ua_restore.c in case of database error.
546 - Implement enum for response DISPLAY_ERROR and NO_DISPLAY
547 - Implement enum for create_pool (POOL_OP_CREATE, POOL_OP_UPDATE).
548 - Make sure FileSets printed in restore are in order.
549 - Add a number of bstrncat, and other protected string operations.
550 - Clean up old structs in dird_conf.h
551 - Remove all Slot invalidation code.
552 - Add Automatic choice message to all do_prompt() calls.
553 - Eliminate JobId from restore if not used.
554 - Clean up a few error messages.
555 - Make fill/unfill commands work correctly in btape.
556 - Enhance btape fill and unfill commands.
557 - Implement real Pmsg() code so that negative levels work in Dmsg()
558 - Implement block number check -- had to turn it off because it doesn't
559   work.  Need to verify that it is the correct block and that block
560   numbers are properly written.
561 - Moved readline from depkgs1 to depkgs.
562 - Reworked the configure code to handle readline correctly. This was broken
563   mostly due to the fact that the readline routines are nested down one
564   directory.  Also, I missed one header file that was needed (possibly added
565   in a later version).
566 - Put correct include on the dependencies make for Console readline.
567 - Remove JobMediaId from VOL_PARAMS (no longer needed).
568 - Sort VOL_PARAMS by JobMediaId using SQL in cats.
569 - Add jcr as argument to block.c read_block... routines so that error
570   messages are immediately displayed.
571 - Make bsr_dev() edit an error message if it is turned off and return 0.
572 - Add checking for the BlockNumber in the read routines -- lots of
573   false matches are found -- much check writing end.
574 - Now sort bsr volumes by JobMediaId -- produces better results.
575 - It turns out that under certain circumstances, when doing a restore, the
576   Volumes will not be written to the BSR in the correct order.  I don't
577   know exactly why, but many thanks to Dan Langille for reporting this.
578   The solution is to sort the Vol_Params within each bsr (done), and to
579   sort the bsr chain (not yet implemented). Note, the bsr chain should
580   always be in order unless the user explicitly specifies the JobIds in
581   a different order.          
582 - Began implementing C++ structs rather than typedef structs as in C.
583 - Added volatile to a lot of variables that are used in two threads at
584   the same time. This should prevent improper optimization.   
585 - Fixed a missing space in the "run job=xxx where=" the where was
586   glued to the end of the previous stuff (bootstrap filename). 
587 - I *finally* found the cause of the mysterious failure of shell expansion.
588   It was due to the read() getting interrupted!  That's what opening up
589   SIGCHLD will do!
590 - Remove unused default tape drive names.
591 - Create a new status.c file in stored and split the status code out of dircmd.c
592
593 2003-05-22 Version 1.31 Beta 22May03
594 - I discovered that C++ permits "prototyping" structures e.g. struct A; is
595   a valid statement. This permitted me to eliminate all the void *jcr, in
596   favor of JCR *jcr, which pointed out a number of bugs in block.c.
597 - Change lib/bmisc.c to bsys.c (system routines).
598 - Add set_working_directory() to lib/util.c
599 - Remove some unneeded setjcr_job_status() since Jmsg(jcr, M_FATAL,...)
600   already sets it.  
601 - Do not increment jcr->Errors for Fatal errors -- they represent non-fatal
602   errors.
603 - Fix a few more places in FD where Errors was not incremented.
604 - Print unexpected (or incorrect) termination message returned from FD.
605 - Use switch() instead of giant if statement in verify_vol.c
606 - Protect overrun from do_shell_expansion() by passing max length.
607
608 2003-05-20 Version 1.31 Beta 20May03
609 - Add mandrake to platforms
610 - Suppress error messages if no bytes written to tape.
611 - Suck up bootstrap file even on error so that Dir sees our error message.
612 - Pretty much finish off the Win32 backup code.
613 - Add DESTDIR code to autostart for creating non-root rpms
614 - Echo input read from a script in Console.
615 - Clarify error message for VerifyToCatalog
616 - Add error counts in restore for M_NOTSAVED.
617 - Adapt bfile.c to handle both Win95 files as well as WinXP files.
618 - Add MTIOCERRSTAT for FreeBSD (clear error status).
619 - Correct double jobmedia record when cancel at EOM reported by Phil.
620 - Correct possible write at beginning of tape during cancel at EOM
621   as reported by Phil.
622 - Document in detail how Incremental and Differential jobs work.
623 - Add non-fatal error count on backup and restore Job reports.
624 - Remove a couple uses of lld -- now prefer to edit and use %s.
625 - Fix directory could not be accessed on Win32.
626 - Improve message indicating that last Full backup not found. 
627 - Fix free() too early in directory traversal code.
628 - Prune Jobs with no JobFiles or that have JobStatus!='T'
629 - Add a few more command line scans for prune/purge.
630 - Restrict valid characters in a Volume name, and document it.
631 - Make new Win32 save/restore work. Still a bit more to do.
632 - Use reentrant version of mysqlclient library.
633 - Use more machine independent way of finding gcc version.
634 - Fix race condition in sql_list where messages edited before locking.
635 - Lots of testing saving/restoring 6GB files.
636 - Add where to restore where=/tmp
637 - Complete implementation of Win32 streams in FD. Must test. Also,
638   must implement new streams in SD.
639 - Make termination of daemons more "error" tolerant.  
640 - Make default "duration" days rather than seconds if there is no modifier.
641 - Install bcopy.
642 - Add detection of available Win API's so that a single binary will
643   work on all Windows systems.  Reference those APIs through a pointer.
644 - Remove use_win_backup_api and enable it in bfile.c if system supports it.
645 - Modify dev.c so that it works if MTEOM is not defined (BSDI).
646 - Change MT_xxx to BMT_xxx to prevent conflicts with BSDI.
647 - Detect strtoll() in configure.
648 - Implement replacement for strtoll() for BSDI.
649 - Add platform files for BSDI.
650 - Use Jmsg() instead of Jmsg1() in acquire because File:line prefixed in dev.c
651 - Use Jmsg() in write_block_to_dev() so that no messages are lost.
652 - Rework autochanger code in restore to handle case of cassette not in magazine.
653 - Implement Windows BackupRead/Write(). I now have permissions right!!!!
654 - Additions to the manual (Purging, Autopruning).
655 - Add doc to code in autoprune.
656 - Begin adding Level = Base.
657 - Make Jmsg recognize console and direct messages directly back to it.
658 - Hopefully fix mess in mount.c when a tape expires.  
659 - Fix restore bug recently introduced due to Unix backwards status convention.
660 - New bacula.spec from Scott
661 - Add globals for database name and version and print them in traceback.
662 - Eliminate SubSysDirectory in each daemon conf file.
663 - Implement get_yesno() and get_pint() in UA.
664 - Make Jmsg aware of console. Messages now sent directly to Console.
665 - Created a single bacula.spec.in for by the MySQL and SQLite builds.
666 - Added proper configuration to console.in and gconsole.in
667 - Start adding textdomain() code for translating.
668 - A number of minor code cleanups.
669 - Rework shell expansion just a bit.
670 - Add rewind() when releasing a tape before acquiring the next one.
671 - Implement addition of Description in Service entry for Win32.
672 - Update manual to eliminate unclear autochanger points as mentioned
673   by Dan Langille.
674 - Implement DESTDIR everywhere.
675 - Rework spec files for 1.31 and combine the main spec and the client
676   only spec making a client package. At the same time, rename the packages
677   so it is a bit clearer to the user. Also fix the build to work
678   as non-root (scriptdir was not prefixed with $RPM_BUILD_ROOT).
679 - Correct Auto Changers and all other forms to Autochangers in the
680   manual.
681 - John reported needing to do two "mount" requests, and indeed that
682   was the case. It turns out that pthread_cond_timedwait() does not
683   always return zero when awaken by a pthread_cond_signal().
684 - Include RunBeforeJob and RunAfterJob output in job output report.
685 - Implement a "real" Admin job that prints a mini-job report.
686 - Clean up a few error messages in findlib and filed.
687 - Recent changes to gnome-console caused initial output to be
688   lost -- now fixed.
689 - The Win32 version crashed after each job. After hours, it turns out
690   that when running with LocalSystem privilege (and not as a user), when
691   Cygwin does pthread_kill(id, SIGUSR2), it gets a memory fault.
692 - Moved stored/fdmsg.c to lib/bget_msg.c, and moved SD messages to
693   stored.c.  So now bget_msg() can be used by both the SD and FD.
694 - Changed Director's bget_msg() to be called bget_dirmsg() to avoid
695   any possible confusion.
696 - Implemented bget_msg() in general everywhere in the FD except for
697   job.c where the Dir and FD are communicating.
698 - Implemented a Director only heartbeat in the FD for the cases where
699   there is either no connection to the SD or the FD is already reading
700   from the SD.  start_dir_heartbeat() ...
701 - Add heartbeat to restore and verify volume.
702 - Add "Heartbeat Interval" to Storage resource, which sets interval the
703   SD sends heartbeats to the FD and DIR, 0 disables heartbeats.
704 - Add "Heartbeat Interval" to FileDaemon resource, which sets the interval
705   the FD sends heartbeats to the DIR, 0 disables heartbeats. 
706 - Added heartbeat from FD to Dir every HB_TIME rather than forwarding
707   SD heartbeats.
708 - First cut label dialog.
709 - Turn on new semaphore code for simultaneous Jobs.
710 - Fix cancel trying to release semaphore's not acquired.
711 - Implement get_pint() and get_yesno() for UA.
712 - Implement find_arg_with_value() for UA.
713 - All command line "slot" to be specified for label command.
714 - Rework heartbeat code in FD to correctly terminate.
715 - Fix btraceback to use smtp and to eliminate double //
716 - Fix "storage" command to include ssl for verify and restores.
717 - Add Heartbeat code when SD is waiting on a tape -- heartbeat every 20 mins
718   to keep stateful firewalls from timing out the connections.
719 - Fix src/stored/Makefile.in typo causing problems in statically linking
720   btape.  Thanks to Lutz for reporting this.
721 - Create an is_client_alive script for checking if a client is alive.
722   Using this script prevents generating error messages.
723 - Added corrections and updates to manual provided by Phil -- thanks.
724 - Added RequireSSL to each program/daemon configuration.
725 - Added EnableSSL to each correspondent for each program.
726 - Added the Console resource to the Director (need to
727   implement individual Console authorization).
728
729 2003-04-28 Version 1.30 released
730 - Fix command history for gnome-console (must malloc).
731 - Add two cancel points in acquire_resources(). The job will not
732   be immediately terminated in all cases.
733 - The new AutoMount code broke File archives -- fixed.
734 - Correct watchdog mutex race introduced yesterday.
735 - Add JobLevel to Admin run started by UA.
736 - Add -v to daemon startup scripts
737 - Implement bmicrosleep(sec, msec);
738 - Implement When for "run" command.
739 - Remove unsigned from socklen_t definition in hopes it will work better
740   with older systems.
741 - Remove code that attempts to set PID dir and SUBSYS dir if they
742   do not exist because it set them to sbindir!
743 - Modify mount to initially attempt to read the volume if Bacula
744   wants a tape, none is mounted, and "Automatic Mount = yes" is set.
745 - Prohibit setting --sbindir and --with-subsys-dir the same.
746 - Fix missing argument that cause Kaboom in update slots.
747 - Fix orphaned bsock when UA gets error contacting FD or SD
748 - Nearly full implementation of Win Backup API, but it does not
749   work due to lack of permission! Arggg!
750 - Implemented restoring directory permissions as they should be.
751 - Implemented reasonable regression script.  It found a number of
752   restore errors.
753 - Implemented the following @ commands in the console that work directly
754   in the console rather than in the Director.
755     input - read input from a file
756     output - write output to file
757     tee    - tee output to file and terminal
758     time   - print current time
759     version - print current version
760     exit    - quit
761     quit    - quit
762 - Implemented new bfile io routines that will permit implementation of
763   Windows native APIs for reading/writing files.
764 - By default always update hard links with the prefix, but do
765   not update soft links.  It seems inconsistent, but it is what
766   cp does.
767 - Implement wait command in Console that waits until no jobs are running. 
768 - Fixed the < code in Include/Excludes, which forgot to skip over the <.
769 - Do NOT attempt to chmod() a soft link as it will change the file behind
770   the link!
771 - OOPS! Lutz ran into a problem. In attempting to prevent string overflows,
772   I used bstrncpy() on a variable that was malloc'ed thus truncating 
773   Volume names!  Arrrggggg!
774 - Lots of documentation of new features.
775 - Rework Volume name scanning in console, made much more logical
776   and corrected a bug (confusion in calling sequence).
777 - Cleaned up a few error messages in cats adding more info.
778 - Add the IP address to error messages due to bad connects to servers.
779 - Implement default File output in config files so user can start
780   saving right away without a tape drive.
781 - Protect inet_ntoa() with mutex in case it is not thread safe.
782 - Eliminate termcap from use in gnome console.
783 - Remove unused SD maximum volume files and maximum volume jobs. They
784   are implemented in the Director.
785 - Make the default for Incremental and Differential saves to compare
786   against both st_mtime and st_ctime rather than just st_mtime.
787   This includes files moved or copied.
788   Thanks to Matthias Wamser for bringing this fix to our attention.
789 - On Win32 clients, make a pass through the include/exclude patterns
790   and change any back slashes to foward slashes. Prevents creating
791   unusable directory names containing both conventions.
792 - Move ls -l output on restored files to M_RESTORED class.
793 - Make gnome-console compile correctly on RH8.0
794 - label barcodes now works.
795 - Implemented "update slots".
796 - Tweak btape "test" to always print suggestion for re-read last block.
797 - Implemented "Cleaning Prefix"
798 - Update alter_mysql_tables.in
799 - More work on barcodes.
800 - Zap VolHdr in SD when attempting to label a tape that is not
801   there.  Prevents false tape names the next label command.
802 - First cut of bar code reading is implemented. It doesn't do
803   anything but return the list to the Director.
804 - Implemented relabel command that relabels "Purged" Volumes.
805 - Check exit code in RunBeforeJob and err the job if it is non-zero.
806 - Remove old testsuite -- too complicated
807 - Print length when Authorization fails because of bad length.
808 - Fix problem of NumVols in Pool getting reset on startup.
809 - Implement full listing of DB records by listing them vertically
810   instead of horizontally.
811 - Make changes to mysql scripts as suggested by Lutz Kittler
812 - Fixed code to write Uname to Client record.
813 - Fixed a problem (in btape) where Pmsg() was not printing.
814 - Moved re-read last block test to last in "test" command of btape.
815 - Lots of new documentation.
816 - Fixed newvol.c to handle retrying 10 times if the volume name already exists.
817 - Removed int_least16_t from sha1.h because it does not exist on some systems.
818 - Release job in SD if canceled and waiting on a mount (better cancellation).
819 - Prompt for Client in restore if not specified.
820 - Print "Selection is empty!" if no selection list found.
821 - Add new spec files and bacula.desktop from Scott.
822 - Update client every time a job is run.
823 - Add verbose option to daemons for printing more user error info.
824 - Test if console works with readline 4.3 (yes, it is OK).
825 - Release new depkgs
826 - Release new winbacula.
827 - Add Uname info to Client DB record.
828 - Improve error messages and make them more consistent when a non-existent
829   Device is requested.
830 - Separated the -mwindows option so that only Windows programs
831   are built with it (bacula-fd, ...) the tty tools such as console
832   dbcheck, smtp, testfind, ... are now able to be run in a standard
833   Windows DOS box.
834 - Add | and < options to Exclude the same as in Include.  
835 - Add typed in input to the text window in the gnome-console.
836 - Change function that gets the entry text (previously had orphaned buffer).
837 - Fix multiple Director problem in gnome-console (thanks to Lutz Kittler).
838 - Thanks to Renato, I was able to test Bacula on a FreeBSD tape drive.
839   There are a number of significant differences: 1. reading less than
840   the number of bytes in a record returns an I/O error.  2. ioctl(MTEOM)
841   looses the file position. 3. Reading two two EOF marks (or ioctl(MTEOM))
842   leave you positioned after the second EOF, so you must backspace file
843   to be able to append.
844 - Added BSF at EOM = yes/no to Device resource to allow proper positioning
845   at the end of a FreeBSD tape.
846 - Made btape "test" do much better testing of error conditions (i.e.
847   it now ensures that the append went well). It will automatically
848   detect problems and apply fixes and then retry the test, if it
849   finally succeeds, it clearly says what directives need changing.
850 - Add Scott Barninger's rpm changes to the build environment
851 - Add changes to mtx-changer so users can add eject and sleep for
852   certain autochangers.
853 - Implemented FreeBSD chflags (user defined flags).
854 - Turn restore errors during setting of owner and modes into
855   warning messages -- for restoring files as non-root.
856 - Fix how prefixes are handled in restoring soft links.
857 - Modified btape "test" command to do only those things that
858   Bacula actually does. There is much more explanation, ...
859 - Update manual.
860 - Finally had to back up to gcc version 2 from version 3 to avoid version
861   3 nightmares.   
862 - Final cygwin tweaks.
863 - Move start time to *after* the resource locks are acquired.
864 - Unable to duplicate Phil's disabling of Bacula with nmap, but
865   did make the authentication code a bit more conservative for
866   dealing with bad input.
867 - Added code to the query command to escape all strings input
868   before substitution and sending to the SQL engine.
869 - Escape user entered filenames for restore command.              
870 - Cleaned up the waiting code a bit -- using broadcast instead
871   of signal and counting the waiters.
872 - Implement new pthreads semaphore code.
873 - #define new semaphore code rather than workq on USE_SEMAPHORE.
874 - Lots of improvements to the document to address recent support requests.
875 - Implement cycle through a set of tapes suggested by Eugeny
876   Fisher with the "RecycleOldestVolume=yes" record in the
877   Pool resource.  Basically this record causes Bacula to purge
878   to oldest tape when no more tapes are found.
879 - Correct a number of small incorrect interactions between limit
880   variables during recycling.
881 - Corrected a bug in db_create_media_record() where VolMaxFiles and
882   VolMaxJobs was not written to the database.
883 - When the Director starts, the Pool record is updated in the
884   database with the current contents of the Pool resource.
885 - Corrected bnet_connect() to immediately stop (rather than looping
886   for the timeout period) if there is a fatal error (socket, or
887   hostname to ip).
888 - Reworked "purge" code to make purging Volumes easier.
889 - Made "list volumes" list the volumes in all pools -- also
890   "list volumes pool=Default" does not produce and error message.
891 - List Pool record after doing "update pool".
892 - Remove pid file code from Win32 -- not really necessary.
893 - Make bnet handle null jcr during cancel rather than crash.
894 - Add CygwinInstall.bat and CygwinUnInstall.bat
895 - Add db_lock() around newvol.c code to prevent race condition if multiple
896   callers want a new Volume name.
897 - Lots of cleanup to Win32 code, with additional error messages.
898 - Make Bacula work on Win95 (test for GetAttributesEx).
899 - Add better error messages when end of media is reached or volume
900   capacity execed.
901 - Turned off signal catching in readline(), necessary to keep console
902   from crashing on ctl-Z with RedHat 8.0.  Thanks to David Craigon for
903   testing this.
904 - Make the 3rd and hopefully final change to the Finclude structures.
905   This new version permits multiple sets of options (more code to be
906   written) to be applied against the same set of files. Thus one can
907   have options that with match of *.gz and a different set of options
908   for *.c, ...
909 - Integrated GNOME Console font resource code supplied by Phil Stracchino.
910 - Check for job_cancelled() in bnet_connect() code to stop wait loop if
911   client not available.
912 - Fix early end of file scanning conf file in lex.c, which previously
913   caused ABORT -- now reports error.  This could happen with an unterminated
914   string for example.
915 - Move Maximum File Size code before write and detect error on writing EOF.
916 - Additional fix for Solaris 2.6 and a bdb.c fix submitted by Armin Buehler.
917 - Added detection for Solaris 2.6, which uses older setsockopt() calls.
918 - Defined sockopt_val_t for setsockopt() calls.
919 - Added fixes sent by Bevan Anderson that fix multiple connects to FD
920   (I zap keys for security, so must put back dummy key).  Also a fix
921   to the Internal database that wrote garbage after the filename in
922   the database.
923 - Back out the __SVR4 changes.
924 - Add automatic configuration of socklen_t
925 - Attempt to fix problems reported by Lutz with multiple simultaneous
926   open file Volumes (experimental code). Serialized acquire. This may
927   fix the problem, but more thought and testing is necessary.
928 - Add table of "supported" autochanger models.
929 - Add Solaris 2.6 (__SRV4) changes sent by Peter Schmitz.
930 - Correct tape selection code in SD (|| => &&). Thanks to Chuck Hemker
931   for the patch.
932 - Eliminate FileOptions. Implement new Finclude and Fexclude that
933   have file options contained in it.  New structure must be transmitted
934   to FD.
935 - Split Include/Exclude into new inc_conf.c file.
936 - Cleanup new Include/Exclude and FileOptions.  Structures in Director
937   now correct.  Must transmit FileOptions to FD.
938 - WARNING:  With the adddress and port code in the Catalog you MUST
939   remove old address= and dport= records!!!!!
940 - Added code to remove cancelled jobs from the workq -- needs testing.
941 - Added first cut AIX from output James MacLean sent me.
942 - Second cut of FileOptions.
943 - First cut of parsing FileOptions and Counters.
944 - Added address:port for MySQL as well as socket for local access.
945 - Fixed job.c in filed to properly handle excluded files. Apparently
946   I changed the daemon protocol but forgot to update the code.
947 - Enhance testfind to handle include and exclude files
948 - Fix getdomainname() prototype for Darwin
949 - Added new -u and -g options for specifying userid and groupid to
950   use when running, so that Bacula can reduce its privileges.
951 - When Bacula was hanging due to an NFS volume being down, I 
952   fixed a few places in the File daemon where is should have immediately
953   terminated the connection instead of waiting for the Director to do so.
954 - Added first cut support for Darwin.
955 - Temporarily comment out the O_NOFOLLOW to avoid possible subtle problems.
956 - Implemented O_NOFOLLOW in creating files in create_file.c to prevent
957   creating a file at the end of a symbolic link.
958 - Use chown() if lchown() does not exist (e.g. Darwin).
959 - Always close stdin on startup to avoid having /dev/console attached.
960 - Change all DATE occurrences to BDATE because it is used by Cygwin headers.
961 - Add printing of Volume names in SD status output.
962 - Display all open devices in device chain in SD status output.
963 - All changing Pool in console run command.
964 - Thanks to Eric Bollengier for pointing out that the run_program()
965   return status was not correctly generated. Now fixed (I hope).
966 - Corrected crash in Internal Database getting Volumes.
967 - Flush all daemon messages at the end of every job.
968 - Fix Install.bat script so that Bacula restarts after reboot on WinNT/2K systems.
969 - Minor changes in the gnome-console directory.
970 - Integrated in my old Tcl/Tk code into src/tconsole and moved it up
971   from C to C++.  Pretty crude, but it is a beginning.
972 - Close syslog() %n exploit in message.c
973 - Edit space before each line in gconsole.
974 - Added INCEXE structure so we can have FileOptions.
975 - Added support for multiple simultaneous open file volumes.
976 - Fix hard linked files so that the one saved is always restored.
977 - Add * to restore "dir" listing to indicate marked files.
978 - Add ability to make md5sum and sha1sum in lib directory.
979 - Work a bit more on the new daemon protocol.
980 - Use unmask of 022 or more restive
981 - Create File volumes with 0640 permissions
982 - Added support for SHA1 signature. Need to modify DB to have type.
983 - Document SHA1.
984 - Work a bit on getting proper child status from bpipe calls.
985 - Added Ludwig's mtx-changer to the examples/devices directory.
986 - Added a Warning not to use the Internal Database when it is initialized.
987 - Compiled and tested SHA1, and added it to the library.
988 - Added code to print the "load slot" status after autoloading.
989
990 =============================================================================
991 2003-01-24 Version 1.29 released
992 23Jan03
993 - Tightened up permissions on all .conf files to be 640 so they are not
994   world readable.
995 22Jan03
996 - Added prefixlinks=yes/no Job record to specify applying the Where
997   prefix to absolute soft links.  Code is not yet passed to FD, because
998   FD would then be incompatible with version 1.28.
999 - Added skeleton of installation for Gentoo release for Patrick Naubert.
1000 - Add timer on open() for reading or writing a FIFO file.
1001 - Put btraceback and btraceback.gdb in sysbin dir (a bit of polution,
1002   but at least dumps will work).
1003 20Jan03
1004 - Added "append" all messages to a log to default bacula-dir.conf
1005 - Added WriteBootstrap to default bacula-dir.conf
1006 - Made smartall.c print "Out of memory" if malloc() fails.
1007 - Added pthread btimer routines.
1008 - Added timer to FIFO open statement
1009 - George was still having problems with VolUseDuration failing.
1010   On looking into it, one line of code subtracting 1900 was
1011   mysteriously missing from the source -- bizarre.
1012 18Jan03
1013 - Yesterday's version corrects all the problems I was
1014   previously having, and my production jobs are now completing
1015   properly.
1016 - Added a #define dev_cap() to test the capabilities bits. I just
1017   makes the code a bit shorter and a bit simpler.
1018 - Added phase 1 support for an output fifo device. The big 
1019   difference here is that it is a STREAM device, which means that
1020   Bacula will only write to it and not read. Thus, Bacula assumes
1021   that the correct "Volume" is mounted and will construct a valid
1022   label (without needing the Volume to be prelabeled), and write
1023   to the device.
1024 - Added phase 1 support for input from fifo device (suppress re-read,
1025   add empty buffer flag).
1026 17Jan03
1027 - Improve printout of dbcheck with # files/path fixing.
1028 - Zap SD authorization code after use.
1029 - Added <> back to smtp (think about this some)
1030 - Doc
1031 16Jan03
1032 - Massive change to add jcr as the first argument to nearly
1033   every db_ call. This is because I was storing the jcr in the
1034   db structure, which will not work because everyone shares
1035   exactly the same structure.
1036 - More cleanups of error termination status in filed.
1037 - Found another bug in message.c where %s was missing in JmsgN. A lot
1038   of cleanup in message.c
1039 - Found places where filename listing was made (restore, verify
1040   vol) where the buffer could possibly overrun.
1041 - Chain include files on the end of the list so that the
1042   order will be correct.
1043 - Rewrote mtx-changer to output one slot per line terminated by
1044   a colon followed by an optional Volume Tag for the "list" command.
1045   Preparation for handling Volume Tags.
1046 - My production crash remains elusive. Adding debug code or running
1047   under the debugger eliminates the problem. I found a case in
1048   message.c where I was extending the message string by two 
1049   characters to send it to the console. VERY BAD. Rewritten.
1050 - Started implementing fifo and program handlers (i.e. streams)
1051   in the Storage daemon. Lots to do.
1052 - Added a trace capability where trace statements are written
1053   to a file. Tmsg(). Hopefully this won't be used much.
1054 - Running lots of "production" saved by scheduling a few minutes
1055   after the current time -- slow process ...
1056 15Jan03
1057 - Removed <> on From and To in smtp.c as suggested by James MacLean.
1058 - Added code to suppress spurious error messages during cancel,
1059   but I was unable to eliminate all errors -- to be worked
1060   on later.
1061 - Up size of print buffer from 2000 to 5000.
1062 - My production run failed again. I'm beginnig to suspect 
1063   hardware problems because running by hand or under the
1064   debugger always works -- we will see.
1065 - Added Update Volume VolFiles to reset correct tape files 
1066   a bit dangerous.
1067 - Use the mysql_escape_string() rather than internal version.
1068 14Jan03
1069 - Cleanup handling of JobStatus by creating a subroutine.
1070 - Fix a number of minor things with JobStatus.
1071 - Print FD and SD JobStatus on backup report.
1072 - Add JCR to findlib -- so now FD stops normally when cancelled.
1073 - My production Director segment faulted during the second Job.
1074   I haven't been able to track it down. After rebuilding, all
1075   jobs finished correctly.
1076 - In investigating the duplicated Paths, I found that there
1077   were 10,552 of them -- only Path records. After checking the
1078   code, I do not see the reason, but I've enhanced the code to
1079   print the full path name.
1080 - I made a few improvements to tools/dbcheck. Mostly it provides
1081   a bit more feedback with verbose mode on when eliminating
1082   duplicate filenames or paths.
1083 13Jan03
1084 - During four simultaneous backups, the File daemon started
1085   detecting buffer corruptions. It turns out to be due to the
1086   fact that the smartall.c routines were not thread safe. They
1087   are now.
1088 - Based on input from James MacLean and team, I eliminated a number
1089   of places where printf could be recursively called by using "%s".
1090 - It turns out that because of an error of my understanding of
1091   mysql_escape_string(), the last argument was taken as the length
1092   of the string to be escaped rather than the maximum length.  I've
1093   now corrected all my code -- Thanks James.
1094 12Jan03
1095 - George Motter reported problems with UseDurations, and it seems 
1096   that there were a number of inconsistencies and problems with
1097   FirstWritten and LastWritten.  Hopefully for the most part they
1098   are now corrected.  Also fixed LabelDate if done through Console.
1099 - Try to chase down reasons why there would be buffer overruns.
1100   Added P & V around referencing last_fname for status.
1101   Rewrote find_one.c with MEMPOOL, but not yet tested enough
1102   to commit.
1103 10Jan03
1104 - Give extra margin to converting filenames from Unix to Windows
1105   in attribs.c of findlib -- dumb cygwin API doesn't provide for
1106   a length.
1107 - Added file:line traceback to size_of_pool_memory, check... and 
1108   realloc  in an attept to get closer to the memory overrun reported
1109   by James MacLean.
1110 09Jan03
1111 - Made yet another fix to quoted string -- paths!  Thanks to
1112   Scott Medlock for reporting this.
1113 - Made | and < work.
1114 - Implemented FIFO reading/writing. To do so, simply explicitly mention
1115   the fifo file (named pipe) in the Include AND add the new option
1116   readfifo=yes
1117 08Jan03
1118 - Started implementing | and < on Include names.
1119 - Changed source to . in cats directory as requested by Andrew Kokarev.
1120
1121 =============================================================================
1122 2003-01-05 Version 1.28b released
1123 - Corrected a typo of working_directory in bacula-dir.conf
1124   reported by James MacLean.
1125 - Fixed the fact that path and filenames in some cases were not
1126   being quoted before going into the database. Many thanks to
1127   James MacLean for reporting this.
1128
1129 =============================================================================
1130 2003-01-05 Version 1.28a released
1131 - Corrected a missing quote in bacula-dir.conf reported by James MacLean
1132
1133 =============================================================================
1134 2003-01-05 Version 1.28 released
1135 General:
1136 - Implemented Bare Metal Recovery for Linux and manual procedures for Solaris
1137 - Now using only a single technotes file kes-1.28 and will add to
1138   it as the development goes on.
1139 - Wrote a general purpose bi-directional pipe command. This replaces
1140   previous use of pipes as well as the run_program previously used.
1141 - Make BSRs stop if no more matches are possible.
1142 - Allow unliminted number of devices in Storage daemon.
1143 - Allow connections to Storage daemon before all devices are initialized.
1144 - Better documentation (and btape test command) on using fixed block
1145   tape drivers.
1146
1147 Changes submitted this submission:
1148 04Jan03
1149 - Add cygreadline5.dll to Win32 release -- needed for console
1150 03Jan03
1151 - Add scripts make_catalog_backup and delete_catalog_backup that makes and
1152   deletes an ASCII copy of the catalog for backup. An example of how
1153   to use it is in the <bacula-src/src/dird/bacula-dir.conf file.
1154 - Made a nicer column oriented listing of scheduled jobs for "status dir".
1155 02Jan03
1156 - Added backup/restore of raw partitions.
1157 - Corrected restoration of files in root directory (problem with
1158   splitting path from file).
1159 01Jan03
1160 - Finally decided to cleanup handling of splitting path and filenames
1161   in the cats directory. Now the code is in one place sql.c and it
1162   is done using Pool memory, so there are no length restrictions.
1163 31Dec02
1164 - Add start of Solaris bare metal recovery
1165 - Add Site Visit usage statistics to Web page
1166 - Got Bacula listed on www.backupcentral.com
1167 30Dec02
1168 - Retest bare metal recovery on Linux 2 times with verify
1169 - Cleanup printout of verify differences using proper casting to
1170   handle shorts and long longs.
1171 29Dec02
1172 - Added --enable-client-only to ./configure
1173 - Modified --enable-static-sd to work better and documented it.
1174 - Fixed Restore options (never,ifnewer, ...). They now work.
1175 - Moved the stored.c Resource lock into the allocation thread so
1176   that the same thread sets/clears it. This created a problem on
1177   FreeBSD.
1178 28Dec02
1179 - Added more rescue documentation.
1180 - Did a spell check of the Bacula doc.
1181 - Modified bscan to use the working directory as specified in the
1182   configuration file as the default.
1183 25Dec02
1184 - Fixed an important bug reported by George Motter that caused only
1185   the last option on an Include record to be used (all previous options
1186   were lost).
1187 24Dec02
1188 - Chase down some inconsistencies in creating Media records from
1189   the Pool defaults, and in updating/creating the Pool from the
1190   resource. Also fixed the cats DB routines to include all
1191   fileds (VolUseDuration was missing for example).
1192 21Dec02
1193 - Added building static versions of daemon static-bacula-dir, ...
1194 - Fine tuned the rescue (bare metal) code including support for grub.
1195 - Added skeleton freebsd rescue
1196 - Corrected SQL syntax error in autoprune code (JobType => Type).
1197 - Added error messages for SQL errors in autopruning.
1198 19Dec02
1199 - Documented Bare Metal Recovery
1200 - Create new "rescue" directory containg the Bare Metal Recovery code.
1201 - Fiddle with SQL a bit for pruning as apparently the last InitCatalog
1202   was pruned after the expiration date eventhough it was the ONLY copy!
1203   I'm not sure this is fixed yet.
1204 18Dec02
1205 - Allow Director to pass a NUL where string to FD (fix in FD).
1206 - Fix installation mv of query.sql.
1207 - Make sure btraceback.gdb is not wiped on "make distclean"
1208 - Corrected a bug in mod of replace options pointed out by Dave Anderson.
1209 16Dec02
1210 - Started adding FileOptions ...
1211 - Fixed  and incorrect print out of the number of files restored (Jarif).
1212 - Finally fixed EndBlock (and file address for Files) in catalog!
1213 - Added hostname to tape header as always planned.
1214 - Removed Level code (will not implement unless strong demand exists).
1215 - Tweaked bscan to print number of errors ignored before first SOS.
1216 - Enhanced btape "fill" to permit using one tape and to dump last
1217   block before writing and upon read back.
1218 - Make fsf_dev() return 0 on fail and 1 on success.
1219 - Use new db_get_job_volume_parameters() to enhance Write Bootstrap to
1220   contain more info (start/end file/block, file indexes).
1221 - Added --enable-static-fd, sd, and dir to configuration to enable making
1222   static versions of the daemons.
1223 13Dec02
1224 - The btape test program was indicating errors on Adrian's machine
1225   using the ATAPI (ide-scsi) tape drive. It turns out that this
1226   is a fixed block driver as a consequence, Bacula must be setup
1227   to write fixed blocks. btape was not always using the fixed
1228   blocks defined in the Bacula config, so that has been updated.
1229   It now works fine. A lot of tips added to the Bacula test command 
1230   to help guide the user.
1231 - Documentation of the above significantly improved in the manual.
1232 12Dec02
1233 - Added code in watchdog to permit setting and clearing child timers. If
1234   the timer expires, the child process is killed.
1235 - Modified restore to handle differential jobs.
1236 - Added a new test to the btape "test" command
1237 09Dec02
1238 - More documentation of new features (week position in scheduler, bsr).
1239 - Re-read last block written on full tape to verify it.
1240 - Fix segmentation fault with btape fill command due to missing FileSet MD5.
1241 07Dec02
1242 - Created better SQL input editing routines str_to_int64 and str_to_uint64()
1243 - Pull Client from database in Console restore command.
1244 - Create a Unique list of Volumes to be mounted (previously had repeats).
1245 - Made many of the SQL searches better by using the ClientId rather than the name 
1246   in the restore Console command.
1247 - Modified reading of a tape to include the VolFile info. Once the
1248   tape is past the specified file, reading stops.  The BSR now includes
1249   both the VolFile and VolBlock. Currently VolBlock is not used.  
1250 - Handle multiple volumes better by creating a real volume list with all
1251   parameters in it.
1252 - Display "At prompt waiting for input" in gnome console when at subcommand   
1253   prompt.
1254 - Broke ascii to internal and internal to string editing routines out into
1255   new lib/edit.c file.
1256 02Dec02
1257 - Added a readme and an afs-bacula script to the examples directory
1258   that permits Bacula to backup an AFS filesystem. Thanks to
1259   Lucas Mingarro for the submission.
1260 - Added A Sun-desktop autoloader script and Device definition to the
1261   examples/devices subdirectory.  Thanks to Lucas Mingarro for the
1262   submission.
1263 - If the WriteBootStrap fails, the job will now be marked in error.
1264 - Added a week position to the scheduler syntax that allows you to
1265   specify 1st, 2nd, 3rd, 4th, or 4th, or first, ... fifth as a week
1266   position specification in front of a day. So if you say
1267
1268     1st sun ...
1269
1270   the scheduler will start only on the first sunday of the month.  The
1271   day specification can also be a day range e.g. sun-fri.
1272   This code is untested.
1273 - Implemented bpipe.h and bpipe.c in src/lib, which defines a bi-directional
1274   pipe.  This allows executing other programs and sending them information
1275   as well as getting info from them.   
1276 - Replaced the previous pipe usage with bpipes in RunBeforeJob and   
1277   RunAfterJob.
1278 - The mail program now uses bpipes rather than pipes, which means that any
1279   error output will appear in the job output (truly bi-directional).
1280 - Modified BSR to handle counts and to stop when no more matches are possible.
1281   This is untested.
1282 - Improved error messages in smtp.
1283
1284 =============================================================================
1285 2002-12-12 Version 1.27d
1286 - This is a minor update that fixes a segmentation fault in btape
1287   as well as reduces non-important error messages in bscan.
1288
1289 2002-11-29 Version 1.27c
1290 - Yet another silly error duplicating a column name in the SQLite
1291   make tables.  No code change, just a make file.
1292
1293 2002-11-29 Version 1.27b
1294 - Set DB version to 5 in DB make files.
1295
1296 2002-11-28 Version 1.27a
1297 - Use g++ instead of gcc for testfind in tools 
1298
1299 2002-11-27 Version 1.27 (26Nov02) released 28 November 2002
1300
1301 General: from kes25Nov02
1302 - Mostly Cygwin changes
1303
1304 Changes submitted this submission:
1305 - Updated bdb_find.c to have new calling sequence for db_find_job_start_time
1306 - dird/catreq.c edit in Volume name in error messages to SD
1307 - attribs.c switch to using the cygwin API to convert from POSIX paths
1308   to Win32 paths. This now permits Win32 path specifications in Include
1309   statements (all combinations not yet tested).  It also avoids the large
1310   number of errors seen by Lutz if a Win32 path is specified in the Dir.
1311 - Update testfind help and remove set_attribsEx debug code.      
1312 - Build testfind as default.
1313 - Turn off debug message in stored/askdir.c
1314
1315 General: from kes21Nov02
1316 - Another change in the database. You MUST either re-initialize
1317   your database or use the appropriate ./alter_xxx_tables in
1318   the src/cats directory.
1319
1320 Changes submitted this submission:
1321 - Additional documentation.
1322 - Added MaxVolFiles to the database (not yet implemented in code).
1323 - Increased the database version from 3 to 4.
1324 - Change VolMaxBytes to MaxVolBytes, which is much more descriptive.
1325 - Compressed unnecessary spaces out of a lot of SQL statements.
1326 - Changed many %d to %u where unsigned integers are used.
1327 - Added the Bacula version and build date to each backup output.
1328   This will help knowing what version of Bacula was used.
1329 - Implemented VolUseDuration MaxVolBytes, MaxVolFiles, and MaxVolJobs
1330   based on maximums set in the Volume (Media) record rather than in the
1331   resource. This means the values can be individually set on a Volume basis.
1332 - Allow commas separating Include options (this was a subtle bug).
1333 - Added maximum string length argments to a number of subroutines to
1334   prevent buffer overflows. Most notably was do_prompt().
1335 - Replaced MANY occurrences of strcpy() with bstrncpy(), which guarantees
1336   both that the length is not exceeded and that the string is properly terminated.
1337   This has a risk of a certain destabilization -- as does the changes to
1338   the SQL noted above.
1339 - In cram-md5 routine use my_name if gethostname() returns an error.
1340 - Increase timeout from 2 minutes to 3 minutes in authorization code.
1341 - Check the full string including \n in authorization.
1342 - Throw away any response longer than MAXSTRING.
1343 - Added a number of additional error checks on subroutine return statuses.
1344 - Replaced as many lld's with edit_uint64 as I could find.
1345 22Nov02:
1346 - Added MaxVolBytes to Pool record - had forgotten it. Updated DB version.
1347 23Nov02
1348 - Update manual to document new Pool/Volume attributes
1349 - Correct make_sqlite_tables (typo, plus missing value in Pool)
1350 - Fix bizarre behavior in gnome-console and console when auth fails.
1351 - Add Pool attribute query
1352 - Add a few more error messages in askdir.c
1353 - More strcpy() conversions to bstrncpy().
1354
1355 General: from kes18Nov02
1356 - Did a number of cleanups of string copying to limit the length
1357   and prevent buffer overflows.
1358
1359 Changes submitted this submission:
1360 - Added a mutex arount the gethostbyname() so that multiple simultaneous
1361   jobs get the correct address.
1362 - Added the MaxVolJobs to the Media alter tables script for MySQL (forgot it).
1363 - Changed arg to db_find_job_start_time to be POOLMEM for returning the string.
1364 - Add the new VolUseDuration and MaxVolJobs to all the db_ routines.
1365 - Use bstrncpy() in most places in the db_ routines to prevent a bad 
1366   database from crashing Bacula (self protection).
1367
1368 General: from kes13Nov02
1369 - You MUST either re-initialize your databases or use the 
1370     ./alter_mysql_tables
1371   or  
1372     ./alter_sqlite_tables
1373   in the <bacula-src>/src/cats directory to modify your database tables.
1374 - Major improvements to dbcheck including an interactive mode.
1375
1376 Changes submitted this submission:
1377 - Implemented VolumeUseDuration and MaximumVolumeJobs which control
1378   when a tape can be marked Used.
1379 - New tape status "Used" means it was used and cannot be used any more.
1380 - Defined utime_t which is 64 bit epoch time in seconds.  btime_t is
1381   64 bit epoch time in microseconds.
1382 - Created alter_xxx_tables to add new columns (VolUseDuration, MaxVolJobs) to
1383   database. Incremented db version.
1384 - Changed a few subroutine names concerning dates to be more descriptive.
1385 - Fixed several places where the last filename was not stored in JCR in
1386   FD verify_vol.c and restore.c
1387 - Major update to dbcheck.  Unfortunately I used subselects, which work
1388   perfectly fine in SQLite, but not at all in MySQL.  I must now rework
1389   it for MySQL. What a pain!
1390 - Removed "Database found" from configure output. It was no longer used or valid.
1391 - Corrected doc --working-dir => --with-working-dir  Thanks to Tuck for 
1392   reporting this.
1393 - Added the database name to the error message for mismatched DB version.
1394 - Commented out GMP and CWEB from configure as they are not currently used.
1395
1396 General: from kes09Nov02
1397 - Converted the manual over to a new format written in wml. This
1398   gives navigation buttons on the top and bottom of each page
1399   as well as a standard page size.
1400 - Updated the main Web site, providing a menu bar to the left
1401   and much better organization and presentation of the information.
1402 - Added code to recognize a Volume written with a larger block
1403   size than specified. The code automatically adjusts. 
1404
1405 Changes submitted this submission:
1406 - Created a new scripts directory and moved most of the scripts
1407   previously in the main directory there. This cleans things up
1408   quite a bit.
1409 - Moved the randpass stuff into autoconf.
1410 - ensure that the generic make_bacula_tables and drop_bacula_tables
1411   are installed.
1412 - Added code to filed to allow it to be run from inetd.  Just add the
1413   -i option.  I have not tested it.
1414
1415 General: from kes30Oct02
1416 - Alex found a problem with GZIP compression -- fixed.
1417 - bacula stript fixes.
1418 - Segment fault in Director fixed.
1419 - Added openbsd to platforms
1420
1421 Changes submitted this submission:
1422 - GZIP compression was broken for large files due to a variable that
1423   is changed during the compression. This was relatively easy to fix.
1424   However, there were a number of fixes required to make GZIP and SPARSE
1425   files work together. Found one more place in bextract where SPARSE_GZIP
1426   testing was missing.
1427 - During testing of the above, I ran into the restore problem of multiple
1428   FileSet records. Fixed by including the FileSetId and the MD5 on the
1429   selection string, then always using the FileSetId. It is a bit
1430   confusing for the user, but ...
1431 - Francis found a problem with bacula.in (fixed - thanks)
1432 - I found another problem with bacula.in, so now it REALLY should work
1433   on most systems.
1434 - Added the Replace options code for restores. Not tested.
1435 - Fixed an ugly stack overrun bug in reading the config file
1436   that has been in for a long time.  I found this in testing on FreeBSD
1437   where the Director seg faulted.
1438
1439 General: from kes29Oct02
1440 - Major change to the bnet communications routines.
1441
1442 Changes submitted this submission:
1443 - Modified the bacula script to use pid files, so this script should
1444   now work on more platforms.  Updated devel_bacula as well.
1445 - Added the full GNU hostname on the configuration print output.
1446 - Added gettimeofday() to configure, and tweaked a few variables for
1447   OpenBSD.
1448 - Added a chapter to the manual on Porting Bacula to other platforms.
1449 - Documented in Tips how to use the WriteBootstrap record.
1450 - Modified bc_types.h to error if 64 bit types are not found.
1451 - Pass replace option for restore to the FD (no code to use it yet).
1452 - Modify the FD to pass back the GNU OS string as well as the DISTNAME
1453   and DISTVER. This needs to be put in the Client record in the catalog.
1454 - Major reworking of the bnet routines to eliminate the zero length which
1455   previously indicated a signal. This risks to create some subtle communications
1456   bugs.  The changes now permit blank lines to be sent from the user to the
1457   Director.
1458 - Found and corrected a few more places where the Win32 attributes were not
1459   being recognized.
1460 - Permit spaces in the Where string (restore) by bashing/unbashing them.
1461 - Handle quotes correctly in the Console program (actually Dir ua code).
1462   Previously they were not handled in the middle of a string.
1463 - Corrected two error message (error reading file), which previously stated
1464   it was a network error.
1465 - Reworked the files in the binary Windows release. Removed unused programs 
1466   and added a README with the copyright as suggested by John. Also added
1467   console.exe to the release.
1468 - Found and corrected an autoloader mount problem where the wrong tape
1469   was specified.  Previously it looped, then gave up.  Now it correctly
1470   detects the volume is not correct and zaps the Slot in the catalog.
1471
1472 General: from kes23Oct02
1473 - I have mainly worked on getting all the details of a Restore
1474   to work correctly (new tape format, support for Win32 
1475   attributes, ...)
1476 - Trademarked name Bacula.
1477 - Implement Bacula tape format 11 (1.0 Immortal). This format
1478   will be maintained forever.
1479 - Accept Any Volume is yes by default. This modifies Bacula's behavior
1480   when writing tapes.
1481
1482 Changes submitted this submission:
1483 - Corrected a bug on FreeBSD where CFLAGS would get a "yes". I was
1484   unable to reproduce this, but a user confirmed the correction.
1485   It was a problem with detection of largefile support, which FreeBSD 
1486   has by default.
1487 - Added a new "license" chapter in the manual. Re-licensed a number of
1488   library routines (bnet.c, hmac.c md5.c, cram-md5, ...) with LGPL so that they
1489   can be used in proprietary software to access Bacula if so desired.
1490 - Move Director's AutoChanger doc to correct location (in Storage      
1491   resource). 
1492 - Document why trademark (to protect compatibility).
1493 - Implement and turned on Bacula tape format 11 (also BB02). This
1494   format moves the VolSessionId and VolSessionTime from each record 
1495   header into the Block header. This is MUCH more efficient when reading
1496   records as now whole blocks can be skipped.   
1497   Also added JobStatus in End Of Session record, and added MD5 for
1498   FileSet, which is necessary to insure uniqueness.
1499 - Implement a new Bacula time format for btime_t. It is Epoch time
1500   in microseconds (i.e. base 1 Jan 1970 in microseconds).
1501   This replaces previous floating point times.
1502 - Added Win32 extended attributes. In doing so, I moved all attribute
1503   handling from src/lib into src/findlib.  Added new streams for 
1504   Win32 attributes and for GZIP Win32 attributes.
1505 - Modified "Accept Any Volume" so that it really permits any volume
1506   in the pool to be mounted.  
1507 - Removed "Mount Anonymous Volumes" from Storage daemon config.
1508 - Implemented sparse files. You must add "sparse=yes" on the include line
1509   for it to be enabled.
1510 - Print "None" in backup summary rather than 0.0% if there is no compression
1511   enabled.
1512 - Improved error checking in daemon connection/authentication code to prevent
1513   garbage data from harming a Bacula daemon.
1514 - All daemon tools MUST have a config file.
1515 - Completely strip drive specification on Win32 if a Where prefix is specified.
1516 - Corrected DB info for writing to files. Now the File Address is stored
1517   in File-Block variables in the catalog.
1518 - All Storage daemon tools now use common code for acquiring/reading
1519   Volumes.
1520 - If a device is unmounted, report it even if the device is not open. This
1521   will help inform users who have BLOCKED Bacula by unmounting a drive.
1522
1523
1524 =============================================================================
1525 2002-10-12 Version 1.26 (10Oct02)
1526 General: from kes10Oct02
1527 - Changed Job name conventions to avoid : which is an illegal
1528   character on Windows.
1529
1530 Changes submitted this submission:
1531 - Added check for inet_pton to configure.in. If it does not
1532   exist (e.g. Windows) use inet_aton
1533 - Documentation on GZIP.
1534 - Another restore doc example.
1535 - Documented btape fill command.
1536 - Set default restore directory from /tmp to /tmp/bacula-restores
1537 - Add additional no find error messages to sql_get.c
1538 - Creating a bootstrap file on Windows failed because the Job name
1539   contained colons which are illegal on Windows. Replaced the
1540   colons with periods.  This corrects the Windows restore problem.
1541 - Print number of files to be restored in "restore" command.
1542 - On Windows systems, if there is a prefix, completely eliminate
1543   any drive: at the beginning of a path.
1544 - Minor corrections to the tree routines to handle Windows
1545   files such as c:/ better. Previously it insisted on /c:/, which
1546   would then not be found in the catalog for a "dir" command.
1547 - Modified cd command in restore to try /c: if c: fails.
1548 - Add a new S_ISWIN32 bit to the st_mode word so that low level
1549   routines that create files do not print error messages.
1550 - More work must be done to restore all Windows files correctly.
1551   Currently the following bits are not handled:
1552     Archive
1553     Hidden
1554     System 
1555   Also, all the dates are not properly restored.
1556
1557 General: from kes09Oct02
1558 - More documentation.
1559 - Implemented new fill command in btape that permits filling
1560   a tape and then reading it back to ensure that it works
1561   with Bacula.
1562
1563 Changes submitted this submission:
1564 - Added ReadBytes to JCR, which contains Job bytes read by
1565   FD, JobBytes contains compressed output of FD.
1566 - Modified FD to pass back JobStatus, ReadBytes, JobBytes, ...
1567   for backup jobs.  This is upward compatible.
1568 - Modified backup termination status report to contain the
1569   compression ratio 100 * (1 - compressed-bytes/uncompressed-bytes)
1570   This will always be zero if no software compression was
1571   done, or if you are using a version 1.25 or older FD.
1572 - Pickup Job termination status of FD in backup, so now
1573   the termination status represents the state of all three
1574   daemons.
1575 - Implemented new fill command in btape that permits filling
1576   a tape and then reading it back to ensure that it works
1577   with Bacula.
1578
1579 General: From kes06Oct02
1580 - Implemented first major cut of bscan -- program to scan a tape
1581   and recreate a Bacula catalog.
1582 - Fixed lseek() relative negative seek that prevented writing multiple
1583   jobs to a File volume.
1584 - Implemented BB02 tape format -- currently turned off for writing.
1585
1586 Changes submitted this submission:
1587 - Updated README
1588 - Implemented new BB02 tape format, which moves the VolSessionId and
1589   VolSessionTime from the record headers into the Block header.  It
1590   is currently turned off.
1591 - Implemented new btime time/date format on the tape. This is currently
1592   turned off.
1593 - Added JobStatus to EOS tape label. This is currently turned off.
1594 - Changed start_block, ... to StartBlock in JCR for uniformity.
1595 - Print a message telling which tables were dropped/made with  
1596   ./drop_bacula_tables.
1597 - Return JobType and JobLevel in db_get_job_record().
1598 - Implemented get_current_btime(), which returns btime_t.
1599 - Bump debug message max size to 2000 bytes.
1600 - Add btime_t serial/unserial routines.
1601 - Rework all tape label routines to integrate btime and other
1602   label format changes (currently turned off -- for writing).
1603 - Fix lseek() to always be positive -- block.c
1604 - Consolidate record, block, and label major #defines in block.h.
1605 - Major implementation of bscan. Some more minor tweaking will be
1606   necessary.  E.g. add multiple records for multiple simultaneous
1607   Jobs.
1608 - Cleanup lseek() to always use off_t as second argument.
1609 - Add new "created" tape label (EOT_LABEL). This generates a callback
1610   to the read_records() routine when the final end of all tapes is
1611   reached allowing proper termination and updating of the media records.
1612
1613 General: From kes25Sep02
1614 - Added means to bind servers to specific address.
1615 - Documentation
1616
1617 Changes submitted this submission:
1618 - Added DirAddress, FDAddress, and SDAddress records to the corresponding
1619   resources that allow the server to bind to a specific address 
1620   rather than any address.  This security improvement was suggested by
1621   a user -- thank you.
1622 - Eliminated deprecated "Address" record from all sample Storage resources.
1623 - Made quite a lot of improvements to the bscan program. Much more
1624   to do. Aside from details, it is able to recreate a database
1625   from which you can do a restore.
1626 - The s option is not accepted on all versions of ar, so replaced it
1627   by an explicit ranlib call.
1628 - Fixed a bug that caused the Director to crash if you rudely bring
1629   down the console program in the middle of an SQL command.
1630 - Fixed a bug (missing break) that caused scheduled Admin jobs to
1631   be listed as "Unknown type".
1632 - Removed old code from Storage daemon that used a separate FD port.
1633
1634 General:  From kes14Sep02
1635 - Better key generation on non OpenSSL systems.
1636 - 64 bit file address support if available.
1637 - Implement autochanger for reading
1638 - Lots of cleanup of tape reading code.
1639 - Automatically create all Pool resources when Bacula starts.
1640 - Implement bscan.c
1641 - Implement autochanger use via the Console commands "add" and "label"
1642 - Begin implementation of a regression script 
1643 - Write bootstrap after ever job
1644
1645 Changes submitted this submission:
1646 - After noticing that the non OpenSSL random key generator was
1647   not good on Solaris, John wrote a very nice randpass generator.
1648 - Integrated John's makeSessionKey for generating the FD->SD
1649   authorization.
1650 - Statically link tools (doesn't work on Solaris).
1651 - Document how to debug Bacula (new chapter in the manual)
1652 - Remove unneeded printing of error message in sql_get.c
1653 - Free SD description config record (previous oversight)
1654 - Bash spaces when sending Director names, and unbash them when 
1655   received.
1656 - Ensure no divide by zero in rate computation in backup.c
1657 - Implement WriteBootstrap in backup.c
1658 - Allow tape reading to request volume information for any
1659   volume.
1660 - Create all Pool resources at startup.
1661 - Show only Backup jobs in Restore listing of last 20 Jobs.
1662 - Handle 64 bit stat packets in restore.
1663 - Don't do shell expansion on store_dir in config if string 
1664   starts with |.  This is used for piping the program for the
1665   WriteBootstrap.
1666 - Ignore SIGHUP -- DéjàGnu was triggering this. 
1667 - Implement autochanger for reading, many changes to 
1668   acquire_device_for_read()
1669 - Implement callback for reading Volume. Implement in bextract,
1670   bls, and bscan.
1671 - Implement bscan
1672 - Add count to bsr.
1673 - Fix Volume in bsr.
1674 - Move autochanger code to new subroutine in mount.c
1675
1676 =============================================================================
1677 2002-09-05 Version 1.25a (05Sep02) Released
1678 - Fix unitialized stack variable in bextract so it
1679   will always read the currently mounted tape.
1680
1681 =============================================================================
1682 2002-09-04 Version 1.25 (01Sep02) Released
1683   General:
1684 - Added .cvsignore files in each directory to cut down on the
1685   CVS output when scanning directories and finding Makefiles
1686   and such which are not part of the CVS tree.
1687
1688   Changes submitted this submission:
1689 - Cleaned up a lot of the error messages in Verify, including
1690   indenting.
1691 - Had to remove some of the "automatic" error message printing
1692   in the DB because they are in fact things that come up 
1693   for Verify but not really errors.
1694
1695
1696   2002-08-30 Version 1.25 (30Aug02) Beta
1697   From kes30Aug02
1698 - Fixed a bug where only the first file was restored if
1699   it is hard linked. The other links were lost.
1700 - In some cases of restoring to alternate directories, softlinks
1701   were not properly restored.
1702
1703   From kes28Aug02
1704   General:
1705 - Bacula backups now run up to 12 times faster than version 1.24
1706 - Bacula can run multiple simultaneous Jobs.
1707 - Had to turn off TRANSACTIONS in SQLite because it doesn't work
1708   with multiple simultaneous jobs (I'm working on this).
1709 - Added a better Job printout for Restore Jobs.
1710 - Added a save/restore Rate to backup and restore jobs. This
1711   does not yet subtract out operator wait time so it will be
1712   underestimated it the Job waits on the tape (mount/label).
1713 - Fixed a major bug caused by free()ing a buffer twice in
1714   the Restore code. This made the SD more or less useless after
1715   any restore Job. Arrggg!
1716 - DIR - SD protocol changed, both must be updated at the same time.
1717 - DIR - FD protocol changed in upward compatible way. Upgrade of   
1718   FD not required, but recommended.
1719
1720   Changes submitted this submission:
1721 - Added bell to "make" when errors are detected.
1722 - Changed default compile option from -g to -g -O2
1723 - Additional documentation as usual -- much based on questions or
1724   feedback from users. Thanks.
1725 - Fixed example config files to use new syntax and to have a 
1726   Restore Job.
1727 - Define ETIME to ETIMEOUT for Irix
1728 - Added JCR filed to DB structure permitting direct printing error
1729   messages from within the Database subroutines.
1730   Some error messages may be printed twice as a consequence.
1731   When I see them or someone reports them, I will remove the double.
1732 - Added JCR to the bsock structure. This allows direct printing
1733   of network errors from within the network code.
1734 - Made most "trivial" debug messages have level 100 or greater. This
1735   allows for easier debugging of new code using the range below 100.
1736 - Began replacing all Emsg() with Jmsg() using a NULL as the JCR in    
1737   Jmsg() is the same as Emsg().
1738 - Fixed several crashes in the Director because of malformed config files.
1739 - Added SpoolAttributes to Job resource.
1740 - Pass CatalogFiles to SD. If set to no, the attributes are dropped 
1741   within the SD rather than being sent to the DIR.
1742 - Cleaned up a number of information/error messages in user interface.
1743   This includes eliminating the "pretty please" response in favor of
1744   "yes/no" to delete volumes and pools.
1745 - Cleaned up quite a number of uninitialized variables reported when going
1746   to -O2, most were harmless, but a couple could cause problems.
1747 - The cd command in restore was not working correctly (it didn't allow some
1748   legal cds).
1749 - Fixed a segmentation violation in the directory tree handling code in 
1750   the restore command.
1751 - Handle a few error conditions in the restore command better.
1752 - Permit "Where" to be set to nul in modification of a run command.
1753 - Clarified the error message for Verify if an InitCatalog has not previously
1754   been done -- thanks Chuck.
1755 - Add MaximumConcurrentJobs to FD.
1756 - Added code to mem_pool to die if a buffer is released twice.
1757 - Lots of work done on SD for multiple simultaneous jobs. Split device.c
1758   into device.c, mount.c and acquire.c
1759 - Started writing new lock code for SD, but may back it out -- needs more
1760   thought. Current code works, but is too complicated. Maybe can simplify it.
1761 - Cleaned up the SD tools code quite a bit. Added bootstrap to all tools.
1762 - Ensure that tape session labels are not split across two blocks. This makes
1763   reading them back much easier.
1764 - Fixed another restore bug concerning tape labels on multi-volume saves.
1765
1766 =============================================================================
1767 2002-08-14 Version 1.24
1768   From kes12Aug02
1769 - Made a new tools directory.
1770 - Moved smtp into the tools directory.
1771 - Created a dbcheck program in the tools directory that
1772   checks for certain database errors and if requested fixes them.
1773 - Put the database link flags on DB_LIBS so that it now only is
1774   on binaries that actually need it.
1775 - Document dbcheck and testfind programs.
1776 - Move testfind to tools directory.
1777 - Check for FileSet after getting Client name in Restore command.
1778   Modify all necessary SQL commands to accept FileSetId.
1779 - Add a db_get_fileset_record in cats directory.
1780 - Correct list last 20 files concatenation to be MySQL 
1781   dependent. They aren't SQL standard. Use SQL standard || for
1782   other SQL programs.
1783 - Modify dir command in file selection to produce a long form
1784   listing of the file/directory name.
1785 - Add platforms/irix/*.in files to CVS
1786 - Make Console command scanner accept quoted value fields.
1787 - If after selecting Client to restore, there are multiple
1788   FileSets, ask user to select one.
1789 - After obtaining JobIds for restore, ensure that there is only
1790   one MediaType, and select a Storage resource to be used.
1791
1792   From kes11Aug02
1793 - Made restore actually work.
1794 - Made console and gconsole be configured (requested by Chuck)
1795 - Updated kernstodo
1796 - changed fs in Job record to fileset for clarity
1797 - The console run command was not properly picking up the command
1798   line arguments.  Fixed!
1799 - Changed add/remove/rm to mark/unmark
1800 - Volume keyword VolumeName was wrong, changed to Volume (in restore bsr).
1801 - Pass jcr to parse_bsr, and if non-NULL, it will output error messages
1802   to Job stream rather than Emsg.
1803 - Modified lexical scanner to include caller context so that jcr can
1804   be stored in lex context allowing error messages to be properly 
1805   routed.
1806 - Renamed the Job message chain to be jcr_msgs. This eliminated the      
1807   previous confusion with the default value, now named jcr->messages.
1808 - Implemented multi-volume bsr records.    
1809 - Implemented pm_strcat() and pm_strcpy() to cat/add to memory pool
1810   buffers in same way as strcat/strcpy, but expanding buffer.
1811 - Modified db_get_volume_names to handle arbitrarily long Volume list.
1812
1813   From kes07Aug02
1814 - If the Console program terminated during the printing of messages,
1815   the message file was left locked. This was corrected by using the
1816   new read-write lock code.  
1817 - Implemented Pw() and Vw() for obtaining and releasing a write lock
1818   using the rwl_xxx routines.
1819 - Deleted some old pthread_mutex code from mysql.c
1820 - In making the Irix port, I previously corrected the base64 routine so 
1821   they were not sensitive to the machine definition of char. This made
1822   them incompatible with previous versions invalidating MD5 signatures
1823   which are in base64 format. I have now corrected this, making the
1824   routines compatible with the previous version but also insensitive
1825   to the default definition of char.
1826 - Removed some unnecessary NPRT() usage in signal.c (pointed out by
1827   the Irix compiler).
1828 - Add back BNET_NONO for compatibility with older File daemons.
1829 - Implement runing a restore Job in the restore command.
1830 - Make installation of query.sql unconditional. To prevent you own file
1831   from being overwritten, give it a different name.
1832 - Made parse_command_args() in ua take command from ua->cmd, this
1833   simplifies it and allows usage in other places -- e.g. building
1834   arguments for created run command in restore.
1835 - Cleaned the naming of s_full_ctx to be s_jobids.
1836 - Write the bsr created in restore to "working-directory"/restore.bsr
1837 - Fix bugs in command line scanner in run command -- also some misplaced
1838   breaks!
1839 - Eliminate static cmd in ua_server.c
1840 - Eliminate segmentation fault when using the Run command in the
1841   Console -- forgot to init_msgs().
1842
1843   From kes06Aug02
1844 - Did a good amount of documentation.
1845 - Added sql_cmds.c to CVS, forgot, pointed out by Chuck.
1846 - Added new platforms/irix directory to CVS
1847 - Turn off transaction debug code in sql.c
1848 - Reworked the scheduler so that it handles the same Job starting
1849   twice in the same hour. Previously it took one or the other.
1850 - Tightened up the "slop" in the timings that I programmed to ensure
1851   that the same job isn't run twice or that no job was missed.
1852 - Increase the sleep time.
1853 - Used job_type_to_str() in status so that Admin jobs are correctly reported.
1854 - Add internationalization message chars to a number of routines
1855   in util.c
1856 - Make the watchdog timer clear the mutex when it exits.
1857 - Some tweaks to the Restore command. It needs fixing when a Job spans
1858   two or more volumes.
1859
1860   From kes05Aug02
1861 - Initial cut at adding Irix File daemon support.
1862 - Lots of work on the restore command.
1863 - Take a stab at eliminating the "broken pipe message"
1864   when the console program prematurely terminates.
1865 - Reimplemented transactions for SQLite by keeping
1866   them all in the same thread.
1867 - quit in the Console program now waits for Bacula to
1868   quit. To immediately quit, you must enter .quit
1869 - Eliminated BNET_EOF -- this COULD have some negative consequences
1870   on interdaemon communications.
1871 - Define Job termination status for Admin jobs.
1872 - Write new bstrncpy() function that guarantees that strcpy is
1873   properly terminated.
1874 - Fixed command input in ua_input.c to accept quoted items as a
1875   single field. 
1876
1877   From kes01Aug02
1878 - The changes that added indexes to the SQLite database were
1879   lost -- thanks to Chuck for pointing this out. Redone.
1880 - Fixed a problem quoting strings in SQLite. This showed up
1881   as database errors with files containing ' or " in the filename.
1882 - Implemente restore command -- still in progress.
1883 - Added indexes to all fields in SQLite that exist in MySQL.
1884 - Moved unused immortal files from src/lib to src/immortal.
1885   This will permit splitting depkgs.
1886 - Started work on adding embedded MySQL. Cannot get the tables
1887   to work for the moment. Please don't try to use this option.
1888 - Convert to using single quotes for enclosing all strings.
1889 - Implement correct quoting algorithm for SQLite strings.
1890   Is dequoting needed?
1891 - Started centralizing SQL statments in the Director in sql_cmds.c
1892 - Changed a number of M_ABORTs to M_ERROR_TERM so that program terminates
1893   but does not produce a dump.
1894 - Allow wild-card matches in bsr for Client name, and Job.
1895 - Change OflineOnUnmount=no as default.
1896 - Fixed improper printing of filenames containing a space in bls.c
1897   Thanks to Carlos for reporting this.
1898
1899 ===========================================================================
1900 2002-07-26 Release 1.23a
1901 - Fix segmentation fault is FD status.
1902 - Turn off TRANSACTIONs for SQLite.                        
1903
1904 ===========================================================================
1905 2002-07-23 Release 1.23
1906   From kes22Jul02
1907 - Updated Bacula to handle some minor differences in MySQL 4.0.2
1908   (still works with older MySQLs).
1909 - Updated MySQL documentation to correct some minor errors.
1910 - Added kernstodo to CVS
1911 - Fixed create_mysql_database, which I recently accidently broke.
1912 - Disallow zero length volume names in Console program.
1913 - Create alter_mysql_tables and alter_sqlite_tables for conversion
1914   from 1.22 table format to 1.23 table format.
1915
1916   From kes20Jul02
1917 - Investigation of SQLite performace problems reported by Chuck.
1918 - Updated ChangeLog
1919 - Updated README
1920 - made root@localhost the default email address because many smtp
1921   servers reject root but accept root@localhost
1922 - Added an autochangers chapter to the manual.
1923 - Documented most of the new features in 1.23
1924 - Modified the SQLite interface code to start a transaction at the
1925   beginning of a job and commit it at the end of the job. It
1926   also commits it after 10000 changes. Hopefully this will
1927   improve performance.
1928 - Set the default cache pages from 2000 to 10000 for SQLite (i.e.
1929   about 15Megs of memory) hoping to improve performance.
1930 - Terminate last filename referenced in FD prior to copy to
1931   avoid race problem with multiple threads and no locking.
1932 - Enhanced the status output to include the JobType                
1933 - Print an error message if the email program terminates in error.
1934 - If your machine has an MTUNLOCK, do it before doing an OFFLINE to
1935   ensure that the door is unlocked.
1936 - Added code to stored/append.c to spool attributes. This is in
1937   a testing stage and must be explicitly enabled.
1938 - Added a no_attributes variable to stored/append.c that prevents
1939   the attributes from being sent to the Director. As yet, no way
1940   to turn it on.
1941 - Modified SQLite code so that after 10000 updates any transaction
1942   is committed, then restarted. This keeps it from using too much
1943   memory.
1944 - Set the default cache size to 10000 pages (previously 2000).
1945 - Fixed a segmentation fault on Sun due to no default value for
1946   the JobStatus.
1947 - Added the same indexes to SQLite that I exist in MySQL. This
1948   VASTLY reduces CPU usage for lots of inserts.
1949 - Added spooling to bnet_send().
1950
1951   From kes18Jul02
1952 - The following two changes were prompted by questions/suggestions
1953   from A Morgan.
1954 - If you have "AlwaysOpen = no" in your SD Device
1955   resource, Bacula will free() the drive when it
1956   is finished with the Job.
1957 - If you have "Offline On Unmount = yes", in your
1958   SD Device resource, Bacula will offline (or eject)
1959   the tape prior to freeing it.
1960 - Added Maximum Open Wait to allow open() to wait if drive is busy.
1961 - Added RunBeforeJob and RunAfterJob records to Job records.
1962   This permits running an external program with the following editing
1963   codes:
1964     %% = %
1965     %c = Client's name
1966     %d = Director's name
1967     %i = JobId
1968     %e = Job Exit
1969     %j = Job
1970     %l = Job Level
1971     %n = Job name
1972     %t = Job type
1973
1974   From kes17Jul02
1975 - Added autochanger support to devices.c
1976 - Allow user to change Slot in the Volume record.
1977 - Implemented code in lib to run an external program
1978   (tape changer)
1979 - Implemented a changer script for mtx.
1980 - Currently the changer commands used are:  
1981     loaded -- returns number of slot loaded or 0
1982     load   -- loads a specified slot
1983     unload -- unloads the device (returns casette to slot)
1984 - Other changer commands defined but not yet used:
1985     list   -- returns list of slots containing a cassette
1986     slots  -- returns total number of slots 
1987 - Implemented ChangerCommand, specified in the SD Device
1988   resource, permits editing of:
1989       %% = %
1990       %a = archive device name
1991       %c = changer device name
1992       %f = Client's name
1993       %j = Job name
1994       %o = command
1995       %s = Slot base 0
1996       %S = Slot base 1
1997       %v = Volume name
1998 - Implemented MaximumChangerWait default 120 seconds. It is 
1999   specified in the SD Device resource.
2000
2001   From kes15Jul02
2002 - Moved techlogs from main directory to be subdirectory of doc
2003 - Added code for strerror_r, and detection of gethostbyname_r().
2004 - The protocol between the Director and the SD has changed.
2005 - Major rework of SD tape mounting to prepare for Changer commands.
2006 - Separated Update Media record and Create JobMedia record. These
2007   are done from the SD by calling the Director. Need separate Create
2008   JobMedia so that when a Job spans a volume, all other Jobs writing
2009   the same volume will also have JobMedia records created.
2010 - Added message to user indicating selection aborted if he enters .
2011   to a Console selection request.
2012 - Create a jobstatus_to_ascii() routine for use in status commands.
2013   This makes a single routine from three separate pieces of code.
2014   Updated the code to properly handle more (all) termination statuses.
2015 - Tried to fix the gnome-console to handle history a bit better. There
2016   are still some problems with focus not being properly set to the edit
2017   box after history replacement.
2018 - Removed the shutdown() from bnet_close() hoping to fix Console termination
2019   errors that are occassionally seen -- no luck.
2020 - Moved add_str() to lib/util and renamed it add_str_to_pool_mem() so that
2021   it can be used to edit Job termination codes and Changer command codes.
2022 - Reworked how the SD mounts tapes (in device.c) so that control passes through
2023   only a single routine. The logic is much simpler than previously, and now
2024   adding AutoChanger code is straight forward.
2025 - Made SD tape mounting much more fault tolerant -- more cases retry instead
2026   of terminating the Job.
2027 - Wrote code to edit_device_codes() for Changer commands. Not yet fully     
2028   implemented.
2029 - Added a ChangerDevice directive to the Device resource. Still need to add
2030   ChangerCommand.
2031
2032   From kes07Jul02
2033 - This documents what I did while on vacation. 
2034 - A fair amount of documentation.
2035 - Implemented Verify Volume to Catalog (needs renaming)
2036 - Modified the database to include new MarkId field as
2037   well as Counters. Database level is incremented from 1 to  2.
2038 - Added first cut of managing autochangers by implementing Slot in DB.
2039 - Fixed a good number of M_ERROR messages to be M_FATAL where appropriate.
2040   Also converted a number of Emsg() to Jmsg() permitting better Job error
2041   messages.
2042 - First cut at implementing a general packet passing mechanism for bsock
2043   to replace printf and sscanf for passing data.     
2044 - Made make_xxx_tables and drop_xxx_tables and create_xxx_database
2045   for bdb as well as sqlite. With this each database has the
2046   same set of scripts (with the exception that MySQL has grant_privileges).
2047 - Modified Makefile to only install the database scripts for the
2048   database that you are using.
2049 - Updated the pdf script to include all the html files.
2050 - Did quite a lot of documentation.
2051 - Made Bacula compile correctly with DEBUG turned off.
2052 - Implemented Pmsg() macros that permit using the debug print
2053   routines even with DEBUG off.
2054 - Updated job_cancelled() macro to handle JS_FatalError.
2055 - Changed db_find_last_full_verify() to db_find_last_jobid(). This
2056   permits working with Verify Volume to Catalog.
2057 - Removed TRANSACTION code from incrementing NextId for SQLite. 
2058 - Implemented quick and dirty (not fully functional code) so that
2059   console program does not die if ctl-Z is entered. 
2060 - Cleaned up backup.c a bit adding a bail_out goto to ensure proper
2061   handling of errors with minimum code.
2062 - Added passing Slot back and forth to Storage daemon with Volume info.
2063 - Implemented Slot in Media record in DB.
2064 - Implemented first cut of Counter resource in dird_conf.c. A counter
2065   resource is part of the Pool resource.
2066 - Implemented necessary database record. However, the resource doesn't
2067   yet create a DB record.
2068 - Implemented onefs (One File System) and recurse options on Include
2069   resource.
2070 - Implemented autopruning of Verify and Restore Jobs.
2071 - Did a better job of calculating thread_concurrency() for Sun systems.
2072   This permits better multi-threading allowing all the threads to run
2073   at the same time.
2074 - Implemented a wait_for_storage_daemon_termination(), which is used by
2075   backup and verify volume.
2076 - Clarified a number of UA prompts, and add feedback where certain commands
2077   completed but printed nothing. (More work to be done here).
2078 - Added a pile of new code to implement Verify Volume to Catalog. It is sort
2079   of a hybrid of "restore" and "verify" in that it actually reads the tape,
2080   then compares it to the catalog.  Need Verify Volume to Client.
2081 - Added a good number of checks for job_cancelled() this should permit
2082   quicker and more reliable cancelling of jobs.
2083 - Fixed one bug in restore where I used ofile instead of lname, which means
2084   that if the lname was too long, the memory was not properly reallocated.
2085 - Cleaned up find_one.c in findlib quite a bit.
2086 - Link smtp static so that it works even if the libraries are messed up.
2087 - If mail host is not found, retry with local host in smtp.
2088 - Added slot and stream to the bootstrap record processing.
2089 - Do offline on tape cartrige for unmount command. This can be turned off
2090   by the user in the config file. OffLineOnUnmount in Device resource.
2091 - Implemented AutoChanger = yes/no in Device resource.
2092
2093 ===========================================================================
2094 2002-07-07 Release 1.22
2095 - All the basic Restore code to handle the boostrap file is
2096   now implemented with the exception of the Console Restore command.
2097 - Retained compatibility with previous Restore providing no 
2098   bootstrap file is specified. However, the old code (JobId based)
2099   will go away in a future release.
2100 - Fixed a number of segmentation faults in the Console program due
2101   to printing of NULL pointers -- thanks to Chuck and his Sun for
2102   finding and reporting them -- mostly in ua_output.c.
2103
2104   From kes25Jun02
2105 - Null pointers now are printed as *None* if NPRT() is used.
2106 - At the request of Phil, all resources are now chained in in the
2107   order they appear in the config file.
2108 - Implement Bootstrap record in the Director's config file, which
2109   allows you to specify a predefined bootstrap file for Restore Jobs.
2110 - Allow Bootstrap on the Restore record. This is deprecated.
2111 - Implemented code to pass the Bootstrap file, if defined, to the
2112   File daemon, then from the File daemon to the Storage daemon.
2113 - Added ability to set Bootstrap file in the Console when running a Restore.
2114 - Allow scan_error() routine to be passed to lex_open_file(). This permits
2115   using lex in the Storage daemon without worrying that it will ABORT on
2116   a syntax error.  More work is needed to direct the error messages correctly.
2117 - Improved error messages a bit when config syntax errors are found.
2118 - Tested and corrected some errors in match_bsr.c
2119 - Removed askdir.c from bls and bextract by defining dummy entry points.
2120 - bextract now has bootstrap pretty well integrated.
2121 - Changed bextract ABORTs into FATAL and exit(1) or ERROR_TERMINATE.
2122   More user friendly.
2123 - Eliminated at least one lld and replaced it by edit_uint64() 
2124 - Eliminated a few more _PROTO()s.
2125 - Corrected a problem with the SQL for in query.sql for 
2126   Listing Volumes to Restore All Files
2127
2128   From kes22Jun02
2129 - Additional documentation.
2130 - Reduce the time the jcr mutex is locked in lib/jcr.c
2131 - More null pointer printing fixes in lib/parse_conf.c (debug output only).
2132 - Added daemon filename to Kaboom message so I know what daemon died.
2133 - Fix big bad bug introduced in watchdog.c last update that caused
2134   a segmentation violation (forgot to check for NULL pointer).
2135 - Add a bit more info to bad returns from Stored when starting
2136   a job fails.
2137
2138   From kes21Jun02
2139 - Fixed scan_to_eol
2140 - Fixed backup scanning forgot one T_STRING -> T_UNQUOTED_STRING
2141 - changed all rwlock_t to brwlock_t to avoid conflicts with
2142   Solaris library.
2143 - Added NPRT() macro to allow printing of NULL pointers, which
2144   segment fault on Solaris.
2145 - Cast printing of pid_t to int for Solaris compiler.
2146
2147   From kes20Jun02
2148 - Added expect argment to lex_get_token().
2149 - Added tree.c and tree.h to lib directory.
2150
2151   From kes19Jun02
2152 - Improvements to the bootstrap compiler
2153 - Implemented first cut of bootstrap code in the Storage daemon
2154 - Modified the authentication code to be more explicit during 
2155   failures.
2156 - Added a few more debug message numbers with more arguments (Dmsg10, ...)
2157 - Added more and more precise error messages when authentication fails.
2158 - Implemented new "expect" codes in the lexical scanner that allows
2159   the caller to specify what he wants.                   
2160 - Added integer, positive integer, 64 bit integer, and integer ranges,
2161   and name scanning to lex.
2162 - Implemented new lex code in parse_conf.c, this reduces significantly
2163   the code.
2164 - Hopefully fixed a watchdog race bug that caused the watchdog to time
2165   out a line after 1 hour rather than 6 days.
2166
2167   From kes15Jun02
2168 - Implemented a Bootstrap file parser and matcher.
2169 - Implemented first cut of bootstrap code in bextract  
2170 - Started clarifying different termination codes.
2171 - Added M_ERROR_TERM to immediately terminate the daemon -- no dump.
2172   Also changed a few termination codes as appropriate.
2173 - Fixed create_jobmedia_record() to include all the fields such as
2174   StartFile/EndFile, StartBlock/EndBlock.
2175 - Print user friendly message when query mode ends.
2176 - Fixed ls style print routines (bextract, bls, restore) to check
2177   buffer size, to print the link if any, and to used edit_uint64()
2178   instead of %lld.
2179 - Moved scan_to_eol() and s_err() to lex.c to avoid dragging in 
2180   parse_conf.c for new bsr scanning code.
2181 - New files: bsr.h, parse_bsr.c and match_bsr.c. parse_bsr.c parses
2182   a Bootstrap file, and match_bsr.c matches a bsr against a tape.
2183 - use strcasecmp() in several places instead of lcase().
2184 - Add first cut of bootstrap to bextract.
2185 - Added File Size limit -- writes EOF after limit exeeded.
2186
2187 ===========================================================================
2188 2002-06-12 Release 1.21
2189 - Fixed several problems with filenames being truncated if
2190   they contain spaces. Thanks to the user that reported this.
2191 - N.B. To get the new queries, after the "make" and 
2192   "make install" you must explicitly replace the
2193   existing query.sql by query.sql.new.  query.sql is a
2194   user configuration file, so it is not overwritten.
2195 - Added GZIP compression of Included files.  
2196 - Added additional fields to tape SOS record permitting better
2197   recovery with no database.
2198 - Be sure to remove any !terminate statements you may have
2199   in your config files.
2200 - MUST UPDATE ALL DAEMONS due to protocol change to handle new
2201   tape format.
2202
2203   From kes11Jun02:
2204 - Updated examples directory with my most recent config files.
2205 - Modified the M_TERM meaning to mean that Bacula has
2206   terminated in error without producing a dump. Previously,
2207   it meant that Bacula terminate (with or without error).
2208   You should remove any !terminate from your messages
2209   resources.
2210 - Changed the order of the libraries in the link so that
2211   tcp wrappers link properly. Thanks Phil for reporting this.
2212 - A user reported that filenames containing spaces were truncated
2213   in bextract. This was indeed the case. They were also truncated
2214   in Restore as well as in Verify. They are, hopefully, all fixed
2215   now.
2216 - Made a few error conditions in Verify non-fatal.
2217 - Modified the Console "query" command to permit multiple SQL
2218   statements per command. 
2219 - Implemented three new "query" options: 
2220     List last 10 Full Backups for a Client
2221     List Volumes used by selected JobId
2222     List Volumes to Restore All Files
2223   To use them, simply type "query" to the Console program, and
2224   select the one you want.
2225 - Modified bextract to default to extracting all files (i.e. /).
2226 - Cleaned up the code in bextract a bit.
2227
2228   From kes03Jun02:
2229 - Improve Verify command to include files examined.
2230 - Eliminate fcntl() locking of the console file and replaced
2231   it with a pthreads mutex.
2232 - Note Director - SD protocol is changed to handle new tape
2233   information (Fileset, JobType, JobLevel).
2234 - Create config.out that contains a summary of ./configure
2235   to see what you previously configured: "cat config.out"
2236 - Implemented GZIP compression.  Added addition syntax to
2237   Include { } resource to permit setting of any GZIP compression
2238   level:
2239      compression=GZIP
2240      compression=GZIP1
2241      ...
2242      compression=GZIP9
2243
2244   Level 1 is minimum compression and level 9 is maximum. Using just
2245   GZIP gives the default (level 6).
2246 - Enhanced the tape format to include the unique Job name, FileSetName,
2247   JobType, and JobLevel in the Start/End of Session records. The code
2248   detects that tape level difference and acts accordingly. You can 
2249   add data in the new format to old tapes.
2250 - Fixed an incorrect display message in the prune command.
2251 - Began implementation of Verify Volume and Verify Data.
2252 - Cleaned up File daemon restore.c a bit ensuring that termination 
2253   cleanup is done and all possible Emsgs are converted to Jmsgs.
2254 - Modify bls.c to use common setup routines. This reduced the big
2255   code duplication that creeped in when I added different listing
2256   options. Also, changing tapes is now handled uniformily in a subroutine.
2257
2258 ===========================================================================
2259 2002-05-27 Release 1.20
2260 - Started documenting Catalog Pruning and Recycling.
2261   Added catmaintenance.html and recycling.html
2262 - Fixed the query command bug.
2263 - Implemented PID files to prevent two copies of Bacula
2264   from running at the same time. Be sure you --with-pid-dir
2265   points to a working directory.
2266 - Modified ASSERT() to cause a segmentation violation. This
2267   permits a core dump.
2268 - Worked on gnome-console. It paints better, it tells you if it
2269   is ready to accept a command or processing one, and it is
2270   almost entirely GTK+ (rather than GNOME, I'm removing GNOME
2271   a bit at a time).
2272 - Limit to 100 the number of tape labeling errors in a single Job.
2273 - Add some additional ASSERT()s to the database routines. I don't
2274   like ASSERTs but they do catch bugs.
2275 - Tested and debugged recycling of Volumes.  Needed to change
2276   the Director-SD protocol slightly.
2277 - Removed the experimental SIGHUP in the Director as it is a
2278   potential source of errors.
2279 - Added Level, Pool, Messages, and Storage keyword/value scanning
2280   to the Schedule Run record.
2281 - Improved printing of Schedule resources with "show schedules"
2282 - Do not autoprune Jobs/Files if the Job errs.
2283 - Updated newvol() to pass back the updated Media record.   
2284 - Fixed the "update pool" command, which was broken during a much
2285   earlier code reorganization.
2286 - Improved a few of the pruning messages.
2287 - Removed readline inclusions from gnome-console (hang over from console).
2288 - Make Jmsg use daemon message handler if no message handler is defined.
2289   This is always the case in the SD and FD.
2290 - Started removing __PROTO(). With C++ prototypes are manditory, so why
2291   keep around legacy code.
2292 - Added a good deal of message internationalization -- more to be done.
2293 - Move cached Path into mdb structure and use POOLMEM.
2294 - Fix verify bug introduced last update causing incorrect diffs 
2295   by turning off autopruning.
2296 - Started adding code to distinguish Errors from Fatal Errors.
2297 - Errors are now counted in message.c for a Job.
2298 - More POOLMEM cleanups.
2299 - Implemented Automatic pruning.
2300 - Implemented Automatic recycling of Volumes.
2301 - Added PruneJobs/Files/Volumes=yes or no to Job resource. If set,
2302   it forces the specified pruning.
2303 - Modified rwlock to accept multiple nested write lock
2304   requests.
2305 - Modified the cats directory to use the new rwlock mechanism
2306   in place of P() and V(). 
2307 - Defined db_lock(mdb) and db_unlock(mdb). They are in effect
2308   transaction locks. 
2309 - Add CVS Id's to most files.
2310 - Made first cut at AutoPrune
2311 - Added new autoprune file that is called at the end of
2312   each Job. It then decides when and what to prune and
2313   calls the UA prune routines.
2314 - Modified Run (in Schedule resource) to permit overrides of
2315   Level, Pool, Storage, and Messages. (not tested).
2316 - Added more POOLMEM in place of char.
2317 - Implemented daemon pid files. This prevents multiple 
2318   daemons from running simultaneously. You can run multiple
2319   daemons if they listen on different ports.
2320 - Documented the Schedule resource a bit better.
2321 - Began gently adding a POOLMEM type (perviously void).
2322   For the moment it is a #define to char, but long term
2323   it should be its own typedef.
2324 - Corrected a bit of spacing on the status bar of gnome-console
2325 - Added Admin and Archive Job types.
2326 - Implemented multiple Messages resources. Each daemon has
2327   its own message resource, which defaults if not defined.
2328   Jobs may now have different message handlers.
2329 - Cleaned up a bit of duplicate code in backup, verify, and
2330   restore by creating appropriate subroutines in job.c
2331 - Added Type, Client, FileSet, and Level resource record
2332   definitions to the Director. These can be used in place
2333   of the Backup = ..., Verify = ..., ... commands.  This needs
2334   documenting.
2335 - Corrected an incorrect message in the prune code and added
2336   the number of Files pruned in the message.
2337 - Corrected several paint problems with gnome-console.
2338 - Added a bit of printout in signal handler during traceback.
2339 - Cleaned up most of sm_check() to be turned on/off by define
2340   in version.h
2341
2342 ===========================================================================
2343 2002-05-10 Release 1.19
2344 - Allow the user to select a new period for pruning.
2345 - Lots of additions to the manual -- prune and purge
2346   commands documented.
2347 - Applied Phil's configure.in fix for --prefix, ...
2348 - Fixed bug found by Phil (patch supplied) in updating
2349   MD5 signatures (revert to 32 bit FileId, move "static"
2350   variables into JCR) (catreq.c fd-cmds.c).
2351 - Reverted to using INTEGER for FileId in make_sql_tables
2352   due to a bug in MySQL.
2353 - Change editing code to %d for FileId.
2354 - Remove sqlite in make distclean in cats directory.
2355 - Remove console.conf in console during make distclean.
2356 - Remove gnome-console.conf during make distclean.
2357 - Remove bacula-dir.conf during make distclean.
2358 - Set default level when using Console if none specified.
2359   Bug reported by Phil.
2360 - A simple . command from Console is ignored.   
2361 - Change program named from filed to bacual-fd in winmain.cpp
2362 - Change default config file for Win32 in winmain.cpp
2363 - Free namebuf on early return from find_one.c. Bug reported by Phil.
2364 - Modify testfind.c to dump orphaned buffers.
2365 - Removed terabytes from parse_conf.c because of problems with
2366   older gcc compilers.
2367 - Turn off gnome options in gnome-console by constructing empty argv.
2368 - Fixes to Verify when only MD5 differs.
2369 - Insert 0 for MD5 as default rather than space.
2370 - Allow .messages "transparent" command while reading input
2371   in UserAgent server.
2372 - In dird/verify.c ensure that correct filename is printed if only
2373   the MD5 differs. Minor reindenting caused large diff.
2374 - Delete unused code from backup.c
2375 - In filed/verify.c ensure that same algorithm as backup.c is used
2376   to pass back MD5 signatures -- especially for directories and files
2377   that cannot be read. Change dummy filename from X to *MD5-id*.
2378   This dummy value should never be printed.
2379 - Make gnome-console poll Director every 5 seconds for output.
2380   This means that queued up messages are displayed at reasonable
2381   intervals. Delete some unused code hanging around from the tty
2382   console program.
2383 - Begin implementation of prune commands.
2384 - Add command line history to gnome-console. Not yet saved across sessions.
2385 - Fixed some broken URLs in the manual.
2386 - Added JobId type.
2387 - Wrote first cut of "prune files" and "prune jobs".
2388 - Added command line history to gnome-console 2500 lines max.
2389 - Widened store_time() and associated variables to 64 bits using
2390   new btime_t definition.
2391 - Removed GNOME about box and replaced it with 
2392   a somewhat crude Gtk+ about box in the gnome-console.
2393 - Widened StartDay in the Job DB record to be 64 bits.
2394 - Changed edit_uint_ to edit_uint64_ everywhere. Much more
2395   descriptive of what is done.
2396 - Removed most llds and replaced them with %s and edit_uint64.
2397   This makes the code a bit easier to read for beginners.
2398 - Added a btime_t typedef which is 64 bits wide.
2399 - Added most of the code needed to do Purge and Prune of
2400   database. Not yet tested. Please do not use.
2401 - Additional config options for Console.
2402 - Started adding code for Automatic Recycling of Volumes.
2403 - Allow arbitrary length filenames in Verify code.
2404 - Fix incorrect filename in Verify code.
2405 - Significant enhancement to number scanning in config parser.
2406 - Requires initializing MySQL tables, or applying cats/alter.sql
2407   to modify Media table.
2408 - Modified Makefile to printer a much more visible
2409   message if the make ends in error.
2410 - Added the Purge value to the VolStatus in the Media table.
2411   This value is set if the Volume is purged.
2412 - Enhanced the db_delete_media_record() routine to delete
2413   all associated records in the database.
2414 - Modified Console to always write to the variable "output"       
2415   rather than stdout. This will permit directing output to a file.
2416 - Enhanced the Console configuration file to have a Console 
2417   resource. This will allow us to add an rcfile and history file.
2418 - Modified Find_next_vol in catreq.c to search for "Recycle"
2419   volumes if there are none marked Append. Also made Get_Vol_info
2420   return the VolStatus to the Storage daemon.
2421 - Allow upper/lower case match on job level names.
2422 - Added another warning message to the Console "delete media" command.
2423 - Corrected a number of FileId types from uint64_t to FileId_t in
2424   ua_retention.c.
2425 - In ua server close database before freeing JCR (because pointer is
2426   kept in ua and jcr structures).
2427 - parse all numbers as doubles. Do lots of checking for valid number
2428   formats. Allow numbers in scientific form (e.g. 1.5e+10).
2429 - Remove terabyte modifier as it doesn't work in some compilers.
2430 - Fix bug in handling some modifiers.
2431 - Added all necessary code for Recycle to Storage daemon. A Volume
2432   marked Recycle will now be overwritten.
2433 - Filled out the prune command a bit and did some testing.
2434 - Make console accept redirected input.
2435 - Altered the Table definitions to include Recycle,
2436   FileRetention, JobRetention, and AutoPrune.
2437 - Widened StartDay to 64 bits.
2438 - Use JobId_t in more places. 
2439 - Added the new table fields to the database record definitions.
2440 - Changed Recycle from string to a binary quantity.
2441 - Added a Version table with a VersionId to detect.
2442   future changes in the database. This should prevent
2443   a Bacula from working with a database that is not in sync.
2444 - Modify Console to accept input from a file. This will permit
2445   the .read command and allow reading a .rc file.
2446 - Added new retention and recycle variables to the Director's configuration.
2447 - The UA subroutines or commands can now be called from core
2448   code because the output routines detect the absence of a 
2449   UA socket and direct output to the Job.
2450 - Added a verbose flage to the ua packet to permit reduction of
2451   output while running a UA command (prune) from a Job.
2452 - Did a fair amount of work on the prune command. Prune Volume now works.
2453 - Purge Volume now works.
2454 - Made last changes for integrating prune and purge commands.
2455 - Add -ltermcap to CONS_LIBS when readline is configured.
2456   More work to be done to search for termcap.
2457 - Added cats/drop_sqlite_tables.in, which will delete the SQLite database.
2458 - Got CWEB working so that we can compile filesys.w and immortal.w
2459 - Modified depkgs to include cweb.             
2460 - Note, CWEB is not yet used by the core Bacula code.
2461 - Made cats/alter.sql, which alters an old database to bring it
2462   up to the new format. This only works with MySQL since SQLite does
2463   not have the ALTER SQL command.
2464 - Changed the old StartDay field in the db to be JobTDate, which is
2465   the latest time/date in widened Unix time format that the Job ran.
2466   This value is used when doing pruning.
2467 - Added code in cats/sql.c to verify that the database internal version
2468   corresponds to the db version compiled in Bacula. It is set to 1 currently.
2469 - Lots of changes to cats to bring the SQL up to date with the new 
2470   retention period changes.
2471 - Added Console command code to permit changing a Volume's retention period.
2472 - Removed old code that used date_encode() and replaced it with widened
2473   Unix time().
2474 - Started modifying Message resource scanner so that we can have multiple
2475   message resources. Much more work to be done.
2476 - Moved scanning for time into new library routine string_to_btime().
2477
2478 ===========================================================================
2479 2002-04-22 Release 1.18
2480 - Applied Phil's configure.in fix for --prefix, ...
2481 - Fixed bug found by Phil (patch supplied) in updating
2482   MD5 signatures (revert to 32 bit FileId, move "static"
2483   variables into JCR) (catreq.c fd-cmds.c).
2484 - Reverted to using INTEGER for FileId in make_sql_tables
2485   due to a bug in MySQL.
2486 - Change editing code to %d for FileId.
2487 - Remove sqlite in make distclean in cats directory.
2488 - Remove console.conf in console during make distclean
2489 - Remove gnome-console.conf during make distclean
2490 - Remove bacula-dir.conf during make distclean
2491 - Set default level when using Console if none specified.
2492   Bug reported by Phil.
2493 - A simple . command from Console is ignored.   
2494 - Change program named from filed to bacual-fd in winmain.cpp
2495 - Change default config file for Win32 in winmain.cpp
2496 - Free namebuf on early return from find_one.c. Bug reported by
2497   Phil.
2498 - Modify testfind.c to dump orphaned buffers.
2499 - Removed terabytes from parse_conf.c because of problems with
2500   older gcc compilers.
2501 - Turn off gnome options in gnome-console by constructing empty
2502   argv.
2503
2504 ===========================================================================
2505 2002-04-18 Release 1.17 Kern Sibbald
2506 - Ensure that platforms Makefiles are called for clean  
2507   and distclean.
2508 - Hide a lot of Makefile messages with @
2509 - Applied Phil's configure.in patch. Thanks.
2510 - Doc updates, many to clarify points brought up by Phil.
2511 - Applied Phil's make_mysql_tables.in patch. Thanks.
2512 - Made authenticate.c in dird test bnet_send status.
2513 - Make label a bit more friendly with extra info message.
2514 - Add level 200 to debug info in run command.
2515 - Remove old code from findlib/testfind.c so that it compiles.
2516 - Add two minute max wait to cram-md5 authentication. Hopefully,
2517   this will catch non-responding WinNT daemons.
2518 - Allow time and size modifiers to be upper or lower case.
2519 - Turn off old CYGWIN patch for pthread_cond_timedwait() bug that
2520   now causes File daemon hangs on WinNT.
2521 - Fix mount messages for restore. Previous updates to save
2522   broke the restore code.
2523 - By default write fixed block sizes rather than variable block
2524   sizes.  My Sony DAT simply does not work (reread failures) with
2525   variable block sizes.
2526 - Data split across tapes was not being correctly restored
2527   (at least on DAT tapes). 
2528 - Implement MaximumBlockSize and MinumBlockSize statements in
2529   Storage daemon so user can specify variable block sizes if
2530   desired.
2531 - Return error if block checksum error on read (previously 
2532   ignored).
2533 - Fixed some error messages in bls, and in some cases exit(1)
2534   rather than ABORT. There remain ABORTs to be examined.
2535 - Made a local copy of tcpd.h and corrected the function 
2536   prototype problem for C++.
2537
2538 ===========================================================================
2539 2002-04-14 First public release 1.16 Kern Sibbald
2540  - Many intervening changes/updates.
2541
2542 2001-09-29 Release 1.0 Kern Sibbald
2543  - Fixes to problems found at John's installation.
2544  - See techlogs/kes25Sep01 for details
2545
2546 2001-09-25 Release 1.0 Kern Sibbald
2547  - Helped John install at his site.
2548    He is backing up one Linux machine and
2549    one Win2000 machine.
2550
2551 2001-mm-dd Many releases
2552  - Released internally.
2553   
2554 2000-04-09 Release 0.4 Kern Sibbald
2555  - Added a lot of Director configuration code. In      
2556    part (a small part), the Director now uses the
2557    bacula.conf file to know what to do. There still
2558    remains a lot to do.
2559  - The file search code is now integrated into the
2560    MySQL database routines, and Bacula is now hooked
2561    into the MySQL database (if so configured). Thus
2562    all the database records are being created, though
2563    there still remains some work in getting all the
2564    details into the records (such as the Storage 
2565    coordinates).
2566  - I've defined how Volume pools work (see manual).
2567  - I've defined error message handling though no code
2568    is yet written.
2569  - The following resources and records are implemented
2570    in the Director configuration file (bacula.conf):
2571     
2572    Director
2573      Name (passed to Storage daemon)
2574    Client
2575      Name, Address, Port
2576      Password (not yet used)
2577    Storage    
2578      Name, Address, Port, Password, MediaType
2579    Job
2580      Name    
2581      Type (not yet used)
2582      Backup (only one permitted) 
2583        Client, FileSet
2584      Storage
2585      Schedule, Messages, Pool (not used)
2586    FileSet
2587      Name  
2588      Include (options ignored)
2589      Exclude (no options)
2590    Schedule (not used)
2591      Name
2592    Messages (not used)
2593      Name       
2594      Debug, syslog, mail, append (not used)
2595    Catalog
2596      Name
2597      Address, Port, Password (not used)
2598    Pool (not used)
2599      Name
2600      PoolType, MediaType (not used)
2601
2602  - Added Storage configuration routines.
2603    Director
2604      Name, password (verified against those sent by Director)
2605    Storage
2606      Name, Address, Port (address, port must correspond to Director's values)
2607      Password, MediaType
2608    Device
2609      Name, MediaType (must correspond to those sent by Director)
2610      Archive Device (defines device name)
2611
2612
2613 2000-03-10 Release 0.3 Kern Sibbald
2614  - Implemented new base64 encoding for attributes.
2615    This eliminates some of the error messages in the
2616    sprintfs on the Solaris due to different stat() sizes.
2617  - Implemented  the first cut of the file search routines for
2618    the File daemon.  The exclusion lists work including wild
2619    cards.   There is a lot of work to be done, but the basic
2620    structure is now in place (wild cards do not yet work for
2621    the include).
2622  - Completed writing the memory pool code.  Now I must
2623    implement it in the daemons.
2624  - Modified the bacula start/stop script so that it has a
2625    better chance of working on SGI and Solaris.
2626  - The catalog code has not been converted to the new file
2627    search code.
2628
2629 2000-03-06 Release 0.2 Kern Sibbald
2630  - Integrated John's fixes.
2631  - Made Makefiles self configuring when Makefile.in is changed.
2632  - Added a runit script in the top level that runs bacula
2633  - Added a "bacula" script in the top level directory that
2634    starts and stops the File daemon and the Storage daemon.
2635
2636 2000-03-03 Release 0.1 Kern Sibbald
2637  - Basic Director, File, and Storage daemons.
2638    Standalone Catalog services using MySQL
2639
2640 2000-01-22 Kern Sibbald
2641    * Setup basic file structure with ./configure