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