ROOT.NET v2.2

Rating: No reviews yet
Downloads: 0
Released: Nov 1, 2011
Updated: Apr 21, 2012 by gwatts
Dev status: Beta Help Icon

Available Downloads

There are no downloads associated with this release.

Release Notes

This is the third in the v2 series and has a bunch of new features compared to ROOT.NET v2.1. If you are upgrading from v1x, please make sure to read the release notes - there are some breaking changes. Below are the changes relative to ROOT.NET v2.0 and ROOT.NET v2.1.

New Features:

  • Every .NET wrapper now has a method called SetNativePointerOwner. Use this if by some action you are telling ROOT to take over ownership of the object (i.e. adding a TObject to a TDirectory) and you want to make sure the .NET garbage collector doesn't come along delete the object out from under ROOT.
  • Globals (like gDirectory) are now re-fetched everytime you access them. This means when root changes the value of gDirectory it can actually be followed in the .NET wrapper (was not previously true). If you make local copy, of course, changes won't be followed as this is standard .NET symantics.
  • A very simple implementation of .NET 4.0's dynamic is present. Only arguments of types int, long, float, and double are present. This is to allow testing. Eventually it is hoped if you value memory size over efficiency you can just use the core library and ignore everything else in the wrapper libraries. But there is a way to go!
  • Globals that aren't associated with an object are now translated (like gDebug, etc.). See the globals namespace where everything is collected. The old way still works (the global variable associated with the class).

Bug Fixes:

  • Lots of improvements in the build scripts
  • x-checks in the wrapper code that were redundant were removed.

Reviews for this release

No reviews yet for this release.