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