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