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