Skip to content
Snippets Groups Projects
  1. Apr 23, 2008
  2. Apr 14, 2008
    • Philippe Canal's avatar
      From Paul: · 4688a232
      Philippe Canal authored
      Slight doc update.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@23216 27541ba8-7e3a-0410-8455-c3a389f83636
      4688a232
    • Fons Rademakers's avatar
      From Fabrizio: · 6e016408
      Fons Rademakers authored
      - The implementation of TFile throughput and info sending was
        just sending 'regular' samples about the activity of the single TFile
        instance that happened to trigger an activity in the right moment.
      - Now TMonaLisaWriter keeps internally track of every activity
        and regularly sends summaries valid for all the files which had
        activity in the last time interval.
      - Additionally, it's now finalized the infrastructure able to measure
        and keep track of the file Open latency. A packet is sent for each
        successful Open, sending the measures of the latencies for the
        various phases of the open. Currently exploited fully by TAlienFile
        and TXNetFile. Easy to report from other TFiles too.
      - Now, the hook for the Close() func triggers sending of a packet
        containing various information about the performance related to that
        file only.
      - Added support also for performance monitoring when writing
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@23209 27541ba8-7e3a-0410-8455-c3a389f83636
      6e016408
  3. Apr 11, 2008
  4. Apr 10, 2008
  5. Apr 09, 2008
  6. Apr 08, 2008
  7. Apr 07, 2008
    • Philippe Canal's avatar
      When reading more than one TStreamerInfo for the same versioned · e62ccad5
      Philippe Canal authored
      class, we now use the highest possible class version as the current
      version of the class.  Practically, we update the class version
      when reading new (higher versioned) StreamerInfo until the Class
      is actually used (i.e. TClass::GetClassVersion is call directly
      or indirectly).
      
      In particular, if a file has several StreamerInfos for the same
      versioned class, we will use the highest version number as the
      'current' class version (as opposed to the lowest until now).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@23002 27541ba8-7e3a-0410-8455-c3a389f83636
      e62ccad5
  8. Apr 06, 2008
    • Philippe Canal's avatar
      For backward compatibility TStreamerInfo::BuildCheck compares the checksum of · 1057d5f9
      Philippe Canal authored
      the on-file StreamerInfo not only to the current value of the class checksum
      but also to the checksum calculated using the older algorithms.
      
      This patch extends this test to also be done when comparing 2 on-file StreamerInfo.
      
      This is implemented via a new function TStreamerInfo::GetCheckSum(UInt_t) which
      re-implement the TClass::GetCheckSum algorithms using the TStreamerElements 
      instead of the RealData information.  [Note that due to slight different in 
      class naming convention, the 2 methods are not completely interchangeable].
      
      This removes spurrious warning message when loading 2 older files which
      were written with 2 different version of the TClass CheckSum algorithm
      (and the in-memory class's version is greater than both TStreamerInfos'
      class version).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@22996 27541ba8-7e3a-0410-8455-c3a389f83636
      1057d5f9
    • Philippe Canal's avatar
      improve peformance of TFile::ReadStreamerInfo · c736ab2e
      Philippe Canal authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@22994 27541ba8-7e3a-0410-8455-c3a389f83636
      c736ab2e
  9. Apr 05, 2008
    • Philippe Canal's avatar
      Use the DirectoryAutoAdd facility for the classes: · 70fc8753
      Philippe Canal authored
              TTree, TH1, TEventList, TEntryList, TGraph2D
      (and hence their derived classes).
      
      The instances of those classes are now added automatically 
      to the current directory only when Constructe'd with arguments or Clone'd
      and to the directory they are read from when their are stored
      directly in a TKey. [Note: the default constructor never adds
      the object to the current directory]
      
      The directory auto add can still be disabled for instance
      of TH1 and TGraph2D by setting TH1::AddDirectory.
      
      Additionally one can disable the directory auto add for
      a specific class by doing:
      
          TClass::GetClass("myclass")->SetDirectoryAutoAdd(0)
      
      However you might want to also be able to restore the
      behavior in which case you ought to do:
      
          TClass *cl = TClass::GetClass("myclass");
          ROOT::DirAutoAdd_t func = cl->GetDirectoryAutoAdd();
          cl->SetDirectoryAutoAdd(0);
      
      TROOT::ReadingObject is marked as deprecated.. It is still
      set (as it was) but is no longer used by the above mention
      classes.
      
      NOTE:  One side effect of this change, is that instnace 
      of TTree, TH1, TEventList, TEntryList, TGraph2D that are
      retrieved from a TMessage (i.e. from a socket) no longer
      auto register themselves to the current ROOT directory.
      
      Add a new optional parameter to TDirectory::Append: 'replace'
      If replace is true (the default is false), the Append will
      first remove from the directory any existing object and
      print the message:
      
         Replacing existing OldClass: thename (Potential memory leak).
      
      Add a new option parameter to TDirectory::CloneObject: 'autoadd'
      If autoadd is true (the default), CloneObject will call the
      object 'DirectoryAutoAdd' function (if any)
      
      In TDirectory::CloneObject add support for multiple inheritance
      from TObject where TObject is not the left most base class.
      
      Fix memory leak in TGraph2D::operator= (and add TGraph2D::Clear)
      
      Cleanup some documentation
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@22992 27541ba8-7e3a-0410-8455-c3a389f83636
      70fc8753
  10. Apr 03, 2008
  11. Apr 02, 2008
  12. Mar 27, 2008
  13. Mar 21, 2008
  14. Mar 20, 2008
  15. Mar 13, 2008
  16. Mar 11, 2008
  17. Mar 10, 2008
  18. Mar 07, 2008
  19. Mar 03, 2008
    • Fons Rademakers's avatar
      From Andrew Savchenko: · f304eff5
      Fons Rademakers authored
      ROOT can not be compiled with gcc-4.3.
      Some ROOT source files doesn't contain required #include directives,
      for example, they use strlen(), but #include <string.h> is missed or
      malloc() is used and #include <stdlib.h> is missed. 
      
      Earlier versions of gcc allowed some headers to be included implicitly,
      but issued a warning (-Wimplicit-function-declaration). Newer one,
      gcc-4.3 denies such silly behaviour: all required headers must be explicitly
      included. 
      
      Attached patch fixes this. Also it fixes another issue, which disallows
      ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
      so expressions like std::memcpy() are no longer valid and plain memcpy()
      should be used instead.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@22419 27541ba8-7e3a-0410-8455-c3a389f83636
      f304eff5
  20. Feb 26, 2008
    • Philippe Canal's avatar
      From Paul and Philippe: · 8c173f9a
      Philippe Canal authored
      Correct the logic that is avoiding the storing of TStreamerInfo for std::string
      and the STL collection in ForceWriteInfo.  Now ForceWriteInfo always ignore the
      request when the TStreamerInfo itself is for string or STL container.
      The previous implementation was only ignoring the request for the TStreamerElement
      that were string or STL container.
      In addition, the previous implementation was overzealous and was inadvertently 
      ignoring the request for TStreamerElement pointing at any class containing the
      STL container names AND any class which had :: in them.  In particular this
      meant that slow CloneTree was (fataly) missing the copy of the TStreamerInfo
      for class that are part of the TTree but had only a base and no member or in 
      some cases where it had only object data members.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@22358 27541ba8-7e3a-0410-8455-c3a389f83636
      8c173f9a
  21. Feb 21, 2008
  22. Jan 30, 2008
  23. Jan 28, 2008
  24. Jan 26, 2008
    • Rene Brun's avatar
      From Lukasz Janyst: · 8b8d135b
      Rene Brun authored
         * TStreamerInfo: TPointerCollection adapter class and access methods
           added to enable handling collections of pointers with existing
           Read|WriteBuffer code
      
         * TCollectionProxy: check if the proxy was initialized when
           calling HasPointers
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@21862 27541ba8-7e3a-0410-8455-c3a389f83636
      8b8d135b
  25. Jan 22, 2008
    • Fons Rademakers's avatar
      From Axel: · a5b624b2
      Fons Rademakers authored
      this patch prevents all dictionaries from being rebuild when non dict related
      changes are made in CINT. When the dictionaries change the new
      cint/inc/cintdictversion.h must be updated which triggers a dictionary
      rebuild. For example:
      touch cint/src/v6_var.cxx && make: rebuild no dictionaries
      touch cint/inc/cintdictversion.h && make: rebuild all dictionaries
      touch utils/src/rootcint.cxx && make: rebuild all dictionaries
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@21802 27541ba8-7e3a-0410-8455-c3a389f83636
      a5b624b2
  26. Jan 19, 2008
Loading