- Dec 19, 2007
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@21471 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Oct 02, 2007
-
-
Rene Brun authored
For more info about Float16_t see TBufferFile::WriteFloat16. git-svn-id: http://root.cern.ch/svn/root/trunk@20170 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 19, 2007
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@19826 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@19825 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 06, 2007
-
-
Fons Rademakers authored
- change method IsSupportStatement() to HasStatement() git-svn-id: http://root.cern.ch/svn/root/trunk@18954 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 02, 2007
-
-
Fons Rademakers authored
directory. These rootmap files are generated automatically when the associated LinkDef file(s) or the config/Makefile.depend is changed. No more "make map" needed, rootmaps are always up-to-date! git-svn-id: http://root.cern.ch/svn/root/trunk@18452 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 01, 2007
-
-
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
-
- Feb 09, 2007
-
-
Rene Brun authored
the recent changes in TBuffer. git-svn-id: http://root.cern.ch/svn/root/trunk@17813 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Feb 05, 2007
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17711 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Feb 01, 2007
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17621 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 30, 2007
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17574 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 22, 2007
-
-
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
-
- Jan 20, 2007
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17407 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 19, 2007
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17404 27541ba8-7e3a-0410-8455-c3a389f83636
-
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
-
- Jan 12, 2007
-
-
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
-
- Jun 27, 2006
-
-
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
-
- Jun 25, 2006
-
-
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
-
- Jun 23, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15522 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jun 22, 2006
-
-
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
-
- May 23, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15135 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 22, 2006
-
-
Rene Brun authored
1. Streamer info are now stored/read from SQL database. 2. Usage of TSQLStatement class (speed up for Oracle) 3. Tested and adjusted for ODBC plugin git-svn-id: http://root.cern.ch/svn/root/trunk@15125 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 12, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@15007 27541ba8-7e3a-0410-8455-c3a389f83636
-
- May 11, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@14994 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 27, 2006
-
-
Rene Brun authored
This patch fixes 2 MSVC8 warnings. git-svn-id: http://root.cern.ch/svn/root/trunk@14863 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 18, 2006
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@14739 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 12, 2006
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@14676 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 20, 2006
-
-
Philippe Canal authored
Warning: This means that some file that relied on the indirect inclusion of these header file might now fail to compile with an error message mention that gROOT is no known or that TClass, TROOT or TStreamerInfo is incompletely defined. Simply add the proper include directive. git-svn-id: http://root.cern.ch/svn/root/trunk@14336 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 18, 2006
-
-
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
-
- Feb 01, 2006
-
-
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
-
- Jan 25, 2006
-
-
Philippe Canal authored
Update to sql and xml following the chnage to reduce reliance on gFile and gDirectory git-svn-id: http://root.cern.ch/svn/root/trunk@13927 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 10, 2005
-
-
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
-
- Dec 09, 2005
-
-
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
-
- Dec 07, 2005
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13524 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
group the TSQLFile classes into libSQL which acts as a normal TFile plugin. git-svn-id: http://root.cern.ch/svn/root/trunk@13523 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 02, 2005
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13471 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 01, 2005
-
-
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
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13420 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 29, 2005
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13384 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 28, 2005
-
-
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
-