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