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