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