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