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