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