Hi everyone,
I've just put the final touch on Mibble 2.7.beta2, which
I hope to release as the final 2.7 version in a few days.
I encourage anyone affected by or interested in any of
the issues listed below to verify that this beta release
works correctly:
o Added MIB loader support for loading from a single file
The MibLoader class now properly supports loading MIB modules
from a single file even if the modules have references to each
other. Previously it was only possible to load multiple MIBs
in a single file if the referenced MIB modules were placed at
the top of the file. Thanks to Ted Kaczmarek for suggesting
this. [Bug #16417]
o Added detection of explicitly vs implicitly loaded MIBs
The Mib class now contains a new isLoaded() method to enable
easy separation between explicitly and implicitly loaded MIBs.
The latter are MIB modules that have been loaded due to an
import declaration. The MibblePrinter application has also been
updated to print all explicitly loaded MIBs instead of just the
first MIB module in each file. [Bug #16419]
o Added numeric OID value cache for improved performance
The ObjectIdentifierValue class now caches the result of the
toString() method in order to improve performance. Thanks to
Mohamed Ben-Hedi Sghaier for providing a fix for this.
[Bug #16418]
o Added simple method for finding MIB importers
The Mib.getImportingMibs() method has been added to provide a
simple API for finding MIB importers. If the returned list is
empty, the MIB is safe for unloading. [Bug #16543]
o Added easy access to the root object identifier
The MibLoader.getRootOid() method has been added to make it
easier to access the root object identifier value (i.e. the
predefined iso value. [Bug #16544]
o Added easy lookup of referenced textual conventions
The SnmpTextualConvention.findReference() method has been added
to enable easy lookup of referenced textual conventions.
[Bug #16643]
o Changed toString() to print enumeration names
The BitSetType and IntegerType classes have been modified to
print both enumeration names and values in the toString()
method. Both the MibbleBrowser and MibblePrinter applications
are affected by this, making it easier to interpret SNMP
results returned. [Bug #16420]
o Fixed issue with MIB unloading not removing references
The MibLoader.unload() method didn't properly remove all
references to the MIB as the object identifier tree remained
linked. This has now been corrected so that an unloaded MIB
will be completely removed and eligible for garbage collection.
Thanks to Eshwar Yedavalli for reporting this. [Bug #16285]
o Fixed IndexOutOfBoundsException for some error logs
When loading MIB files with invalid line termination sequences
the MibLoaderLog couldn't properly locate and load the context
line for any errors. This has been fixed so that only linefeed
(LF, 0x0A) is counted in line numbers when reading context
lines. Thanks to Ted Kaczmarek for reporting this. [Bug #16252]
Thanks for your help.
/Per
_______________________________________________
Mibble-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/mibble-users