[root] / trunk / io / xml / src / TXMLPlayer.cxx Repository:
ViewVC logotype

Log of /trunk/io/xml/src/TXMLPlayer.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by rdm
File length: 49326 byte(s)
Diff to previous 44507
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 49325 byte(s)
Diff to previous 40730
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 40730 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 26 15:58:44 2011 UTC (3 years, 4 months ago) by pcanal
File length: 48605 byte(s)
Diff to previous 38460
Fix coverity 23719: inferred misuse of mixed enums

Revision 38460 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 15:28:08 2011 UTC (3 years, 10 months ago) by pcanal
File length: 48666 byte(s)
Diff to previous 36004
Fix mixed enums errors (coverity #23695, 23696, 23707, 23710, 23979)

Revision 36004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 1 12:57:36 2010 UTC (4 years, 3 months ago) by rdm
File length: 48662 byte(s)
Diff to previous 35848
fix coverity 13815.

Revision 35848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 28 15:40:33 2010 UTC (4 years, 3 months ago) by rdm
File length: 48632 byte(s)
Diff to previous 35846
use strlcat instead of strncat.

Revision 35846 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 28 15:24:48 2010 UTC (4 years, 3 months ago) by rdm
File length: 48632 byte(s)
Diff to previous 23122
fix coverity 13815.

Revision 23122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 14:56:30 2008 UTC (6 years, 9 months ago) by rdm
File length: 48570 byte(s)
Diff to previous 20882
move the following directories into "io":

castor, chrip, dcache, gfal, io, rfio, sql, xml

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 48570 byte(s)
Diff to previous 20173
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 11:52:49 2007 UTC (7 years, 3 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 48570 byte(s)
Diff to previous 19826
Second batch of changes to support the new type Float16_t.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 47967 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 48020 byte(s)
Diff to previous 17711
remove :$ from tag line

Revision 17711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 5 18:11:29 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 48030 byte(s)
Diff to previous 17579
-Implement necessary casts due to TVirtualStreamerinfo.

Revision 17579 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 11:24:32 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 46315 byte(s)
Diff to previous 17561
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 46314 byte(s)
Diff to previous 13383
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 13383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 28 23:22:31 2005 UTC (9 years, 1 month ago) by pcanal
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 46295 byte(s)
Diff to previous 13317
From Sergei Linev:
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?

Revision 13317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 22 20:42:37 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 46293 byte(s)
Diff to previous 13291
From Sergei:
Fix white spaces, add more comment to functions, add CVS tag lines and copyright.
It should now work  for array of objects and most stl classes.
I put limitation for array size. If array with fixed size exceed limit (default 20),
array will be converted to raw data, otherwise each element of array will be presented as
single column.

Revision 13291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 20 05:07:41 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 47305 byte(s)
Diff to previous 12668
From Sergey,
Fix required by the code rule checker.
Take advantage of the new TFile/TDirectory interface to
simplify the code.

Revision 12668 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 6 09:34:48 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 47579 byte(s)
Diff to previous 11170
Fix coding conventions violations.

Revision 11170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 11:46:02 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 47554 byte(s)
Diff to previous 10958
From Sergei Linev

1. My TXMLEngine does not correctly treat quote symbol ("), which may appear
in comments to any data member.
   I fix this simple problem.

2. Somewhere between ROOT 4.01 and 4.03 algorithm how elements of STL
containers like vector<>,
   set<>, deque<> are stored in TBuffer was changed. Before each element was
stored individually, now they will
   be written simultaniousely by WriteFastArray operation. On binary level
it looks ok, but for xml
   format it brakes compatibility with previous versions. Hopefully, this
will not affect any users.

3. In connection with previous problem I modify TXMLPlayer class to have a
propper support of STL containers
   in external readers. I also add in class description link to example how
TXMLPlayer class can be used.
   This example inludes additional TXmlFile class (differ from ROOT
TXMLFile) which is now also integrates own
   xml parser and does not require libxml2 library.

Revision 10958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 19 18:30:58 2005 UTC (10 years ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 46185 byte(s)
Diff to previous 10837
From Philippe:
This patch implement support for bool of various in memory size.  They are
always written using only 1 bytes.  This solves problem on MacOS where
sizeof(bool)==4 instead of 1.

Note that there should still be a problem with the old-style splitted branch
(tested in Event.old.split.root.
A fix for this will come later on.

Revision 10837 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 17:15:48 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 45599 byte(s)
Diff to previous 9346
Remove obsolete comments referencing libxml2

Revision 9346 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 30 09:34:27 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 45718 byte(s)
Diff to previous 9341
New version from Sergey Linev with enhancements to support STL containers.

Revision 9341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 14:45:38 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 45575 byte(s)
Diff to previous 9333
From Sergey Linev:
I slightly modify xml package. I remove non used class TXMLDtdGenerator. I
plan to move it's code in TXMLPlayer class later, when all code generation
will be done. Do not forget to delete TXMLDtdGenerator.* files from
root/xml/inc, root/xml/src and root/include directory.

I fix problem for the case, when class inherits from STL class.

I also add some comments to new TXMLPlayer class.

Revision 9333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 28 09:12:06 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 28573 byte(s)
Diff to previous 9318
Fix a portability problem with a redefinition of a loop index

Revision 9318 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 25 16:53:34 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/xml/src/TXMLPlayer.cxx
File length: 28570 byte(s)
New class from Sergey Linev (described later)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9