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