Log of /trunk/core/base/src/TTimeStamp.cxx
Parent Directory
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: 27736 byte(s)
Diff to
previous 43972
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
43972 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 26 14:53:18 2012 UTC (2 years, 8 months ago) by
rdm
File length: 27716 byte(s)
Diff to
previous 30229
fix a very old (10 years) issue with wrong MacOS X TZ reporting (which for
OSX included the DST). Now we return purely the geographical TZ offset
from UTC independent of DST (as for all other platforms).
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: 27752 byte(s)
Diff to
previous 22430
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
Revision
17837 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 9 17:46:35 2007 UTC (7 years, 11 months ago) by
rdm
Original Path:
trunk/base/src/TTimeStamp.cxx
File length: 27750 byte(s)
Diff to
previous 16511
From Olivier and me:
Fix in TTimeStamp::GetZoneOffet(). The offset on Mac OS X and Free and Open
BSD was the oposite from Linux/Unix and Windows. The offset returned by this
routine is now defined as:
This is the value in seconds one must add to the local time to arrive at
Coordinated Universal Time, so it is negative east of the Prime Meridian.
the difference was due in the way the offset was obtained on the different
platforms. The redefinition results in the offset flipping sign on Mac/BSD
to be in lign with the other platforms.
Revision
12123 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 22 20:18:12 2005 UTC (9 years, 7 months ago) by
brun
Original Path:
trunk/base/src/TTimeStamp.cxx
File length: 27658 byte(s)
Diff to
previous 11897
From Constantin Loizides
This patch implements:
- decentralized, automatic mutex initialization,
see R__LOCKGUARD2 in TVirtualMutex
- PROOF parallel startup fixes
- more thread protection (in base, cont, meta, rest to be done)
- cleanups
From Eddy Offermann:
TString::Atoi and Atof are made const.
Revision
11896 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 27 08:59:12 2005 UTC (9 years, 8 months ago) by
rdm
Original Path:
trunk/base/src/TTimeStamp.cxx
File length: 27647 byte(s)
Diff to
previous 11200
From Constantin:
The attached patch makes TTimeStamp a lot more thread safe.
The "fake_ns" part is still a problem and probably needs a
mutex, not sure if it could be done otherwise (although the effect
is very small and only in the nsec range). I also don't
know if the _r versions are available everywhere but it should
be for the platform supporting threads (ifdef'ed on _REENTRANT).
Revision
9852 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 27 15:47:24 2004 UTC (10 years, 4 months ago) by
rdm
Original Path:
trunk/base/src/TTimeStamp.cxx
File length: 25944 byte(s)
Diff to
previous 9418
add the new methods:
Int_t GetDayOfYear(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
Int_t GetDayOfWeek(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
Int_t GetWeek(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
Bool_t IsLeapYear(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
and the new static utility functions:
static Int_t GetDayOfYear(Int_t day, Int_t month, Int_t year);
static Int_t GetDayOfWeek(Int_t day, Int_t month, Int_t year);
static Int_t GetWeek(Int_t day, Int_t month, Int_t year);
(IsLeapYear(Int_t year) already existed).
Revision
5717 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by
rdm
Original Path:
trunk/base/src/TTimeStamp.cxx
File length: 19475 byte(s)
Diff to
previous 5518
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.
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.