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