]> git.sur5r.net Git - bacula/bacula/blob - bacula/ChangeLog
Final ReleaseNotes update
[bacula/bacula] / bacula / ChangeLog
1               Technical notes on version 2.5.x
2
3 General:
4
5 Release Version 3.0.0:
6 05Apr09
7 kes  Fix Win32 make clean to clean correctly 
8 kes  Cleanup Win installer dialog messages a bit ...
9 04Apr09
10 kes  Separate object/binaries in Win32 and Win64 builds. More to be done.
11 kes  Add bconsole to Win64 installer.
12 03Apr09
13 kes  Implement more automatic build of Win64 client. Note, there are still
14      lots of warning messages, but it seems to build a correct binary.
15 02Apr09
16 kes  Enhance Job messages from SD when the FD->SD protocol is incorrect
17      and the SD hangs up. Previously this looked like a comm error.
18 mvw  Fixed problem in xattr and acl code trying to send empty acl or xattr
19      streams.
20 mvw  Fix for bug #1261 where we send out a null stream when a file only an
21      acl and xattr support is also turned on.
22 mvw  Added some warnings to configure when using libtool and static in
23      one configure.
24 30Mar09
25 ebl  Fix small memory leak in fileregexp bsr code
26 29Mar09
27 kes  Correct bacula32.def entry point as specified by James.
28 kes  Add code to FD plugin driver to make a copy of the plugin
29      filename to be saved to avoid save_file from zaping it.
30 28Mar09
31 kes  Directly mark all files saved by plugin as being seen for Accurate.
32 kes  Add checks on the plugin version and the plugin license. Currently
33      only implemented for FD plugins.
34 kes  Add installation of /usr/share/doc/bacula
35 kes  Modify plugin checkFile to return bRC_Seen to cause file
36      to remain.  Previously was true/false.
37 27Mar09
38 kes  Implement installation of bat help files
39      The help files are installed in the htmldoc dir and can be set
40      by --htmldoc=xxx on the ./configure. Default is:
41      /usr/share/doc/bacula/html
42 kes  Update projects file
43 kes  Apply patch from  Pasi Karkkainen <pasik@iki.fi> that adds
44      Previous Job name to migrate job report.
45 26Mar09
46 kes  Apply bacula-autoconf-db-m4.patch from Kjetil Torgrim Homme 
47      <kjetilho@linpro.no> that doesn't *require* the static libraries
48      for the SQL database engine. Fixes a build problem if the static
49      libraries are not loaded.
50 25Mar09
51 ebl  Update Makefiles to compile win64 using "make WIN64=yes"
52 kes  Disable plugin options in ua_run.c
53 kes  Added the following to provide solutions to the plugin/Accurate
54      problem -- bug #1236 Cannot restore incremental backups with 
55      the Exchange plugin.
56      - New Bacula read-only variable bVarAccurate -- returns accurate flag
57      - New Bacula write-only variable bVarFileSeen -- marks a file as seen
58      - New plugin entry point -- checkFile that is called at the end
59        of an Accurate job and allows the plugin to mark a file as seen.
60 24Mar09
61 kes  Temporarly turn off comm timers because it causes bat to seg fault.
62      Must research making SIGUSR2 work with bat and Qt.
63 24Mar09
64 ebl  Use MTIMEONLY fileset option in accurate check
65 23Mar09
66 ebl  Tweak code to compile win64 version with mingw
67 21Mar09
68 Kes  Attempt to correct timing problems with starting bat and obtaining
69      lists. Maintain in_command counter to know when a list is coming.
70 20Mar09
71 kes  Convert seconds.seq separator into seconds_seq so that Bacula
72      editing of the Job name from the full Job name works. This fixes
73      bug #1255 'variable %n changed'.
74 kes  Second half of proposed fix for bug #1227 that does not
75      mark virtual volumes for unloading.
76 kes  Proposed fix for bug #1227 Job and labeling new tape.
77
78 Beta Release 2.5.42-b2
79 16Mar09
80 kes  Increase timeout for unmounting DVD as suggested by reporter
81      of bug #1250.
82 15Mar09
83 jh   Fix by James Harper to print error code when attempting to
84      restore two databases (only one is permitted). This responds
85      to bug #1234.
86 kes  Apply the nodump patch supplied by Frank Kardel that fixes
87      the NODUMP flag problem. This fixes bug #1221
88 kes  Add more output if a user attempts to clone a job but does not
89      uniquely specify the Job name.  This responds to bug #1248 which
90      was not a bug, but improves user feedback.
91 14Mar09
92 kes  Fix problems with bug #1247 and 64 bit time_t OSes by not 
93      editing (printf) time_t values.
94 12Mar09
95 kes  Install bacula (start/stop script) in sbindir in addition to
96      scripts dir.
97 ebl  Tweak configure to remove bash specific code
98 ebl  Remove TCABD reference
99 11Mar09
100 ebl  Free lock manager in when btape exits
101 09Mar09
102 kes  Apply patch from bug #1224, which fixes waiting on max Storage
103      jobs during migration.  Submitted by Alexandre Simon.
104 kes  On 03Mar08 (a year ago) applied patch from bug #1059 (kardel)
105      to implement the NODUMP flag on FreeBSD.
106 07Mar09
107 kes  When deleting a Volume by MediaId require the Id to be
108      prefixed by a * to avoid confusing with an integer volume
109      name.
110 kes  Prevent bls from printing binary data when a plugin stream
111      encountered. This fixes bug #1238
112 kes  Prepare to add JS_Warnings termination status.
113 kes  Attempt to resolve bwx-console Win32 crash. Not likely to
114      work.
115 06Mar09
116 kes  Move src/win32/dll to src/win32/lib, which is much more logical.
117 kes  Fix the Win32 build.
118 kes  Fix broken casting in src/compat/print.cpp.
119 kes  Eliminate jcr Errors and always use jcr JobErrors.  This should
120      ensure that SD and FD errors are correctly reported.  Also add
121      JobErrors to SD returned values. This should fix bug #1242.
122 28Feb09
123 mvw  Implemented xattr support for Solaris 9 and above and extensible
124      attributes for OpenSolaris.
125 mvw  Added some limits to the xattr code so that we don't blow up the
126      filed on big xattrs.
127 mvw  Fixed some comments which changed due to xattrs being implemented.
128 mvw  Changed xattr support checking in configure to test first for
129      generic solutions and when not found for specific OS functions.
130 25Feb09
131 mvw  Don't try to copy empty jobs (e.g. with jobbytes == 0)
132      which gives Unable to get Job Volume Parameters errors.
133      Which leads to copying the same job over and over again.
134 21Feb09
135 kes  Ensure that src/qt-console/.libs is cleaned properly
136 20Feb09
137 mvw  Use acl_data_len instead of seperate var for length
138      of acl stream.
139 ebl  Add database update scripts to updatedb dir
140 19Feb09
141 ebl  Fix #1226 about bconsole segfault when using readline()
142 18Feb09
143 kes  Apply Eric's next-beta.patch that enables 64 bit FileIds and
144      adds new columns to the catalog.
145 kes  Ensure that libtool directory always cleaned + reduce 
146      unnecessary output during make clean.
147 15Feb09
148 ebl  Check postgresql database encoding that should be SQL_ASCII
149      and print a warning if it's something else.
150 08Feb09
151 kes  Free name item in guid_to_name.c when already in list.
152 kes  Add more info to error message in ua_tree.c
153 05Feb09
154 kes  Make re-read last block fatal if block numbers differ by
155      more than one.
156 30Jan09
157 ebl  Try to disable _FORTIFY_SOURCE by default
158 29Jan09
159 ebl  Tweak compat.h for new mingw
160 28Jan09
161 ebl  Add new ScratchPool directive to Pool. Thanks to Graham
162 ebl  Turn on db_get_file_list() single SQL because the failure
163      was due to a full FS. And the accurate test fails with the
164      other code.
165 27Jan09
166 ebl  Fix a bug that doesn't update RecyclePool all the time 
167      during the first startup.
168 25Jan09
169 kes  Turn off db_get_file_list() giant SQL because if fails on
170      my production machine.
171 kes  Fix bat.pro.in so that bat is properly installed rather
172      than just copied.
173 24Jan09
174 kes  Modify search for .conf file so that if one is given on
175      the command line, it will be used, otherwise it will use
176      the SYSCONF directory.  It will no longer look in the current
177      directory unless explicitly requested on the command line.
178      This fixes bug #1189.
179 kes  Fail a job that references a plugin if no Plugin Directory is
180      defined.
181 22Jan09
182 kes  Fix bug #1211 crash during reload with bad dird.conf file.
183 21Jan09
184 ebl  Add detection of intptr_t and uintptr_t to configure process
185 20Jan09
186 ebl  Change some cast to use intptr_t instead of long
187 18Jan09
188 kes  Apply acl_solaris_update.patch submitted by Marco (thanks).
189 kes  Remove configure check for resolv.h -- it is apparently not needed
190      and causes build warnings on FreeBSD.
191 kes  Ensure that the installer and newinstaller Makefiles are called
192      during a make clean.
193 12Jan09
194 kes  Apply Eric's fix for suppressing extended attributes error messages
195      when dealing with deleted files.
196 11Jan09
197 kes  Add src/win32/newinstaller -- single file installer
198 kes  Attempt to explicitly call gmake when needed, or if not found
199      skip the calls.  This should fix the FreeBSD regression/build.
200 10Jan09
201 kes  Fix bat.pro.in so that bat will install.
202 09Jan09
203 kes  Add more debug output to VSS init.
204 kes  Attempt to correct win32 debug in berrno.
205 09Jan09
206 kes  Fix bug reported by Dan where make fails in clean of src/win32. 
207 07Jan09
208 kes  Fix bug #1212, SD is unable to recycle purged volumes. fstat()
209      was broken.
210 06Jan09
211 ebl  Despool attributes directly from the director if attribute
212      spool file is present
213 Beta Release 2.5.28-b1
214 05Jan09
215 kes  Fix bat install broken by $DESTDIR change.
216 02Jan09
217 kes  Fix annoying compiler warnings in console/conio.c
218 kes  Fix win32 build (depended whether or not ./configure was run).
219 28Dec08
220 kes  Apply fix suggested by Bruno Friedmann to configure.in to
221      find python2.5
222 26Dec08
223 kes  Turn on Eric's match_bsr tape block checking code.
224 kes  Correct values used for tape block numbers in record.c.
225 23Dec08
226 ebl  Fix a problem with PoolUncopiedJobs option which was broken
227      by the new JT_JOB_COPY type.
228 kes  Fix bug #1206 -- Error: sql_update.c:194, which was probably
229      caused by the user modifying the Bacula DB schema.
230 kes  Remove rogue line of C code.
231 kes  Fix bug #1208
232
233 Beta Release 2.5.28-b1
234 02Jan09
235 kes  Fix annoying compiler warnings in console/conio.c
236 kes  Fix win32 build (depended whether or not ./configure was run).
237 28Dec08
238 kes  Apply fix suggested by Bruno Friedmann to configure.in to
239      find python2.5
240 26Dec08
241 kes  Turn on Eric's match_bsr tape block checking code.
242 kes  Correct values used for tape block numbers in record.c.
243 23Dec08
244 ebl  Fix a problem with PoolUncopiedJobs option which was broken
245      by the new JT_JOB_COPY type.
246 kes  Fix bug #1206 -- Error: sql_update.c:194, which was probably
247      caused by the user modifying the Bacula DB schema.
248 kes  Remove rogue line of C code.
249 kes  Fix bug #1208
250
251 Beta Release Version 2.5.26
252 20Dec08
253 kes  Correct typo in Win32 Makefile editing
254 kes  Correct typos in debug output.
255 kes  Improved error detection in creating bsrs.
256 kes  Add debug code to Win32 restore
257 19Dec08
258 kes  Fix Win32 build.
259 ebl  Cleanup director VolParam struct
260 18Dec08
261 ebl  Replace File:Block in BSR by Address to fix #1190
262 16Dec08
263 kes  Correct missing return in Darwin code.
264 15Dec08
265 ebl  Copy joblog after a Copy job
266 14Dec08
267 kes  Tweak block.c read to more closely simulate write for computing
268      block addresses and turn on disk block testing.
269 kes  Implement a crude 'list joblog' mostly for debugging.
270 13Dec08
271 kes  Fix Migration bug #1206 sql error with NULL FileSetId when no jobs
272      to migrate.
273 kes  Fix Migration JobLog bug #1171. Get the JobIds correct.
274 12Dec08
275 ebl  Fix segfault in bscan when using debug mode
276 11Dec08
277 kes  Fix configure to do minimum Win32 configure so that make clean
278      works.
279 kes  Tweak modify FD header to use %ld instead of %d.
280 kes  Remove hand scanning of FD header in SD and use Bacula's
281      sscanf, which is now OS independent.
282 kes  Define new object (file/dir) begin and end Volume label records 
283      in SD.
284 kes  Use new method of defining XATTR #defines to avoid need for having
285      them in config.h.in
286 10Dec08
287 ebl  Rename all STREAM_ACL_..._T into STREAM_ACL_..
288 09Dec08
289 ebl  Add a new lock manager that can detect deadlock situation
290      This new option is activated with a --enable-lockmgr configure
291      option.
292 ebl  Add new Director->MaxConsoleConnections directive
293 03Dec08
294 ebl  Fix bacula-sd hanging after tape gets full + unload 
295 02Dec08
296 ebl  Remove extra db_lock() in get_prune_list_for_volume()
297 ebl  Apply 2.4.3-prune-deadlock.patch that fixes a problem when
298      using Catalog as message backend.
299 01Dec08
300 kes  Apply Marco's Darwin xattr patches.
301 28Nov08
302 kes  Fix Win32 build.
303 26Nov08
304 kes  Apply Marco's Extended attribute support patch.
305 kes  Update projects file
306 25Nov08
307 kes  More changes to ensure that during thread switches the jcr
308      is removed from the TSD.
309 kes  Ensure that consoles attach jcr to thread, and that only the
310      thread attached is removed from the TSD.
311 24Nov08
312 kes  Move definition of FileId_t to bc_types and define it once in the jcr.
313 22Nov08
314 kes  Remove all time_t from arguments in favor of utime_t, which is
315      machine independent.
316 kes  Add more debug to match_bsr.c and use %u for unsigned debug editing.
317 20Nov08
318 ebl  Apply patch for bug #1182  about Recycle flag
319      that is not updated after a pool change.
320 kes  Since the user has been warned, allow console purge command 
321      to purge volumes that are in use.
322 kes  Fix Win32 build to add new sd_plugins.c
323 ebl  Apply patch from bug #1175 that reset the Slot and the Inchanger
324      flag in db_make_inchanger_unique().
325 ebl  Remove a Emsg() after recieving a Fatal signal that can lock
326      the catalog.
327 19Nov08
328 kes  Apply patch from bug #1187. It prints an error message if the
329      Maximum Block Size in the SD is too big.  
330 kes  Increase Maximum Block Size to 2,000,000 bytes.
331 kes  Use doubly linked bsr list so that consumed bsrs may be
332      removed.  Removing not yet implemented.
333 18Nov08
334 kes  Implement a fix that very likely fixes the undesired volume
335      purge reported by Graham Keeling.
336 kes  Implement bsr block level checking for disk files. However,
337      it does not work correctly in accurate tests, and all the
338      migration and copy tests, so it is turned off.
339 ebl  Make SD plugins work.
340 14Nov08
341 ebl  Apply Riccardo's patch to compile bacula+mysql on mandriva
342 13Nov08
343 ebl  Add more variables accessible through the director plugin
344      interface.
345 12Nov08
346 ebl  Do work on plugins
347      - fix compilation of the director plugins
348      - add plugin list to status dir output
349      - add director plugin dump after a fatal signal
350 ebl  Apply Riccardo's patch that fix some win32 compilation errors 
351      and a bug with bat version browser.
352 11Nov08
353 ebl  Add Plugin debug after a fatal signal.
354 ebl  Add db and rwlock debug after a fatal signal.
355 10Nov08
356 ebl  Fix maxwaittime to fit documentation, this time is now counted
357      from the job start and group all wait periods.
358 ebl  Add tips for postgresql to improve performance when having
359      multiple batch insert at the same time.
360 09Nov08
361 ebl  Remove extra debug for db lock.
362 07Nov08
363 kes  Apply Riccardo's second patch that cleans up the #include
364      file order + a few Win32 particularities to make bat work
365      on Win32.
366 ebl  Add allow_transactions flag to mysql db backend.
367 kes  Apply win32-fixes patch from Riccardo that makes the Win32
368      bat more stable and faster (but still slow).
369 06Nov08
370 kes  Fix bug with job name duplication if more than 60 jobs created
371      during a minute.
372 kes  Correct some bugs of cleanup in SD if the FD connection fails.
373 ebl  Add code to get more information after a fatal signal.
374 05Nov08
375 ebl  Apply Bastian's patch that add spooldata=yes|no option
376      to run command.
377 04Nov08
378 ebl  Fix bash shell to sh shell in database creation script
379 02Nov08
380 kes  Fix orphaned jobs (possible deadlock) while pruning.
381 kes  Use jcr stored in bsock rather than searching in getmsg.c.
382      This results in about a 5% speed improvement with four
383      concurrent jobs.
384 kes  Implement win32_chmod that uses wide characters, if possible,
385      to get and set the file attributes.
386 29Oct08
387 kes  Apply pane freezing during updates patch from Riccardo Ghetta.
388 kes  Rework next_vol and autoprune a bit due to failure in
389      recycle-test.  prune_volumes() now returns no status,
390      but should prune at least one Volume, if possible.
391 kes  Modify check_if_volume_valid_or_recyclable to reject a
392      volume with Recycle set off.
393 kes  Modify prune_volumes() to continue if volume Recycle is off
394      or if the volume has expired. Add more debug.
395 28Oct08
396 kes  Fix bug #1046 VolumeToCatalog incorrectly reports mounted 
397      filesystems as missing on the Volume.
398 kes  Rewrite the set_jcr_job_status() code to include job status
399      priorities so that more important status changes occur but
400      lower priority status changes will not overwrite something
401      more serious.  This could possibly cause reporting incorrect status
402      reporting in some cases.  More testing is needed to ensure
403      I have the right priorities. This vastly simplifies the previous
404      contorted logic.
405      Verify Diff status should now be correctly reported, whereas it
406      was previously lost.
407 kes  Reduce some debug output.
408 kes  Apply Joao's patch to SQLite tables to make chars work.
409 27Oct08
410 ebl  Fix #1175 About update slots that don't reset InChanger flag when 
411      slot is empty.
412 ebl  Fix #1173 where prune_volume() returns a volume from the scratch.
413 25Oct08
414 kes  Remove jobq.c constraint that read and write SD must be
415      different. This may lead to more deadlocks in the SD,
416      but they should be resolved there.
417 kes  Ensure that job report is always printed even if job is failed
418      in the director.
419 kes  Don't print job report twice for failed VBackup jobs.
420 24Oct08
421 kes  Fix editing of retention time difference to use 64 bit
422      int instead of 64 bit unsigned. This should permit very
423      long retention periods.
424 kes  Implement code to prohibit a write job from appending to  a 
425      Volume that will be used for a read operation.  This is
426      new code and could possibly cause some conflicts.
427 23Oct08
428 kes  Integrate James Harper's Exchange Win32 plugin patch.
429 kes  Apply patch from Marco van Wieringen that implements the new
430      Solaris libsec interface for ACLs so that Bacula can save and
431      restore both the new ACLs and old ACLs.
432 kes  Marco's patch also corrects the file dependency generation code
433      so that it works properly both with shared libraries and static
434      libraries.
435 kes  Marco's patch also includes a small cleanup of the cats Makefile
436      to remove some references to non-existent files.
437 22Oct08
438 kes  Modify win32 Makefiles to use full paths in most cases.
439      In particular add MAINDIR environment variable that points
440      to the main Bacula source directory.
441 21Oct08
442 kes  Add read volume list code to SD -- not yet used.
443 kes  Add James' binutils patch
444 kes  Split volume management code out of src/stored/reserve.c into
445      a new file vol_mgr.c 
446 kes  Modify configure to do an automatic make clean.  This ensures
447      that any changes to ./configure options are handled correctly.
448
449 Beta Release Version 2.5.16
450 19Oct08
451 kes  Add Makefile dependency when using LIBTOOL_LINK so that any
452      change in ./configure options will be accounted for.
453 18Oct08
454 kes  Fix typo in the ACL patch that I overlooked.
455 kes  Apply Marco's libtool include patch.
456 17Oct08
457 kes  Apply Bastian Friedrich's ACL patch to eliminate ACL
458      errors during restore.
459 kes  Minor cleanup of create_restore_volume_list() code.
460 kes  Fix typo in console Makefile.in
461 16Oct08
462 ebl  Fix #1110 about RunScript that can't execute a script with
463      Unicode caracters in the path.
464 15Oct08
465 kes  Apply tray-monitor patch from Bastian Friedrich to make it
466      work with the new FD.
467 14Oct08
468 kes  Apply cleanup patch from Marco
469 kes  Apply patch from  Marco van Wieringen <mvw@planets.elm.net>
470      that implements libtool to create shared objects out of
471      the Bacula libraries.
472 kes  Fix tray-monitor so it will speak to new FD.
473 ebl  Fix bug with ansi label when volume name length < 6
474 ebl  Fix segfault in debug level > 50 with btape.
475 ebl  Remove warning message in btape when command is empty.
476 kes  Fix Win32 build to pull in new BACULA define.
477 13Oct08
478 kes  Change IncludeDir to Exclude Dir Containing.
479 kes  Implement code to prohibit ExcludeDirContaining in an
480      Exclude section (same for Plugin and Options).  A bit
481      of a kludge with RES_ITEM2 ...
482 ebl  Add field to command list to restrict Runscript console
483      command.
484 ebl  Use a separate JCR when running Console command with Runscript.
485 ebl  Permit to mark version as Beta in some ouputs
486 11Oct08
487 kes  Add plugin types in jcr.h to reduce need to cast.
488 kes  Do better checking of plugin return values.
489 kes  Free plugin context after calling pluginFree() as
490      requested by James.
491 kes  Allow plugin to call JobMessage with NULL context.
492 kes  Do not add plugin to global list if loadPlugin returns error.
493 kes  Rework plugin.h a bit to reduce dependence on Bacula.
494 10Oct08
495 kes  Move generation of bsr file for Virtual Backup to run section
496      so that it is generated just before actually running.
497      Suggested by Graham Keeling.
498 09Oct08
499 kes  Add malloc and free Bacula entry points for plugins. Increment
500      FD plugin interface version. Create a bacula plugin context 
501      structure to keep track of whether or not the plugin is disabled.
502 kes  Apply FileIndex fix for plugin name stream suggested by James.
503 kes  List plugins in FD status report when debug > 0.
504 08Oct08
505 ebl  Add a new VerId variable that is printed in version command.
506 kes  Fix migration SQL not to migrate a job that has not terminated.
507      This is a partial fix to bug #1164.
508 kes  Sort JobIds returned from db_accurate_get_jobids() to fix Virtual
509      backup start time bug reported by Graham Keeling.
510 08Oct08
511 ebl  Fix possible bug in cancel_job() with job that are not
512      yet created.
513 07Oct08
514 kes  Fix bat build for Win32.
515 06Oct08
516 kes  Copy plugin link field into ffpkt.
517 05Oct08
518 kes  Integrate patch from Kjetil Torgrim Homme <kjetilho@linpro.no>
519      It provides FileRegex in bsr files and code to collect regex
520      from the user during restore, an Allow Mixed Priorities feature,
521      and documentation for the above.
522 ebl  Remove db berkeley from configure process
523 kes  Do dirty check on hostname (Linux only) and if not resolvable
524      use localhost as default.
525 kes  Increase vtape max block to 20GB.
526 04Oct08
527 kes  Refactor restore code to create a close_previous_stream(). This
528      This may destabilize the source.
529 kes  Implement planned startRestoreFile() plugin call.
530 ebl  Remove missing Loaded information from status slots storage command.
531 ebl  Fix Console command problem that cancels the job
532 kes  Add more plugin restore debug code.
533 03Oct08
534 kes  Fix plugin_bwrite - plugin-blseek mixup pointed out by James.
535 kes  Rewrite plugin restore interface a bit to correspond to how Bacula
536      creates and writes to the restored file.
537 kes  Add some DebugMessage() calls to the bpipe-fd.c program.
538 30Sep08
539 kes  Apply Marco van Wieringen's set of patches, cleans up Migration/Copy
540      Implement 'Pool Uncopied Jobs', allow Solaris Compiler to build
541      Bat; allow add and delete in place of mark and unmark.
542 kes  Another attempt to fix the endRestoreFile plugin bug noted below.
543 29Sep08
544 kes  Apply dbi driver patch from Joao.
545 kes  Correct a bug in passing the context to the endRestoreFile() plugin command.
546      Bastien Friedrich reported the bug.
547 kes  Create plugin instance only when FD job starts.
548 kes  Add new FD plugin event: bEventCancelCommand when
549      a cancel command is issued to the FD.
550 28Sep08
551 kes  Add cmd_plugin flag to jcr so we can globally know if a 
552      command plugin is running.
553 kes  If command plugin running, do not attempt (for the moment)
554      to get Win32 extended attributes.
555 kes  Ensure that proper Win32 flags are set in bfile packet
556      if plugin_bopen() works on Win32.
557 kes  Remove generated src/plugins/fd/Makefile
558 27Sep08
559 kes  Implement build and install of bpipe-fd.so plugin.
560 kes  Rework the interface that passes packets to the plugin
561      so that the packet is started and ended by the packet size.
562      This allows the driver to do a sanity check.
563 26Sep08
564 kes  Rework the pluginIO Bacula internal code to enable   
565      proper handling of Win32 error codes from GetLastError.
566 kes  Apply Joao's patch to regress startover_libdbi.
567 25Sep08
568 ebl  Add -B option to dbcheck to get catalog information
569 kes  Fix Win32 build to include new library function.
570 kes  Remove some old reader/writer code.
571 kes  Implement ./configure --with-plugindir=xxx
572 ebl  Fix the mysql bug in the new accurate code
573 kes  Improve plugin debug. Create plugin test.
574 kes  Set main thread specific data to INVALID because it
575      has no jcr. This allows debug output to work correctly.
576 kes  Add src/plugins/fd/Makefile to ./configure process.
577 kes  Make first cut attempt to correct SQL that computes the current
578      Pool usage.  This is to fix bug #1159.
579 kes  Do a bunch of plugin cleanups for Win32 and more careful checking
580      of PluginDirectory and whether or not a plugin was found.
581 24Sep08
582 kes  This code should fix the race condition that leads to a Director
583      crash at job end time when the job list is updated. This was reported
584      in bug #1162.
585 kes  Add more plugin documentation and fix include of config.h for
586      Win32 build (I hope).
587 22Sep08
588 ebl  Revert to htable instead of rblist
589 ebl  Cleanup accurate code (remove tcdbm parts) and use red/black
590      tree instead of htable.
591 ebl  Use a dedicate DB link to compute and send the accurate list
592      file to the client.
593 21Sep08
594 kes  Fix compile errors in filed/fd_plugin.c.
595 20Sep08
596 kes  Remove all double quotes from SQLite creating script and
597      replace by single quotes as suggested by John Huttley.
598 18Sep08
599 kes  Apply dbcheck patch from Yuri Timofeev <tim4dev@gmail.com>.
600      It significantly improves the performance of dbcheck for
601      MySQL.
602 kes  Fix bad debug code call in src/filed/accurate.c
603 17Sep08
604 kes  Change two Jmsgs in accurate to Dmsg to reduce unnecessary
605      output. Perhaps we really need to implement M_SAVED.
606 16Sep08
607 kes  Fix bug #1156 FD crash during processing of Accurate data.
608 kes  Tweaks to htable code to improved debugging and make names
609      a bit more meaningful.
610 15Sep08
611 ebl  Remove time_t from update_stats()
612 14Sep08
613 kes  Modify the license of the example plugin program to allow
614      it to be used by anyone for making a Bacula plugin.
615 kes  Make apply_rp_codes() in bpipe-fd.c be static.
616 13Sep08
617 kes  Remove Encryption and Accurate lines in vbackup output -- not used.
618 kes  Fix subtle bug in vbackup by not changing DEV_RECORD packet.
619 kes  Add host name to items printed during dump.
620 kes  Make Check File Changes default on.
621 11Sep08
622 kes  Set the default FD timeout to 3 minutes (previously 30).
623 kes  Apply Bastian Friedrich's weird spelling correction patch.
624 10Sep08
625 kes  Always print Verify hash differences. Rename variable to make the
626      code slightly more readable.
627 09Sep08
628 kes  Correct tests for MaxFullInterval as reported by
629      Ulrich Leodolter <ulrich.leodolter@obvsg.at>..
630 kes  Fix MaxDiffInterval code as well.
631 kes  Enable Win32 plugin load code in lib.
632 kes  Make Verify code that computes disk checksums use the same
633      algorithm as backup when dealing with sparse files.
634 kes  Attempt to run VSS on any systems newer than Vista -- should
635      make it work on Windows Server 2008.
636 ebl  Change the new statistic implementation. Remove the UseStatistic
637      directive and add a 'update stats [days=...]' command. You can
638      now decide when copy job records from Job table to JobStat.
639      Statistics are much more accurate with this.
640 08Sep08
641 kes  Fix SQL case problem that may cause the failure of DiskToCatalog
642      in bug #1149.
643 kes  First cut adding SD plugins.
644 03Sep08
645 kes  Add Slot if it is non-zero to writing bsr file after a
646      backup.
647 kes  Change a number of bnet_fsend() into class method calls.
648 kes  Begin audit of diff of 2.4 branch to trunk code.
649 01Sep08
650 ebl  Fix the mysql creation script that double-created an 
651      index of the same field on the Media table.
652      Add an index to on VolumeName to the Media table for mysql.
653 30Aug08
654 kes  Another try at fixing Vbackup. It looks much better this time.
655      Disable file index sanity check in FD with value stored in
656      attributes record because with Vbackup the File Index gets
657      changed, but not the attributes record.
658      Enhance some debug code.
659      Fix handling of re-indexing records that are copied in Vbackup.
660 29Aug08
661 kes  Made level_to_str() know about Virtual backup.
662 kes  Set correct Virtual backup write pool.
663 kes  Fix compile warning in new dbcheck port code.
664 kes  Fix migration code broken by previous virtual backup fix.
665 28Aug08
666 kes  Fix problem of Virtual backup not writing a sequential FileIndex.
667 kes  Reset Virtual backup time/date to the value from the last backup.
668 kes  Ensure that storage name is passed to SD on read.
669 kes  Correct a problem with Level and Virtual backup, rework how
670      bsrs are printed in debug to use standard routine.
671 kes  Apply patch from Chris in bug #1133 that provides alternate db port
672      support for dbcheck.
673 ebl  Remove catalog dependency from bcopy tool.
674 ebl  Modify catalog scripts to have an easier packaging integration,
675      using default variables.
676      Make difference between SQLite3 and SQLite in db_get_type()
677 27Aug08
678 kes  Apply most of changes in a patch from:
679       Michael Stapelberg <michael+bacula@stapelberg.de>
680       that allow the Bacula FD to compile on IRIX 6.5.
681 26Aug08
682 kes  Apply patch from Bastian Friedrich that accepts a yes on a
683      delete volume command line.
684 kes  Attempt to fix bug #1128 InChanger flag cleared during Migration
685      job when reading from one autochanger and writing to another.
686 kes  Minor tweaks (copyright dates convert to use method instead of bnet).
687 21Aug08
688 kes  Fix NULL Volume error when reading (or Migration or VBackup) must switch
689      drives when no tape is mounted.
690 18Aug08
691 kes  Add additional info to some SD messages.
692 kes  Add fix supplied by Martin Simmons for turning off EOL character
693      in new console multi-command code.
694 14Aug08
695 kes  Fix a Verify InitCatalog problem where in certain cases
696      a garbage filename may be entered in the verification database.  This 
697      fixes bug #1143.
698 13Aug08
699 kes  Add VSS 64 bit dll entry point in src/win32/filed/vss_generic.cpp
700      sent in by Riyas Yoosuf.
701 12Aug08 
702 kes  Fix seg fault in Dir during estimate command with no level value
703      given. This fixes bug #1140.
704 08Aug08
705 kes  Add message to migration job when the target job is already migrated.
706      This closes bug #1129.
707 30Jul08
708 kes  Fix Win32 build.
709 kes  Raise some restore debug levels.
710 kes  Replace off_t by boffset_t where ever I found it.
711 28Jul08
712 kes  Define a machine dependent ioctl request type for use with 
713      vtape_ioctl().
714 26Jul08
715 kes  When a migration job actually runs, re-check the Job record
716      and skip if the job is already migrated. This should
717      significantly reduce the problems with bug #1129.
718 24Jul08
719 kes  Set MALLOC_CHECK_=0 in environment before starting Bacula to
720      turn off glibc checks that prevent getting good dumps.
721 kes  Implement console 'wait mount' command. Doesn't yet work.
722 kes  Implement timeout=nn on console 'wait mount timeout=nn' command.
723 kes  Break the do_swapping into do_unload, do_swapping, and
724      do_load.  It is much more logical that way.
725 kes  Implement a set_dcr_from_vol subroutine in acquire.c for
726      reading volumes. This allows the dcr to be refreshed after being
727      zapped when the wrong volume is mounted.
728      This should fix bug #1126 -- During multiple tape restore, bacula 
729      does not ask for physical tape change, but rereads same tape
730 23Jul08
731 kes  Apply patch submitted for bug #1107 with a small modification.
732      This fixes a bug where bcopy copied too many records.
733 kes  Make some tweaks to bsmtp based on patch submitted in bug #1124.
734      This fixes bug #1124.
735 kes  Make the default bat restore Pool be Any. This fixes bug #1118.
736 22Jul08
737 kes  Remove debug statement that crashes the SD at the end of
738      a tape during restore. Fixes bug #1125.
739 21Jul08
740 kes  Implement Win32 bat changes made to Branch-2.4
741 20Jul08
742 kes  Tweak separator command in console to start disabled and
743      allow defining no separator character.  Also make code a
744      bit more fault tolerant.
745 kes  Make btraceback write the traceback to the working directory
746      before attempting to mail it.
747 kes  Add a RFC to Projects.
748 18Jul08
749 kes  Attempt to implement a kludge to make Qt work with bat
750      on Win32.
751 kes  Setup rstorage correctly. Virtual backups are working.
752 17Jul08
753 kes  Move setting JobLevel and JobType into a method, which should
754      allow completing Virtual Backups.
755 kes  Fix verify jobs to work again.
756 16Jul08
757 kes  Virtual Backup tweaks -- it is close to working.
758 15Jul08
759 kes  Ensure that SD tried to mount a volume not in an autochanger
760      at least once before asking for operator intervention.
761 kes  Make SD aware of Virtual Backup jobs.
762 kes  Add VirtualFull for bat.
763 kes  Changes to get read storage correct for Virtual Backup.
764 14Jul08 
765 kes  Remove old code from label.c
766 kes  Split display_display_info() out of write_bsr_file()
767 kes  do_vbackup_init() working -- i.e. bootstrap file built.
768 kes  Change Bacula trademark owner from John Walker to Kern Sibbald
769 kes  First non-working cut of vbackup
770 kes  Correct FD heartbeat code to use volatile variable accessed by
771      two threads.
772 kes  Zero thread id with memset if on Win32 in case it is a struct.
773 kes  If cannot create JobMedia record, continue to try to write eof
774      and clean up in block.c
775 12Jul08
776 kes  Add code to interface OpenSSL to new Win32 pthreads code which
777      used a structure for thread_t.
778 09Jul08
779 ebl  tweak bat for win32 compilation
780 08Jul08
781 ebl  Remove tokyo cabinet from the source
782 ebl  Update configure/autoconf to support berkeley DB
783 ebl  Add a sort to db_get_file_list() to improve bsr construction time.
784 07Jul08
785 kes  Add a mtx-changer.conf file that is not overwritten during
786      an upgrade. It fully configures the mtx-changer script.
787 kes  Clear in-use bit on vol when unused while swapping.
788 06Jul08
789 kes  Remove sleep at end of ./bacula
790 kes  Clear hash packet for hardlinked files correctly. This corrects
791      a long standing bug where hardlinked files selected individually
792      would occasionally not be restored.
793 05Jul08
794 kes  Apply Eric's patch to ensure that autoprune does not return
795      a Volume not in the autochanger unless requested to do so.
796 kes  Correct bat restore display of multiple drives. This fixes    
797      bug #1117.
798 kes  Do find_a_volume() each time an unload is done. This
799      fixes the failure of maxvol2-test.
800 04Jul08
801 kes  Add some SD debug code.
802 kes  Do find_a_volume() each time an unload is done.
803 kes  Apply Joao's DBI patch that adds easier configuration of DBI drivers,
804      and adds --with-db-port to ./configure.
805 kes  Use Qmsg() in job.c watchdog callback.
806 03Jul08
807 kes  Release main control rwlock if ABORTing.
808 kes  Make watchdog connect timeout queue messages rather than sending
809      directly to avoid lock conflicts with the real thread.
810 kes  Add const char in dbd.c to avoid compiler warnings.
811 kes  Fix python compiler string warning. Note, IMO the GNU C++ 
812      compiler guys have made a *very* bad change to their compiler.
813      They now force all strings to be 'const' unless you explicitly
814      cast them, which is extremely ugly and ruins nice code as well
815      as creates a lot of useless work.
816 02Jul08
817 kes  Fix mtx-changer to detect both versions of Ubuntu (Debian)
818      mt. This fixes bug #1116.
819 kes  Add const in python files to reduce compiler warnings.
820      This may have to be backed out because of later compiler
821      strict checking.
822 kes  Fix failure of 2drive-concurrent-test. Always read label;
823      clear_unload() only after drive is defined in acquire_for_read().
824 27Jun08
825 kes  Generally clean up the manual tape loading code. The main
826      conceptual change is that when a volume is marked to be unloaded,
827      its volume name is retained, and it is only marked as unloaded
828      when either the autoloader says it is unloaded or another tape
829      is read on that drive.                                     
830 25Jun08
831 kes  Add debug code and refactor subroutine in stored/mount.c
832 kes  Fix format problem in bscan output reported in bug #1105.
833 ebl  Fix get_next_volume_for_append logic with autochanger
834       - use pruned volumes if found
835       - don't reset the inchanger flag after getting a recycled volume
836         or a scratch one
837      Fix recycle_oldest_purged_volume to take InChanger flag in account
838 23Jun08
839 ebl  Add mmap/unmmap implementation for tokyodbm under win32
840 22Jun08
841 kes  Make first step toward eliminating globals from config
842      scanning. Also should be a workaround for FORTIFY_SOURCE
843      GNU C bug -- fixes bug #1042.
844 21Jun08
845 kes  Apply duplicate job tests to restarted jobs.
846 kes  Copy more data when restarting a job so that run
847      overrides are kept. This should fix bug #1094.
848 20Jun08
849 kes  More word alignment cleanup.
850 kes  Fix bug where SD did not ask operator if the device could not
851      be opened. Reported by Eric.
852 19Jun08
853 kes  Add dbuser to DIR conf file (replaces user).
854 kes  Add --with-db-password to ./configure
855 kes  Fix regress to handle db_password.
856 ebl  Add new 'status storage slots' that list autochanger
857      content.
858 ebl  Update vtape driver to compile only under Linux.
859 ebl  Fix a bug when restoring with a wrong mediatype.
860 18Jun08
861 kes  Eliminate ints from conf files and structures to avoid
862      word alignment problems
863 17Jun08
864 kes  Fix bug reported by Scott Barninger where the bacula script
865      refers to scripts in the wrong directory. Needed to meet the
866      requirements of recent FHS location changes.
867 ebl  Disable vtape for FreeBSD.
868 15Jun08
869 ebl  Modify disk-changer to check if slot contains something before
870      loading it.
871 14Jun08
872 ebl  Fix vtape on win32 and debian.
873 ebl  Fix autoselect patch (cause segfault).
874 13Jun08
875 ebl  Fix autoselect option broken for a while. Fix #1089. Need some
876      work with StorageId to be able to use a particular drive in a 
877      autochanger.
878 09Jun08
879 ebl  Rename vtape to vtape.
880 ebl  Update vtape driver.
881 08Jun08
882 ebl  Modify vtape driver to avoid sparse file.
883 kes  Add make clean of qt-source directory during ./configure
884 kes  Store last block number written to tape in DEVICE and
885      use it for testing for correct last block on EOT.
886
887 28Dec08
888 Release Version 2.4.4
889 27Oct08
890 Release Version 2.4.3
891 26Jul08
892 Release Version 2.4.2
893 07Jul08
894 Release Version 2.4.1
895 04Jun08
896 Release Version 2.4.0
897 25Jan08
898 Release Version 2.2.8