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