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