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