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