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