Skip to content
Snippets Groups Projects
  1. Dec 19, 2007
  2. Oct 02, 2007
  3. Sep 19, 2007
  4. Jun 06, 2007
  5. Apr 02, 2007
  6. Mar 01, 2007
    • Rene Brun's avatar
      From Sergey Linev: · 007837e1
      Rene Brun authored
      1. While name of the class is changed, one should use TDirectoryFile class instead of
         TDirectory at the moment, then new directory object is created.
      2. Appropriate change done in non-binary part of TDirectoryFile::Streamer() that old version of
         class can be read.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@18128 27541ba8-7e3a-0410-8455-c3a389f83636
      007837e1
  7. Feb 09, 2007
  8. Feb 05, 2007
  9. Feb 01, 2007
  10. Jan 30, 2007
  11. Jan 22, 2007
    • Rene Brun's avatar
      WARNING!!! This is an important change. · 7b4ccc3f
      Rene Brun authored
      This is the continuation of the effort to structure libCore into
      independent sub-packages.
      
      A new class TDirectoryFile is introduced. It derives from TDirectory
      and takes from TDirectory all the I/O functions.
      
      All the classes (except TROOT) deriving from TDirectory are now derived
      from TDirectoryFile. TDirectory keeps the previous API for back compatibility
      with several functions made virtual.
      
      This change should be back compatible, except if the user codes creates
      a file sub-directory by direct invokation of the TDirectory constructor
      instead of calling TDirectory::mkdir.
      
      Note that TMapFile is not yet fully adapted to the new scheme.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17419 27541ba8-7e3a-0410-8455-c3a389f83636
      7b4ccc3f
  12. Jan 20, 2007
  13. Jan 19, 2007
    • Rene Brun's avatar
      Call TBufferFile:: instead of TBuffer:: functions · 7cf0ae20
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@17404 27541ba8-7e3a-0410-8455-c3a389f83636
      7cf0ae20
    • Rene Brun's avatar
      · ab7dcad9
      Rene Brun authored
      CVs been changed into a pure abstract interface.
      The concrete implementation is in the new class TBufferFile.
      All classes previously deriving from TBuffer derive now from TBufferFile, ie
      
        TBuffer  <- TBufferFile  <- TMessage
                                 <- TBufferXML
                                 <- TBufferSQL
                                 <- TBufferSQL2
      
      Because there are several problems with C++ operators overloading,
      The I/O operators are defined in TBuffer. These are inline functions
      calling C++ virtual functions defined in TBuffer and overloaded
      by TBufferFile and all other derived classes when necessary.
      
      The previous implementation of TBuffer.h included <vector> and Bytes.h.
      The two include statements have been moved to TBufferFile.h. As a result the
      compilation of the ROOT system is now slightly faster and a big bonus
      is that changes in TBufferFile or Bytes.h will affect only TBufferFile
      and will not force the recompilation of the entire system.
      This change has some side-effects. If you assumed that include <vector>
      was done by TBuffer.h, you may have to specify this include directly
      in your class. This was the case for a few ROOT classes.
      
      
       : ----------------------------------------------------------------------
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17402 27541ba8-7e3a-0410-8455-c3a389f83636
      ab7dcad9
  14. Jan 12, 2007
    • Rene Brun's avatar
      · 32ac4af4
      Rene Brun authored
         TMath::Abs, TMath::Min, TMath::Max, TMath::Sign, TMath::Range
      These functions are unfortunately not defined in a standard way in std::
      
      This include is referenced by a new version of TMath.h.
      As a result, TMath.h is back compatible with the previous version.
      
      TMathBase.h is used in place of TMath.h in all the classes
      that will go into the future miniCore library.
      TMath.h and the TMath implementation will go into a new math sub-directory.
      
      TString.h uses TMathBase.h instead of TMath.h.
      As a result, it was necessary to include "TMath.h" in some classes
      assuming that TMath was included via TString and using other functions
      than the ones defined in TMathBase.h
       ----------------------------------------------------------------------
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17306 27541ba8-7e3a-0410-8455-c3a389f83636
      32ac4af4
  15. Jun 27, 2006
    • Rene Brun's avatar
      · aeb34a6f
      Rene Brun authored
      -Rename class TFilePrefetch -> TFileCacheRead
      -Rename class TTreeFilePrefetch -> TTreeCache
      -Add new class TFileCacheWrite that implements automatic caching
       when writing network files. This class replaces the previous class TCache.
      -old TCache class deleted.
      -TFileCacheRead can read buffers from the wite cache in TFileCacheWrite.
      -As a result TFile::UseCache is obsolete. The function is kept for
        backward compatibility.
      -Remove references to TCache from TXMLFile, TSQLFile, TwebFile, TNetFile
      -remove pointer TFile::fCache
      -Add pointers TFile::fCacheRead and TFile::fCacheWrite
      -Remove members fMaxCacheSize and fPageSize from TChain
      
      NOTE that it is recommended to
        rm -f base/src/*.d base/src/*.o
        rm -f net/src/*.d  net/src/*.o
        rm -f tree/src/*.d tree/src/*.o
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15572 27541ba8-7e3a-0410-8455-c3a389f83636
      aeb34a6f
  16. Jun 25, 2006
    • Rene Brun's avatar
      From Sergey Linev: · df45bc1d
      Rene Brun authored
      1. Support for MySQL version 3.2.x and 4.0 enabled again. For that old MySQL versions TSQLStatement is not supported.
      2. Small fix in TSQLFile. With old MySQL versions it does not try to use TSQLStatement class.
      3. Enabling/disabling error output for TSQLStatement class.
      4. Fix in error handling in TMySQLServer::Statement() method. Previousely error code was not correctly stored.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15538 27541ba8-7e3a-0410-8455-c3a389f83636
      df45bc1d
  17. Jun 23, 2006
  18. Jun 22, 2006
    • Rene Brun's avatar
      From Sergey Linev: · 04f1c2ac
      Rene Brun authored
      1. Implementation of TDirectory I/O for TSQLFile and TXMLFile
      2. In TSQLFile identifier length is now controled.
         Important for Oracle, where table or column name cannot be more than 32 symbols.
      3. Adding usage of TSQLStatement class where possible.
      4. Small performance improvment.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15512 27541ba8-7e3a-0410-8455-c3a389f83636
      04f1c2ac
  19. May 23, 2006
  20. May 22, 2006
  21. May 12, 2006
  22. May 11, 2006
  23. Apr 27, 2006
  24. Apr 18, 2006
  25. Apr 12, 2006
  26. Mar 20, 2006
  27. Mar 18, 2006
    • Fons Rademakers's avatar
      From Axel: · 48cd001d
      Fons Rademakers authored
      Dictionary G__%.o: G__%.cxx rules now in main Makefile instead of Module.mk's
      => changes in Module.mk.
      
      First Module.mk's included, then Makefile.precomp - we need ALLHDRS defined
      
      Split $(PCHEXTRAOBJ) and $(PCHFILE) rules - fixes clash with make -j2
      
      Define CINTCXXFLAGS:= - otherwise they will contain PCHCXXFLAGS via
      their definition as a copy of CXXFLAGS.
      
      MSVC: prevent LNK4206 linker warning (-Yl...)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@14301 27541ba8-7e3a-0410-8455-c3a389f83636
      48cd001d
  28. Feb 01, 2006
    • Philippe Canal's avatar
      From Sergei Linev: · 186aa6e8
      Philippe Canal authored
      Move CreateKey from TDirectory to TFile
      Here is also optimisation of SQL statements and adjustement for Oracle.
      Implementation of ClassBegin()/ClassMember()/ClassEnd() methdos for TBufferSQL2 and TBufferXML.
      I also implementation for ClassMemeber() method for case of "raw:data" for SQL and XML cases.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13977 27541ba8-7e3a-0410-8455-c3a389f83636
      186aa6e8
  29. Jan 25, 2006
  30. Dec 10, 2005
    • Fons Rademakers's avatar
      From Axel: · 0ab88198
      Fons Rademakers authored
      handle in a consistent way the new rootcint options -cint (default),
      -reflex and -gccxml. The type of dictionary to be used can be specified
      like: ./configure --with-dicttype=reflex. Notice that this option is
      there only for the developers working on the migration to the new
      dictionary system.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13609 27541ba8-7e3a-0410-8455-c3a389f83636
      0ab88198
  31. Dec 09, 2005
    • Fons Rademakers's avatar
      From Axel: · f4578298
      Fons Rademakers authored
      in case we have gmake >= 3.80 we can use the new | (order) syntax where
      all dependencies after the | are required to be there but not trigger
      execution of the rule. This should greatly enhance the build experience
      on Win32 and AIX (platforms that need the EXPLICITLINK option).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13584 27541ba8-7e3a-0410-8455-c3a389f83636
      f4578298
  32. Dec 07, 2005
  33. Dec 02, 2005
  34. Dec 01, 2005
    • Philippe Canal's avatar
      From Sergei Linev: · 87d979f2
      Philippe Canal authored
      This patch allows more clear representation of TClonesArray data in TSQLFile.
      
      It also solves problem of correct saving of array of objects in TSQLFile.
      I redefine in TBufferSQL2 following functions:
      
      void WriteFastArray(void* start, const TClass* cl, Int_t n, TMemberStreamer* s)
      Int_t WriteFastArray(void** startp, const TClass* cl, Int_t n, Bool_t isPreAlloc, TMemberStreamer* s)
      void ReadFastArray(void* start, const TClass* cl, Int_t n = 1, TMemberStreamer* s = 0)
      void ReadFastArray(void** startp, const TClass* cl, Int_t n = 1, Bool_t isPreAlloc = kFALSE, TMemberStreamer* s = 0)
      
      In these functions I make replacement which I propose before - instead of cl->Streamer(buf, obj),
      I use buf->StreamObject(obj, cl) ("parenthesis" arround cl->Streamer(buf, obj) call)
      In case of TBufferSQL2 I treat StreamObject() as WriteObject()/ReadObject()
      calls. Therefore, I can solve problem with objects array. Now it is easy to produce one column for
      each array element.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13435 27541ba8-7e3a-0410-8455-c3a389f83636
      87d979f2
    • Rene Brun's avatar
      Remove unused statement in TSQLStructure::TryConvertObjectArray · e4dd4a79
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@13420 27541ba8-7e3a-0410-8455-c3a389f83636
      e4dd4a79
  35. Nov 29, 2005
  36. Nov 28, 2005
    • Philippe Canal's avatar
      From Sergei Linev: · 0bbc87fb
      Philippe Canal authored
      I made following modification:
      
      1. Usage of table indexes. By default, they created only for basic tables: KeysTable and ObjectsTable.
         It is possible to configure TSQLFile to create indexes also for other type of tables or disable indexes at all.
      
      2. Use of transaction. Now by default this option on and protect storage of object data to datatables.
         For some types of MySQL tables transaction are not supported, therefore I include in configurations
         possibility to setup type of table which should be used.
      
      3. Configurations. For all kind of configuration I create small table.
         Configurations can be changed only when TSQLFile is created with option "CREATE" or "RECREATE".
         In that case configurations can be changed until first write operation.
      
      4. Locking. I did not use "native" database locking mechnism while they are very different in MySQL and Oracle and
         may differ also in other SQL database. I put in Configuration table one flag, which says if database is already
         opened for writing by other TSQLFile instance and prevent other TSQLFile to have write access.
         For emergency cases one can use "BREAKLOCK" option in TSQLFile constructor to ignore that locking.
         This is not real locking and any other user with normal sql queries can disturb tables data, but I do not see
         now other solution, which may work for different databases. May be you know better solutions?
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13383 27541ba8-7e3a-0410-8455-c3a389f83636
      0bbc87fb
Loading