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