[root] / trunk / core / base / src / TAttAxis.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TAttAxis.cxx

Parent Directory Parent Directory


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

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: 9638 byte(s)
Diff to previous 27859
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 27859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 18 07:34:41 2009 UTC (5 years, 10 months ago) by brun
File length: 9563 byte(s)
Diff to previous 22961
-Do not make virtual the functions in the Attribute classes.
-Add function void TAttAxis::SetNdivisions(Int_t n1, Int_t n2, Int_t n3, Bool_t optim)

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 9334 byte(s)
Diff to previous 22419
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9334 byte(s)
Diff to previous 20877
From Andrew Savchenko:
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.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9314 byte(s)
Diff to previous 19826
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 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/base/src/TAttAxis.cxx
File length: 9314 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/base/src/TAttAxis.cxx
File length: 9365 byte(s)
Diff to previous 17724
remove :$ from tag line

Revision 17724 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 14:17:24 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9375 byte(s)
Diff to previous 17446
In the Streamer functions replace teh lines like
         TPad::Class()->ReadBuffer(b, this, v, R__s, R__c);
         TPad::Class()->WriteBuffer(b,this);
by
         b.ReadClassBuffer(TPad::Class(), this, v, R__s, R__c);
         b.WriteClassBuffer(TPad::Class(),this);

Revision 17446 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 08:11:15 2007 UTC (8 years ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9366 byte(s)
Diff to previous 17323
Remove dependency from TFile (thanks to new function TBuffer::GetVersionOwner)

Revision 17323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 11:52:01 2007 UTC (8 years ago) by rdm
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9492 byte(s)
Diff to previous 17298
<cmath> not needed anymore after introduction of TMathBase.h.

Revision 17298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 09:31:33 2007 UTC (8 years ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9455 byte(s)
Diff to previous 15672
Replace "TMath.h" by <cmath> and calls to TMath::Abs by abs

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9501 byte(s)
Diff to previous 14336
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9501 byte(s)
Diff to previous 13787
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
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.

Revision 13787 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 6 12:56:28 2006 UTC (9 years ago) by couet
Original Path: trunk/base/src/TAttAxis.cxx
File length: 9482 byte(s)
Diff to previous 13258
- Complete TAttAxis::SetNdivisions help
- Changes to make the rules checker happy

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8990 byte(s)
Diff to previous 10019
White spaces and comments update

Revision 10019 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 16:39:12 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8929 byte(s)
Diff to previous 6161
From Ilka:
code for saving any user
specified color via color widgets in a macro. Any color different from
the standard root colors is saved via hex rgb string. Up to now colors
were save via the index and if this index > 228 the running macro causes
SegV.

A new static method SaveColor() is added in TColor class.

Revision 6161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 15:08:44 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8426 byte(s)
Diff to previous 4445
Take advantage of the new functions in TStyle to set the default
options for the axis attributes and the histogram title.

Revision 4445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 3 10:48:53 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8418 byte(s)
Diff to previous 3838
Make all Copy functions const

Revision 3838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 2 11:56:14 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8411 byte(s)
Diff to previous 3748
Replace gFile by the TBuffer::GetParent()

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8369 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8369 byte(s)
Diff to previous 3684
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3684 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 16 15:30:54 2002 UTC (13 years ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8379 byte(s)
Diff to previous 916
Add an optional argument to SetNdivisions.
void TAttAxis::SetNdivisions(Int_t n, Bool_t optim)
{
//   Set the number of divisions for this axis
//   if optim = kTRUE (default), the number of divisions will be
//                      optimized around the specified value.
//   if optim = kFALSE, or n < 0, the axis will be forced to use
//                      exactly n divisions.

Revision 916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 21 16:26:12 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8081 byte(s)
Diff to previous 3
Function Streamer now in the implementation file.
Add code for the new automatic schema evolution algorithm

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/base/src/TAttAxis.cxx
File length: 8066 byte(s)
Copied from: branches/rdm/base/src/TAttAxis.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/base/src/TAttAxis.cxx
File length: 8066 byte(s)
Initial import of ROOT into CVS

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