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