[root] / trunk / html / src / THtml.cxx Repository:
ViewVC logotype

Log of /trunk/html/src/THtml.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: 98657 byte(s)
Diff to previous 48809
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 48809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 5 03:54:35 2013 UTC (22 months, 2 weeks ago) by pcanal
File length: 98658 byte(s)
Diff to previous 48468
Add typeinfo to the list of known header files ...

Revision 48468 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 4 22:49:00 2013 UTC (23 months, 2 weeks ago) by pcanal
File length: 98588 byte(s)
Diff to previous 48465
[In part because of the lack of module,] the ClassInfo for STL collection is not always present when it could/should, so we also need to filter out the header file from the compiler based on their name

Revision 48465 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 4 17:34:53 2013 UTC (23 months, 2 weeks ago) by pcanal
File length: 97969 byte(s)
Diff to previous 46189
When we have a ClassInfo asked directly if it comes from std

Revision 46189 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 19:52:33 2012 UTC (2 years, 3 months ago) by pcanal
File length: 97805 byte(s)
Diff to previous 45715
Add support for the filename (platform depend :() given by cling for STL collection and common structs [To be replaced by new interface/API in core/meta when available]

Revision 45715 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 27 16:42:26 2012 UTC (2 years, 4 months ago) by axel
File length: 97294 byte(s)
Diff to previous 44507
Find Reflex sources. Fixes Savannah #97058.

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: 97142 byte(s)
Diff to previous 44070
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 44070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 14:46:38 2012 UTC (2 years, 8 months ago) by axel
File length: 97132 byte(s)
Diff to previous 39712
Coverity

Revision 39712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 14 13:29:14 2011 UTC (3 years, 7 months ago) by axel
File length: 97033 byte(s)
Diff to previous 38704
Remove hacks for TMVA, RooFit, now that their headers follow the inc/ versus include/ symmetry.
Fixes doc for RooFit/Stat/..., TMVA.

Revision 38704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 14:00:15 2011 UTC (3 years, 9 months ago) by rdm
File length: 98011 byte(s)
Diff to previous 38677
fix in comment.

Revision 38677 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 30 15:43:18 2011 UTC (3 years, 9 months ago) by rdm
File length: 97998 byte(s)
Diff to previous 38666
add missing "/" after $ROOTSYS.

Revision 38666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 30 10:03:07 2011 UTC (3 years, 9 months ago) by axel
File length: 97976 byte(s)
Diff to previous 38656
Prepend ROOTSYS to the module doc directory when generating doc for ROOT.
In the doc, don't mention functions that don't exist.

Revision 38656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 29 16:42:53 2011 UTC (3 years, 9 months ago) by rdm
File length: 98106 byte(s)
Diff to previous 37484
in THtml::TFileSysDB::Fill() call TSystem::ExpandPathName() on each
element, as the strings may come from Root.Html.SourceDir.

Revision 37484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 10:06:11 2010 UTC (4 years, 1 month ago) by axel
File length: 98070 byte(s)
Diff to previous 37478
TKDTree classes are templates.

Revision 37478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 08:55:31 2010 UTC (4 years, 1 month ago) by axel
File length: 98125 byte(s)
Diff to previous 37375
More mathcore classes for which THtml should use the source files.
After the release, this list of classes will be replaced by a new exclusion of the Fit and Math subdirectories, instead of excluding all of mathcore's source files.

Revision 37375 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 17:32:41 2010 UTC (4 years, 1 month ago) by axel
File length: 97955 byte(s)
Diff to previous 37363
Fix up headers for HistFactory: they claim to be in include/RooStats/HistFactory/* which in fact maps to roofit/histfactory/inc.
Fixes module doc RooFit/HistFactory and enabled doc of HistFactory classes: they were suppressed before because their header and source files couldn't be located.

Revision 37363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 10:00:10 2010 UTC (4 years, 1 month ago) by axel
File length: 97760 byte(s)
Diff to previous 36231
Fix index of a few TMVA and RooStats classes: they had a DeclFileName beginning with "./" which confused THtml.

Revision 36231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 9 20:24:19 2010 UTC (4 years, 3 months ago) by axel
File length: 97668 byte(s)
Diff to previous 35218
Repair bugs found by Coverity

Revision 35218 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 10 09:58:44 2010 UTC (4 years, 4 months ago) by axel
File length: 97647 byte(s)
Diff to previous 34286
Coverity: ctor init

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 97623 byte(s)
Diff to previous 31223
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 31223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 17 08:10:32 2009 UTC (5 years, 2 months ago) by axel
File length: 97712 byte(s)
Diff to previous 29636
Only process TObject once.

Revision 29636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 30 14:50:00 2009 UTC (5 years, 5 months ago) by rdm
File length: 97586 byte(s)
Diff to previous 27910
fix gcc-3.4 compiler warnings. This compiler does not like it when Long64_t's
are cast to pointers on 32-bit machines without first being cast to Long_t
(gcc 4.x does not complain about this).

Revision 27910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 21 17:26:55 2009 UTC (5 years, 10 months ago) by axel
File length: 97578 byte(s)
Diff to previous 27897
Fix regexp for path normalization.
First compare filenames before doing CPU-time expensive path name calculation.
Reduce the number of average collisions of the all-files hashtable to a reasonable number.

Revision 27897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 20 13:27:04 2009 UTC (5 years, 10 months ago) by axel
File length: 97548 byte(s)
Diff to previous 27728
Improve speed of THtml, e.g. by caching the ClassEdit results and allowing the fClasses hash list to rehash, or using a THashList for the class's functions instead of a TList.
Fix the directive handling for module indexes; now works for tutorials (aka Convert), class doc, module indices, source files.
Fix several issues wrt documenting non-ROOT libraries, e.g. reported by Nick, e.g. determine the module name given an input path from the last subdir part of the input path ("../a" will be module "a").
Don't set ViewCVS to root.cern.ch if we're not documenting ROOT.
Work around a bug in CINT: ignore namespaces that are unknown (CINT can bogus create typedefs e.g. in ROOT::Math::ROOT::Math during template instantiation).
Improve the layout of the tutorials (hover link color was wrong).

There is still an issue with TClass changing the capitalization of the decl file name of classes on windows.

Revision 27728 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 9 16:30:06 2009 UTC (5 years, 10 months ago) by axel
File length: 94248 byte(s)
Diff to previous 27561
Add THtml::SetIncludePath() to specify a ':' delimited list of directories that should be removed from header files' paths. E.g. abc/inc/Klass.h will be converted into inc/Klass.h if SetIncludePath("abc") was called.
Fix locating of header files that do not match an include path, see http://root.cern.ch/phpBB2/viewtopic.php?t=8126

Revision 27561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 20 23:22:22 2009 UTC (5 years, 11 months ago) by axel
File length: 93813 byte(s)
Diff to previous 27494
Fix layout for classes with unknown source file (e.g. genvector): body's div was closed too early, descrhead alignment was messed up.
Use short template names (i.e. without default parameters) where possible. This drastically improves the readability of templates. It also revealed a bug in CINT wrt typedef autoloading; fixing that will make this improvement work for all cases.

Revision 27494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 15:19:53 2009 UTC (5 years, 11 months ago) by axel
File length: 93643 byte(s)
Diff to previous 27453
-Wshadow

Revision 27453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 15 11:38:11 2009 UTC (5 years, 11 months ago) by axel
File length: 93660 byte(s)
Diff to previous 26858
Add THtml::SetSourceDir() back in as an alias for SetInputDir().
Windows: convert "/" to "\" for output dir.
Add mode "doc for non-ROOT", autodetect based on whether TObject's header file can be found.
Improve info / warning output in CreateListOfClasses.
Remove trailing "/" in OutputDir, so mkdir can succeed.

Revision 26858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 12 08:54:14 2008 UTC (6 years, 1 month ago) by axel
File length: 87584 byte(s)
Diff to previous 26835
Also write out non-comment lines in Convert()
Keep track of failed attempts to load a library, veto all depending libraries

Revision 26835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 11 15:29:06 2008 UTC (6 years, 1 month ago) by axel
File length: 87623 byte(s)
Diff to previous 26828
Keep the order of the requested libraries.

Revision 26828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 11 11:24:38 2008 UTC (6 years, 1 month ago) by axel
File length: 88023 byte(s)
Diff to previous 26807
For an THtml::GetInputPath() of /user/me/path, don't try to build modules USER_Index.html, ME_Index.html,...

Revision 26807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 10 17:47:42 2008 UTC (6 years, 1 month ago) by axel
File length: 87091 byte(s)
Diff to previous 26734
Reset interpreter after executing macros in Convert().
Less interpreter invocations to do gClient calls.
if !gClient fall back to saving TCanvases only.
Convert() source as code.

Revision 26734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 8 16:35:16 2008 UTC (6 years, 1 month ago) by axel
File length: 86663 byte(s)
Diff to previous 26715
Put Canvases to the right of the code but at the top of the page.
Hovering switches the canvases to their original size.
Convert() now takes a bitmask: kInterpretedOutput interprets the file, kCompiledOutput uses ACLiC and if combined with kForceOutput existing PNGs are ignored.
Convert() now has a new parameter (context) which is written verbatim to the output file; useful e.g. for context links (up, next,...)

Revision 26715 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 7 17:32:59 2008 UTC (6 years, 1 month ago) by axel
File length: 86274 byte(s)
Diff to previous 26677
Cosmetics: rename ViewCVS to the more generic ViewVC. Keep Root.Html.ViewCVS for backward compatibility.

Revision 26677 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 5 14:28:08 2008 UTC (6 years, 1 month ago) by axel
File length: 86284 byte(s)
Diff to previous 26675
From Christian Holm Christensen and me:
After THtml::SetBatch() is called, BEGIN_MACRO(GUI) directives are skipped, i.e. the graphics system is not initialized. This is useful when creating the doc as part of a headless, automated build.

Revision 26675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 5 13:56:08 2008 UTC (6 years, 1 month ago) by axel
File length: 86245 byte(s)
Diff to previous 26191
Add the ability to store PNGs of canvases created by files (e.g. tutorials) apssed to THtml::Convert().
If the new parameter includeOutput is set to true, THtml will run the file that it is supposed to convert to HTML and add a PNG next to the converted source.
These PNGs are only generated (and the script is thus only run) if the script is newer than the first PNG file (scriptname.C_0.png) - otherwise the existing PNG files are reused.

Revision 26191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 14 13:52:00 2008 UTC (6 years, 2 months ago) by axel
File length: 85908 byte(s)
Diff to previous 25815
From Lorenzo: help THtml find (future) roostats files

Revision 25815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 14 16:08:26 2008 UTC (6 years, 3 months ago) by axel
File length: 85594 byte(s)
Diff to previous 25528
Remove the input path from the module names, i.e. do not create modules BUILD, WHATEVER if input path is /build/whatever.
Add the path to source file to the search path if it already starts with the input path, instead of prepending the input path.
Do the regexp match on e.g. "tutorials" etc on the subdirs only while recursing through the input path (before: was ignoring e.g. /build/tutorials/myroot as inputpath  altogether)
Expand the input path to convert $(ROOTSYS) to a real directory name.
Should fix the issues reported at http://root.cern.ch/phpBB2/viewtopic.php?t=7431

Revision 25528 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 09:10:11 2008 UTC (6 years, 3 months ago) by axel
File length: 85180 byte(s)
Diff to previous 25520
Use GetEtcDir() in CopyFileFromEtcDir() - the second half of the refactoring was missing.
Make GetEtcDir() const so it can be used by const methods. 
Needs fPathInfo to be mutable.
Fixes issue reported at http://root.cern.ch/phpBB2/viewtopic.php?t=7347

Revision 25520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 24 16:07:03 2008 UTC (6 years, 4 months ago) by axel
File length: 85341 byte(s)
Diff to previous 24842
TDocDirective example: set fill style to 0, fixes funny face

Revision 24842 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 16 10:54:16 2008 UTC (6 years, 6 months ago) by axel
File length: 85212 byte(s)
Diff to previous 24622
Hand-select the header file for TMath becasue its TClass object points to TMathBase.h while TMath.h is much more interesting. Also add an exclusion from the math/.../src exclusion list so TMath.cxx is used for documentation.

Revision 24622 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 2 15:31:06 2008 UTC (6 years, 6 months ago) by axel
File length: 84985 byte(s)
Diff to previous 23937
Fix problem reported by Francois-Xavier: files in "." are not documented.
Also fix "warning: cannot find decl file name for [someclass]" if someclass doesn't even match the filter.
Rename module (UNKNOWN) to MAIN if it's the only one.

Revision 23937 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 20 16:44:59 2008 UTC (6 years, 8 months ago) by axel
File length: 84479 byte(s)
Diff to previous 23932
Add typedefs-to-class that are defined within namespaces to the class index.

Revision 23932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 20 14:01:07 2008 UTC (6 years, 8 months ago) by axel
File length: 83186 byte(s)
Diff to previous 23908
Add debug output for gDebug>0; silence TFileSysDir::Recurse()'s output a bit.
Make links within the converted modules' index.txt relative to "./", not "../".

Revision 23908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 19 15:25:29 2008 UTC (6 years, 8 months ago) by axel
File length: 82766 byte(s)
Diff to previous 23840
Fix coding converntion violations: structs end on "_t".
Document typedef-to-class on a separate page per typedef (as in TMatrixD.html);
mention the existing typedefs for a class (extremely useful for 350 character templates).
TDocParser::Context() was returning the top of an empty stack when it was not parsing but only decorating keywords.
Fix a few issues found by the W3C validator: a stray </div>, methods' toggle/signal/... abbr was a shorttag and wasn't meant to be (obviously).
Also reference templated types.
Also reference typedefs in a different scope than the global scope.
Replace printf by a call to Info().
Bail out of a doc directive wants GUI but we cannot switch to non-batch.
Also allow scopes and templates as return types for the type eval of an expression like "a.b()->".

Revision 23840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 10:03:39 2008 UTC (6 years, 8 months ago) by axel
File length: 82169 byte(s)
Diff to previous 23825
Remove a forgotten '!'

Revision 23825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 14:27:33 2008 UTC (6 years, 8 months ago) by axel
File length: 82170 byte(s)
Diff to previous 23814
Add exceptions to the exceptions used for math: TComplex and TRandom* _have_ their class doc in their source file - so for those the source file needs to be properly determined.

Revision 23814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 09:37:21 2008 UTC (6 years, 8 months ago) by axel
File length: 81912 byte(s)
Diff to previous 23812
Add doc for namespaces (also != TMath) back in

Revision 23812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 08:56:07 2008 UTC (6 years, 8 months ago) by axel
File length: 82054 byte(s)
Diff to previous 23799
IsSelected() was broken because HaveSource() only tested for impl file name; now just tests for decl file name which also works for templated classes. SMatrix doc is now back.
Fix "does dot exist?" algo; was still esting for -1 instead of kDotUnknown
"Search documentation..." text now vanishes again when clicked.
Add a title to the "Search" button containing the search host used. Fixes Savannah #34509.
Fix include file determination (aka ".h5", "core/base/inc/TObject.h")
Use TPMERegexp; TRegexp with wildcard is broken anyway; TPMERegexp works nicely.
Do not find sources files of "math/mathcore/", "math/mathmore/", "math/genvector/", "math/minuit2/", "math/smatrix/", even though we can. They have their class doc in the header; but if THtml finds the source it needs the class doc to be in the source file. Will be improved at some point.
ViewCVS link was written even if no decl / impl file known; fixed.
Sort modules (and sub-modules) for writing the list of modules.

Revision 23799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 12 13:10:34 2008 UTC (6 years, 8 months ago) by axel
File length: 81122 byte(s)
Diff to previous 22546
Support new dir structure - support any dir structure, actually.
Allow THtml to find files even if they are only known as "include/TObject.h": THtml now parses all subdirs of the input path. Req by Gerhard Brandt, Fons.
Structure THtml's 1000 configuration vars a bit.
Implemented traits-like objects that allow the user to define modules, where to find files, etc, by deriving from the base classes used by THtml. 
Improve the doc search: add the top links box to all pages; add the search in there; make search ignore src/, examples/ subdirs of the output dir (i.e. only look at the doc itself) - req by Diego C.
Add info for methods' signal / menu / etc setting - req by Valeri O.
Print both last modified (source file change date) and last generated (html generation date) - suggested by Ornella.
Silence directive parser when encountering unknown directives - req by Rene.

Open issues remaining: typedef-to-class need separate page, forwarding to class's page. (req by Vassili Maroussov, Katharina Ehrhardt), TMath doc a bit broken.

Revision 22546 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 8 19:21:05 2008 UTC (6 years, 10 months ago) by rdm
File length: 60240 byte(s)
Diff to previous 22488
other bunch of gcc 4.3 warnings removed:
-  warning: suggest a space before ; or explicit braces around empty body
   in for statement

Revision 22488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 16:04:47 2008 UTC (6 years, 10 months ago) by rdm
File length: 60237 byte(s)
Diff to previous 21476
remove first batch of warning reported by gcc 4.3:
- warning: suggest parentheses around && within ||
- warning: suggest explicit braces to avoid ambiguous if else

Revision 21476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 10:51:52 2007 UTC (7 years, 1 month ago) by brun
File length: 60217 byte(s)
Diff to previous 21151
From Axel:
Do not magically set the sourcedir for math[cm]ore. It helps THtml find
the source files, but prevents it to pick up the doc from the headers.

Revision 21151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 3 16:29:40 2007 UTC (7 years, 1 month ago) by brun
File length: 60134 byte(s)
Diff to previous 20882
From Axel:
Set module of mathmore, smatrix, treeplayer by hand for several classes; change Linkdef.h for matrix and treeplayer to enable autoload entry (and thus library) for all classes templated as <Float_t>, <Double_t> by using <float>, <double> instead.

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
File length: 59064 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
File length: 59064 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
File length: 59113 byte(s)
Diff to previous 19600
remove :$ from tag line

Revision 19600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 12 15:25:00 2007 UTC (7 years, 5 months ago) by axel
File length: 59123 byte(s)
Diff to previous 19599
Fix to pass W3C validation

Revision 19599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 12 14:14:33 2007 UTC (7 years, 5 months ago) by axel
File length: 59118 byte(s)
Diff to previous 19594
Add documentation for MakeClassThreaded(), call ProcessEvent() in main thread during multi-threaded MakeAll() - TCanvas creation in thread  still not working, though

Revision 19594 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 10 14:27:53 2007 UTC (7 years, 5 months ago) by brun
File length: 58556 byte(s)
Diff to previous 19593
Fix a compiler warning.

Revision 19593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 10 13:01:33 2007 UTC (7 years, 5 months ago) by axel
File length: 58554 byte(s)
Diff to previous 19494
* The info box in the class doc page is now only shown if javascript is created; this makes the reference guide more suitable for e.g. TGHtml but also links/lynx etc. Achieved by writing the info box with javascript.
* With !=1 as the third argument to THtml::MakeAll(), THtml will use a thread pool when generating the documentation. Added the necessary locks. Threads cannot create TCanvases which is a problem for TDocDirective; this remains to be fixed. As in: WARNING: don't pass numthreads != 1 if you have a TDocMacroDirective or TDocLatexDirective!
* Fix constness of a few functions.
* Don't put $ROOTSYS in front of module's source path
* Fix a string index ==-1 problem in TDocParser::LocateMethodInCurrentLine() discovered with TMath
* TDocDirective: don't delete returned objects if gPad has changed - it might be part of the TCanvas and thus deleted when deleting gPad.
* Add a few gVirtualX->Update()s to reduce the amount of X11 errros.
* Use ':' as the macro path delimiter, even on Windows.
* Only initialize the graphics libs if needed.
* Hack to change the new DeclFileName()s for ROOT from include/Whatever.h to module/inc/Whatever.h, so ViewCVS can display it.
* Hack of hack to fix the DeclFileName() for TMVA.
* Increase the font size of pre blocks; they were too small with TTF on linux.

Revision 19494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 30 19:32:54 2007 UTC (7 years, 5 months ago) by axel
File length: 55947 byte(s)
Diff to previous 19365
* Add THtml::IncludePath(): remove parts of DeclFileName() for the class info box (e.g. "include/" for ROOT), instead of using BaseName(). Fixes problem with e.g. MathCore's Whatever.h instead of the proper Math/GenVector/Whatever.h.
* Add static THtml::LoadAllLibs(): load all libraries for all classes known via rootmaps, without re-loading dependent libraries. Handy for generating doc for all classes.
* Clean THtml.cxx include files.

Revision 19365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 17 13:10:37 2007 UTC (7 years, 6 months ago) by axel
File length: 53976 byte(s)
Diff to previous 19216
Add "." to the search path for the macro directive.
Ensure gProgName is !0 before strstr'ing it

Revision 19216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 2 09:34:36 2007 UTC (7 years, 6 months ago) by axel
File length: 53961 byte(s)
Diff to previous 18895
Allow "Search" field to use referer to determine the search site.
Fixes problems with the search engine finding pages that don't match the ROOT version currently looked at.

Revision 18895 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 29 11:04:45 2007 UTC (7 years, 7 months ago) by axel
File length: 53907 byte(s)
Diff to previous 18779
Make library dependency left-right.
Look for func names in sources without leading ':'.
Guess source files also for mathcore, mathmore.
Set guessed source file only if it exists.

Revision 18779 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 14:29:58 2007 UTC (7 years, 8 months ago) by axel
File length: 53745 byte(s)
Diff to previous 18719
Add doc

Revision 18719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 10 11:02:02 2007 UTC (7 years, 8 months ago) by axel
File length: 53621 byte(s)
Diff to previous 18717
Fix "is internal clas" check (forgot a '!')

Revision 18717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 17:01:45 2007 UTC (7 years, 8 months ago) by axel
File length: 53618 byte(s)
Diff to previous 18079
Only create output directory when needed.
Extract one-line C comments properly
Don't output class description (again) after first method has been written
Fix module name extraction: skip leading "./"
Set src files for reflex
Fix check for internal classes

Revision 18079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 23 17:42:32 2007 UTC (7 years, 11 months ago) by axel
File length: 52892 byte(s)
Diff to previous 17971
Fix missing empty lines in directives
Rewind dictionary after doc macro execution
Make sure class table gets rebuilt after call to THtml::SetSourceDir()
Embed img inside span to be xhtml compliant even in pre
Load graphic libs if needed, before a macro triggers it and we rewind CINT after the macro
Find module doc when pwd!=ROOTSYS
Find doc macros when pwd!=ROOTSYS or macro file name has (relative) path
Specify full path to mathcore/... sources (to find their doc/ when pwd!=ROOTSYS)
Allow determination of product==ROOT even for BOOTLIBS
Fix THtml's doc
Allow lines in doc macros to be hidden from source tab: must end on *HIDE*

Revision 17971 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 15 17:32:32 2007 UTC (7 years, 11 months ago) by axel
File length: 52948 byte(s)
Diff to previous 17942
Generate product doc, re-group code for re-use in module/product doc
Add all gEnv configs also as setters/getters; use gEnv in THtml c'tor, afterwards only getters
write search link on each page
shorten the class inh dot diagrams for complex hierarchies
Allow trailing stuff in ViewCVS link
remove spurious empty lines in directive output
fix latex column chopping (one char missing at end)
Rename a few internal funcs
Create unique directive output GIFs
update THtml doc
Add special handling for smatrix "source" dir
Skip empty sourceinfos (author,...) in footer

Revision 17942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 13 20:22:06 2007 UTC (7 years, 11 months ago) by axel
File length: 45818 byte(s)
Diff to previous 17806
surround converted module doc by <pre></pre>;
fix libdep calculation;
simplify libdep graph (no libCore dependencies, no need to loop over all of lib's classes);
fix classdescr and module doc prob discovered with mathcore;
protect chars from being signed when invoking isspace;
don't write comment of directive ate it;
Replace special hcars for index chars;
take all doc for doc++ style method doc until we see one of "{};"

Revision 17806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 8 22:56:06 2007 UTC (7 years, 11 months ago) by axel
File length: 45294 byte(s)
Diff to previous 17762
Don't display classes in index that are "foreign", i.e. have no local sources
make rule checker happy
Allow user setting of etc dir (defaults to $ROOTSYS/etc/html)
GUI macro output must be saved as GIF
Fix macro's pwd determination if no current class
Fix X11 crash saving macro output
Fix removal of surrounding "//" in "// doc //"
New THtml::CreateAuxiliaryFiles() takes care of CSS, js, HELP page

Revision 17762 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 7 20:40:39 2007 UTC (7 years, 11 months ago) by brun
File length: 44775 byte(s)
Diff to previous 17581
From Axel:
Added functionality:
* Begin_Macro/End_Macro, Begin_Latex/End_Latex (generate images, see
TDocParser's doc for now)
* module documentation (e.g. html/doc/index.html)
* help on help (savannah bug #20755)

Separate parser and output generator; public interface stays in THtml.
Create a "hook" for directives like Begin_Html/End_Html etc, to make it
easily expandable.
New layout, bug fix (savannah #20472).
Missing: lots of doc. Rule checker fixes  :-)

Revision 17581 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 11:49:15 2007 UTC (7 years, 11 months ago) by brun
File length: 212421 byte(s)
Diff to previous 17561
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h
-Add include TClass.h in classes assuming an implicit include by other classes

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
File length: 212419 byte(s)
Diff to previous 17048
-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 17048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 5 17:17:37 2006 UTC (8 years, 1 month ago) by brun
File length: 212400 byte(s)
Diff to previous 16931
From Axel:
enforce batch mode when creating the canvas for THtml's class tree.

Revision 16931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 16:01:02 2006 UTC (8 years, 2 months ago) by brun
File length: 212213 byte(s)
Diff to previous 16403
Remove dependency on TVirtualUtilPad

Revision 16403 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 2 16:05:21 2006 UTC (8 years, 3 months ago) by brun
File length: 212667 byte(s)
Diff to previous 16400
From Axel:
I forgot one char in my previous patch, which is required for Internet
Explorer.

Revision 16400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 2 14:35:49 2006 UTC (8 years, 3 months ago) by brun
File length: 212666 byte(s)
Diff to previous 16374
From Axel:
javascript fix for opera; nicer class charts layout; W3 css and XHTML
validated; keep HTML based hierarchy chart ClassHierarchy.html instead
of dot-generated one - it's really too much for dot; adjust the size of
the LibraryDependencies.html chart so it's readable.

Revision 16374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 20:12:33 2006 UTC (8 years, 3 months ago) by brun
File length: 210064 byte(s)
Diff to previous 16318
From Axel:
A patch allowing  to publish a bigger and a smaller
htmldoc version: it puts the class charts (the *.gif) into separate subdirs.

Revision 16318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 08:58:56 2006 UTC (8 years, 4 months ago) by brun
File length: 208339 byte(s)
Diff to previous 16179
From Axel:
New class charts if www.Graphviz.org's dot is available. Fix detection
of comments indented with tabs. Fix update dependency tracking of files.

Revision 16179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 13:28:36 2006 UTC (8 years, 4 months ago) by brun
File length: 178495 byte(s)
Diff to previous 16169
From Axel:
this fixes a problem reported by Valeri and Ilka; please cvs ci. Log:
reset the list of requested anchors.

Revision 16169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 30 15:22:34 2006 UTC (8 years, 4 months ago) by brun
File length: 178426 byte(s)
Diff to previous 16097
From Axel:
display tooltip for members in source showing their declaration,
fix funcs' return type expansion for ExpandKeywords,
fix closing of string spans if ' inside "string" and for escaped chars,
fix linking to ROOT classes in user code,
remove temporary heap var for GetClass,
only write out link to source if we have a source,
don't write "PDF created",
tell users that we init list of classes, and that they'll have to wait a bit

Revision 16097 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 23 22:25:00 2006 UTC (8 years, 5 months ago) by rdm
File length: 174818 byte(s)
Diff to previous 16076
From Axel:
If THtml knows a class A, but can't find its sources, it assumed that
it's a ROOT class, and the user was creating documentation for his/her
own classes. This fails if a user dares to have more than one lib. There
was a mechanism implemented which would allow for multiple libs, but
that was really a hack.

THtml now checks the env var Root.Html.LibName, and creates a link using
that base URL, for all classes being defined in libLibName.*. I.e. if
that class A is defined in libLibName, and Root.Html.LibName is
../LibNameDoc, then THtml will create a link to ../LibNameDoc/A.html.
The class name / library name mapping is done with the help of rlibmap;
see the class doc for more info.

Other changes:
* fix javascript error in source files
* link javascript file from the proper directory
* reduce width of divs to slightly < 100%
* a names (anchors) should be id-compatible, and thus start with a letter
* update doc.

Revision 16076 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 22 14:07:21 2006 UTC (8 years, 5 months ago) by rdm
File length: 172301 byte(s)
Diff to previous 16069
From Axel:
Don't write beautified text in "Begin_Html"/"End_Html" block when
Converting. Don't rebuild the list of classes if the same filter is
used. Don't empty parse stack if we only have one element on it.

Revision 16069 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 21 16:02:48 2006 UTC (8 years, 5 months ago) by rdm
File length: 171432 byte(s)
Diff to previous 16052
From Axel:
* when within Begin/End_Html, don't use beautified but original line as
comment
* state if a member is static
* allow method signatures and docs for data members to span multiple
lines, but indent additional lines.
* fix what THtml thinks is an enum (see e.g.
http://root.cern.ch/root/html/THtml.html#THtml:fDocContext)
* prepend enums with "enum", always (see e.g.
http://root.cern.ch/root/html/THtml.html#THtml:kUp)
* initialize some state vars - first class being documented didn't have
proper links (see http://root.cern.ch/root/html/ColorStruct_t.html)
* update THtml's documentation
* clean THtml.h's #includes
* remove exposed typedef

The first 5 changes might warrant all docs to be regenerated, but only
next week.

Revision 16052 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 18 15:51:03 2006 UTC (8 years, 5 months ago) by brun
File length: 169234 byte(s)
Diff to previous 16045
From Axel:
Document private members, too (oops). Update THtml's doc (part 1). Make
CreateStyleSheet() and CreateJavascript() public. Fix treatment of <pre>
</pre> tags.

Revision 16045 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 18 11:16:42 2006 UTC (8 years, 5 months ago) by brun
File length: 167002 byte(s)
Diff to previous 15923
From Axel:
create Convert's output dir if necessary, even if it was specified by
the user; reset current scope when encountering a non-scoping word
delimiter.

Revision 15923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 16:17:28 2006 UTC (8 years, 5 months ago) by brun
File length: 166958 byte(s)
Diff to previous 15922
From Axel:
Remove one unused var, start using another.

Revision 15922 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 13:59:09 2006 UTC (8 years, 5 months ago) by brun
File length: 166876 byte(s)
Diff to previous 15921
From Axel:
get THtml::Convert back on its feet. Allow to specify a relative path on
the server, so we can create the proper links. Coding convention.

Revision 15921 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 10:54:54 2006 UTC (8 years, 5 months ago) by brun
File length: 167234 byte(s)
Diff to previous 15916
From Axel:
don't sort data members alphabetically, fix anchor for data members so
they can be jumped to, members are bold, fix link for inherited members
in beautified source.

Revision 15916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 3 21:20:23 2006 UTC (8 years, 5 months ago) by brun
File length: 166849 byte(s)
Diff to previous 15905
From Axel:
Show inherited data members; same layout and options as for func
members. Don't show hidden funcs. Separate display of enums. Avoid empty
pre blocks. Fix JS so it also works on IE(7), use local vars, find CSS
rules case insensitive.

Revision 15905 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 3 12:10:28 2006 UTC (8 years, 5 months ago) by brun
File length: 164396 byte(s)
Diff to previous 15904
Remove unused var

Revision 15904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 3 08:38:41 2006 UTC (8 years, 5 months ago) by brun
File length: 164424 byte(s)
Diff to previous 15871
From Axel:
Fix comments inside comments after strings (aka TH1::Rebin) by using a
parse context _stack_. Show base classes' methods if requested. Reformat
method list. Display options (inherited methods? non-public methods?)
are stored in a cookie. We now also have a javascript file. Disable
method sorting on Solaris until they implement a sort-with-predicate.
Again, some chunks of code come from my FNAL/CMS/CD job.

Builds on Solaris CC5 and Win MSVC8.

Revision 15871 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 31 16:53:46 2006 UTC (8 years, 5 months ago) by brun
File length: 157549 byte(s)
Diff to previous 15867
From Axel:
When extracting comments, take comment span into account
Close C++ comment spans properly
Check whether comment span is needed for End_Html
Beautify original line if strncmp(!) End_Html

Revision 15867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 30 11:20:00 2006 UTC (8 years, 5 months ago) by rdm
File length: 156819 byte(s)
Diff to previous 15863
From Axel:
- move also comment beautification into ExpandKeywords
- don't prepend hrefs with "./" if absolute
- always use "/" as path delim

Revision 15863 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 19:57:14 2006 UTC (8 years, 5 months ago) by brun
File length: 156687 byte(s)
Diff to previous 15771
From Axel:
New doc type XHTML 1.0 transitional; w3c validator now happy (except for
what's in BEGIN/END_HTML)
Escape func names for href targets
Anchors can now be created during all passes: can now jump to inline
methods, too.
When looking for method impl, don't look behind '{'
Reduce method overload count properly (don't erase name before using it)
Fix removal of same-char doc lines ("//+++++++++++++")
Same-char doc lines are class descr tag
Fix removal of trailing */
Fix state reset of kCComment
Introduce line no (do we want them in the doc?)
Close ClassDecl div if no decl found
For globals doc link to their type in ListOfTypes, not their name
Allow '~' as part of name (IsWord, IsName) for d'tors
Fix rootdev email address
"This page has been automatically generated" is no address

Revision 15771 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 17:34:02 2006 UTC (8 years, 6 months ago) by brun
File length: 155074 byte(s)
Diff to previous 15768
From Axel:
* Properly close method / class description blocks.
* inline methods which are real "one liners", as in
  { foo(); }
  will now have their code shown.
* keywords now black, non-bold.
* add a ViewCVS link, if Root.Html.ViewCVS is set to e.g.
http://root.cern.ch/viewcvs/ (note the trailing "/"!) - thanks to Matevs
for the suggestion.
* move some code into new funcs to avoid code duplication and to clarify
what's happening.
* shorter anchors

Still to come: MENU, SIGNAL comments.

Revision 15768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 10:39:15 2006 UTC (8 years, 6 months ago) by brun
File length: 151344 byte(s)
Diff to previous 15741
Fix coding conventions

Revision 15741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:26:34 2006 UTC (8 years, 6 months ago) by brun
File length: 151277 byte(s)
Diff to previous 15739
From Axel:
New version fixing a problem with comments of pure virtual functions.

Revision 15739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 19:47:51 2006 UTC (8 years, 6 months ago) by brun
File length: 150607 byte(s)
Diff to previous 15418
From Axel:
a few days later than expected, but here it is: a major update for
THtml. I've re-used a large chunk of the code that I wrote at FNAL; so
kudos to them, too! I am positive that it's not perfect yet, still IMHO
the benefit is greater than the consequences of THtml's imperfections.

THtml now parses header files and source files for documentation, and it
beautifies sources and headers alike. THtml's internals (its code
intestine) have been pulled apart a bit and rewritten to a large extent
for better maintainability. Most of the char* are replaced by TStrings.
Copying headers is now a lot faster thanks to gSystem->CopyFile.

THtml is now relying on CSS for all pages; the beautification happens
purely with CSS (and is thus customizable, once more browsers finally
allow for a custom user CSS, like Opera does). The source beautification
and the method and class doc is revamped: keywords, comments, strings,
and CPP statements are now colored, links a fancier.

Another major enhancement is THtml's ability to pick up doc from
headers. By default, functions in source files have to be documented
as always:

void MyClass::Func()
{
// doc in source.cxx
}

Now, funcs in headers can also have doc in front of the function:

Revision 15418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 09:32:09 2006 UTC (8 years, 7 months ago) by brun
File length: 152601 byte(s)
Diff to previous 15080
From Axel:
this fixes two issues with THtml: missing ");" of methods of what THtml
calls "types", and double "//" in URLS.

Revision 15080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 14:17:40 2006 UTC (8 years, 8 months ago) by brun
File length: 152279 byte(s)
Diff to previous 15061
From Axel:
this patch removes the space in the arrow in the HTMLed source files.
Thanks to Ilka for noticing!

Revision 15061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 08:27:12 2006 UTC (8 years, 8 months ago) by brun
File length: 152281 byte(s)
Diff to previous 14926
Fix coding conventions violations

Revision 14926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 5 15:34:30 2006 UTC (8 years, 8 months ago) by brun
File length: 152194 byte(s)
Diff to previous 14920
From Axel:
determine the return type's scope properly, check method name against
class's last scope only to determine ctor / dtor.

Revision 14920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 4 19:00:51 2006 UTC (8 years, 8 months ago) by brun
File length: 151622 byte(s)
Diff to previous 14914
From Axel:
This patch fixes some cases of classes being in the ClassIndex
without a page generated for it (like ROOT::Reflex::Reflex). And it
fixes the way THtml handles gHtml.

Revision 14914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 4 15:22:13 2006 UTC (8 years, 8 months ago) by brun
File length: 151547 byte(s)
Diff to previous 14897
From Axel:
* allow to set custom impl, decl file names for a class for THtml
* for class [A::]B::C without decl and impl file name, automatically
check whether header b/inc/B/C.h, source b/src/C.cxx exist
* special treatment of Smatrix, mathcore classes, so they end up in the
proper module
* fix output of templated parameters

Revision 14897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 2 19:36:23 2006 UTC (8 years, 8 months ago) by brun
File length: 147899 byte(s)
Diff to previous 14892
From Axel:
another patch for THtml, so the new classes really get
documented. TRegExp workaround until Fons fixes it, don't include doc
for classes containing __gnu_cxx::.

Revision 14892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 2 15:57:36 2006 UTC (8 years, 8 months ago) by brun
File length: 147794 byte(s)
Diff to previous 14873
From Axel:
Don't rely on predicate for std::list<std::string> sorting with stricmp.
Fix alternating bg color for type idx. Also stricmp sort ClassIndex.

Revision 14873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 28 15:40:50 2006 UTC (8 years, 8 months ago) by brun
File length: 147206 byte(s)
Diff to previous 14867
From Axel:
Fix an endless loop when generating the class index

Revision 14867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 17:29:58 2006 UTC (8 years, 8 months ago) by brun
File length: 147460 byte(s)
Diff to previous 14851
From Axel:
this patch gets rid of a buffer overflow, and orders the indexes
ignoring the case of class names (which is IMHO much easier for the user).

Revision 14851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 26 06:07:17 2006 UTC (8 years, 9 months ago) by brun
File length: 147662 byte(s)
Diff to previous 14848
From Axel:
a tiny improvement for the search - align search input, remove "search
documentation" when focused.

Revision 14848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 18:28:52 2006 UTC (8 years, 9 months ago) by brun
File length: 147455 byte(s)
Diff to previous 14845
From Axel:
Add protection against a null string

Revision 14845 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 17:25:33 2006 UTC (8 years, 9 months ago) by brun
File length: 147364 byte(s)
Diff to previous 14759
From Axel:
* nicer ClassIndex, MODULE_Index, TypeIndex
* short cuts to entries in the long list of classes
* create links to MODULE_Indexes in ClassIndex
* re-define what a root class is, and what a use class looks like - now
RooFit classes are root classes, too (even though they don't start witha
 "T")
* use style sheet, which is generated (and used) by MakeIndex
* Root.Html.Search instroduced,
* remove unused code

Revision 14759 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 13:41:48 2006 UTC (8 years, 9 months ago) by brun
File length: 175088 byte(s)
Diff to previous 14597
From Axel:
also build list of known classes when converting a text file.

Revision 14597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 7 15:34:46 2006 UTC (8 years, 9 months ago) by rdm
File length: 175059 byte(s)
Diff to previous 14591
remove unused variables.

Revision 14591 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 7 13:17:52 2006 UTC (8 years, 9 months ago) by rdm
File length: 175840 byte(s)
Diff to previous 14174
From Axel:
Use CreateListOfClasses to set up a consistent set of classes to be
documented.
Use uchar for isalnum etc
Only use TROOT::GetClass(...,true) when building the list of classes.

Revision 14174 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 6 11:09:35 2006 UTC (8 years, 10 months ago) by brun
File length: 176193 byte(s)
Diff to previous 13426
Fix a problem affecting the correct genetation of the html page for
a MathCore LorenztVector class.

Revision 13426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 1 12:11:16 2005 UTC (9 years, 1 month ago) by brun
File length: 176089 byte(s)
Diff to previous 12952
In THtml::MakeIndex do not call BuildRealData.

Revision 12952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 13 14:57:53 2005 UTC (9 years, 3 months ago) by brun
File length: 176087 byte(s)
Diff to previous 12639
Add several protections in MakeClass and MakeIndex

Revision 12639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 19:12:32 2005 UTC (9 years, 4 months ago) by brun
File length: 175919 byte(s)
Diff to previous 12624
Fix coding conventions violation.

Revision 12624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 10:47:08 2005 UTC (9 years, 4 months ago) by brun
File length: 175910 byte(s)
Diff to previous 12439
Fix coding conventions violations.

Revision 12439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 5 14:44:13 2005 UTC (9 years, 5 months ago) by rdm
File length: 175134 byte(s)
Diff to previous 12379
From Axel:
here's a patch correcting an issue with html file path delimiters being
"\\" instead of "/". This issue would only show up under windows with
Root.Html.Root set.

Revision 12379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 25 13:53:57 2005 UTC (9 years, 6 months ago) by brun
File length: 175190 byte(s)
Diff to previous 11909
Modify THtml::GetClass to return a valid TClass pointer in case
of ROOT::Math::, ROOT::Reflex and ROOT::Cintex

Revision 11909 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 30 13:47:13 2005 UTC (9 years, 7 months ago) by rdm
File length: 174994 byte(s)
Diff to previous 11726
From Axel:
here is the patch for http://root.cern.ch/phpBB2/viewtopic.php?p=7608.
THtml now accepts both the Root.Html.Description and //////// as
starting tag for a class doc. I also added a minor speed improvement for
generating doc output.

Revision 11726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 2 21:46:19 2005 UTC (9 years, 8 months ago) by brun
File length: 174994 byte(s)
Diff to previous 11650
In THtml::ExtractDocumentation,  'dict' may be used uninitialized

Revision 11650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 21 14:04:33 2005 UTC (9 years, 9 months ago) by brun
File length: 174992 byte(s)
Diff to previous 11526
From Axel Naumann:
THtml tried to access const char* fLine[-1].
This bug prevented the correct generation of TGraph.html

Revision 11526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 16:49:47 2005 UTC (9 years, 9 months ago) by brun
File length: 174790 byte(s)
Diff to previous 11389
From Axel:
Fix for a typo

Revision 11389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 15:01:14 2005 UTC (9 years, 10 months ago) by brun
File length: 174789 byte(s)
Diff to previous 11384
From Philippe;
More fixes for problems reported by valgrind

Revision 11384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 20 21:36:51 2005 UTC (9 years, 10 months ago) by brun
File length: 174774 byte(s)
Diff to previous 10892
From Philippe:
Remove a Warning reported by valgrind

Revision 10892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 10 11:00:44 2005 UTC (10 years ago) by brun
File length: 174575 byte(s)
Diff to previous 10773
From Matevz Tadel:
While building auto-generated documentation for gled classes i came
across an error in ClassDef specification in a nested class which,
coupled with gled's documentation building script, resulted in feeding
THtml a class-name list with entries that were not present in the
dictionary. Thus root crashed ...
I've attached a patch with added protections against such cases. I'm not
exactly sure if it's the right way to do it ... perhaps an error and an
immediate exit from the processing loop would be more appropriate.

Revision 10773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 13:06:47 2004 UTC (10 years, 1 month ago) by brun
File length: 174288 byte(s)
Diff to previous 10734
From Bertrand,
Protection in destructor.

Revision 10734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 9 10:12:53 2004 UTC (10 years, 1 month ago) by brun
File length: 174241 byte(s)
Diff to previous 9743
CVS
CVSs generated in a vertical canvas such that it is easy to see with the web browsers.
: Enter Log.  Lines beginning with `CVS:' are removed automatically

Revision 9743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 12 14:23:41 2004 UTC (10 years, 5 months ago) by brun
File length: 174240 byte(s)
Diff to previous 9636
The inheritance Trees are now generated on pdf files instead of ps.
This looks much better for Windows users.

Revision 9636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 30 19:09:52 2004 UTC (10 years, 5 months ago) by brun
File length: 174235 byte(s)
Diff to previous 9627
From Philippe:
This patch change TMath from a class to a namespace.

This patch also updates rootcint to that it force the
creation of a TClass for namepaces.  The TClass for
namespace is needed to allow THtml and the command
completion mechanism to properly work.

This patch also add the new macro
        NamespaceImp(namespacename)
which register an implementation file for the namespace.

This patch also update THtml to clean up the output for namespaces.

Revision 9627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 30 09:01:18 2004 UTC (10 years, 5 months ago) by brun
File length: 173106 byte(s)
Diff to previous 9624
The previous change (adding kFALSE to gROOT->GetClass) had side-effects.
The option kFALSE is only given for pathological cases like strings
containing the word "TClassEdit" that generates an infinite recursion problem.

Revision 9624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 30 07:23:19 2004 UTC (10 years, 5 months ago) by brun
File length: 173008 byte(s)
Diff to previous 9360
In THtml::ExpandKeywords, specify the optional argument "load" to always
be kFALSE to avoid recusrvity problems.

Revision 9360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 04:57:29 2004 UTC (10 years, 6 months ago) by brun
File length: 172980 byte(s)
Diff to previous 9344
From Axel Naumann:
THtml sigsegvs when encountering a class with an unknown base class,
trying to build the inheritance diagram. This fixes it.

Revision 9344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 21:36:18 2004 UTC (10 years, 6 months ago) by brun
File length: 172841 byte(s)
Diff to previous 9240
From Axel Naumann:
with this patch, classes starting with "ROOT::" are not known to THtml
anymore, so no doc for them will be generated.

Revision 9240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 17 20:00:05 2004 UTC (10 years, 7 months ago) by brun
File length: 172758 byte(s)
Diff to previous 9160
Fix a compilation error on alpha/cxx.
Never use std::endl  (simply endl)

Revision 9160 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 05:15:43 2004 UTC (10 years, 7 months ago) by brun
File length: 172763 byte(s)
Diff to previous 8639
From Axel Naumann:
This patch shows the library and the include file containing a given
class in a box, top right, next to the class name. The include file
won't match if the build environment needs a path (for root that's not a
problem). I've removed the lib's extension to make it OS independent
(gSystem->Load() adds the ext anyway, as far as I remember). Both file
infos are checked for availability first; if none exist no box will be
shown.

Also fixed a minor indent prob.

Revision 8639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 21 15:06:45 2004 UTC (10 years, 9 months ago) by brun
File length: 171559 byte(s)
Diff to previous 8468
From Axel Naumann:
Suppress "unknown class" warning for STL classes when running
THtml::MakeAll.

Revision 8468 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 22 15:06:30 2004 UTC (10 years, 10 months ago) by brun
File length: 171437 byte(s)
Diff to previous 8439
Add protection in Class2Html (side-eefect of the new pair classes)

Revision 8439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 08:10:46 2004 UTC (10 years, 10 months ago) by brun
File length: 171439 byte(s)
Diff to previous 8438
Add several protections.
Initialize the table of classNames from nOK+1 to numberOfClasses to 0.

Revision 8438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 06:53:29 2004 UTC (10 years, 10 months ago) by brun
File length: 171371 byte(s)
Diff to previous 8389
From Axel Naumann
Do not add the STL pair classes in the ClassIndex

Revision 8389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 16:45:36 2004 UTC (10 years, 10 months ago) by brun
File length: 171181 byte(s)
Diff to previous 8083
Add a protection in THtml::CreateHierarchy in case basePtr->GetListOfBases()==0
This may happen with the new classes created for STL collections.

Revision 8083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 29 16:06:23 2004 UTC (10 years, 11 months ago) by brun
File length: 171144 byte(s)
Diff to previous 8072
From Axel Naumann
here's the patch correcting issues with
* a missing </tr>, which currupted Netscape 4.x's display
* cell borders being displayed in konqueror.
* tables without td fields when a class has no derived classes.
I've added a caption for the hierarchy chart - esp. if there are no base
nor derived classes it looks funny & confusing otherwise.

I've tested it with IE 6, Mozilla 1.6, NS 4.78, and W3C's html validator.

Revision 8072 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 29 07:37:34 2004 UTC (10 years, 11 months ago) by brun
File length: 170881 byte(s)
Diff to previous 8070
Change the "->" notation to "<-"

Revision 8070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 28 22:31:11 2004 UTC (10 years, 11 months ago) by brun
File length: 170881 byte(s)
Diff to previous 7958
Add an interesting extension to THtml by Gerhard Brandt + integration
by Axel Naumann to generate a clickable class hierarchy in the class.html pages

Revision 7958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 21 07:11:29 2004 UTC (11 years ago) by brun
File length: 163218 byte(s)
Diff to previous 7908
From Axel Naumann and Thomas Bretz:
THtml will replace a few new vars in the header template file
(Root.Html.Header):
%CLASS% -> class name,
%INCFILE% -> include file name, as given by TClass::GetDeclFileName()
%SRCFILE% -> source file name, as given by TClass::GetImplFileName()
All of them default to "" if the header is generated for a non-class
page. This allows e.g. linking in cvsweb.cgi pages.

Also includes minor bug fixes in THtml's documentation (e.g.
begin_html/end_html were sometimes not meant to be replaced) and some
fixes for wrong indentations.

Revision 7908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 14 07:48:56 2004 UTC (11 years ago) by brun
File length: 162435 byte(s)
Diff to previous 7898
remove temporary fix in THtml::GetClass following Philippe's fix with typedefs

Revision 7898 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 13 14:30:25 2004 UTC (11 years ago) by brun
File length: 162467 byte(s)
Diff to previous 7810
Protections in case of funny word combinations.
Protect GetClass to not call TROOT::GetClass when the string contains "::"

Revision 7810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 30 13:16:51 2003 UTC (11 years ago) by brun
File length: 162398 byte(s)
Diff to previous 7619
Mega patch to add support for large files (bigger than 2 GBytes)
----------------------------------------------------------------

  ==========>NEW VERSION 4.00/00 <===========

Because this new version has a considerable number of changes,
and new important additions by Philippe are scheduled for the coming days
we are starting a new major version 4.
  -Support for large files
  -Automatic schema evolution for foreign classes
  -New data type Double32_t

Large files are currently tested only under Linux with gcc3.2.
Support for other systems will be gradually added in the coming days.
By default under Linux, files are created with the option LARGEFILE.
Note that when creating a Tree, the default maximum size for a Tree
is set to 1.9 GBytes. You can change this default value by calling
  TTree::SetMaxTreeSize(Long64_t maxsize)

The implementation of this new feature has required changes in many places.
The files produced by this new version can still be read by old ROOT versions
if their size if smaller than 2 GBytes. And obviously, the new version
can digest old ROOT files.

WARNING: note the following backward incompatibility:
 -TSystem::GetPathInfo has a new signature: (also TUnixSystem, TWinNTSystem, etc)
  old: GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
  new: GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);

 -TFile::SysSeek and TFile::SysStat have a new signature (also TNetFile, TWebFile, etc)
  old:  Int_t    SysSeek(Int_t fd, Long_t offset, Int_t whence);
        Int_t    SysStat(Int_t fd, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
  new:  Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence);
        Int_t    SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);

 -TTree::SetMaxTreeSize has a new signature:
  old:  void TTree::SetMaxTreeSize(Int_t maxsize)
  new:  void TTree::SetMaxTreeSize(Long64_t maxsize)

  All references to Seek_t have been replaced by Long64_t.

Revision 7619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 20 15:03:44 2003 UTC (11 years, 2 months ago) by brun
File length: 162359 byte(s)
Diff to previous 7571
From Axel Naumann:

I had a class with an impl file name
/home/.../src/TMyClass.cxx
which was misinterpreted as being a ROOT class (as it had the format
"*/src/T*"). I changed the ROOT class detection to check whether it's an
absolute path name, assuming that ROOT's classes' impl file names are
_always_ relative paths.

Revision 7571 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 11 18:07:19 2003 UTC (11 years, 2 months ago) by brun
File length: 162205 byte(s)
Diff to previous 7428
From Axel naumann:
With this patch
* THtml replaces the template arg brackets of base classes with proper
HTML entities
* THtml::GetHtmlFileName(TClass* classPtr) checks that classPtr->GetDecl
or ImplFileName is set before creating a file name for classPtr. Without
a Decl/ImplFileName there can't be any documentation, so the link would
point to nowhere.

Revision 7428 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 12 07:25:29 2003 UTC (11 years, 3 months ago) by brun
File length: 161950 byte(s)
Diff to previous 7394
From Axel Naumann:

THtml will now create the following warning when documention an abstract
class: "This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.", where "header"
is linked to the header html file of the class. This warning appears right
above the method list.

Revision 7394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 2 11:44:40 2003 UTC (11 years, 3 months ago) by brun
File length: 161522 byte(s)
Diff to previous 7201
From Axel Naumann

in THtml::GetHtmlFileName fix to prevent TWinNTSystem from
inserting a '\\'.

Revision 7201 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 2 17:16:30 2003 UTC (11 years, 4 months ago) by brun
File length: 161521 byte(s)
Diff to previous 6910
From Axel Naumann:

Fix in THtml in not generate <pre> </pre> statements in some cases.

Revision 6910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 07:52:31 2003 UTC (11 years, 6 months ago) by brun
File length: 161462 byte(s)
Diff to previous 6882
From Axel Naumann:
If Root.Html.Root is abs path name don't prefix file
names with relative dirs. Requested by Denis Stepanov.

Revision 6882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 10 15:37:34 2003 UTC (11 years, 6 months ago) by brun
File length: 161163 byte(s)
Diff to previous 6851
From Axel Naumann:
I have to apologize for introducing a stupid bug in THtml about a year
ago. Here's the fix. The bug was found by Denis Stepanov. He has also
already tested this patch successfully.

Corrects links to official root site for documentation of locally not
available root classes (removes path in front of "http[s]://").

Revision 6851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 7 21:25:49 2003 UTC (11 years, 6 months ago) by brun
File length: 161179 byte(s)
Diff to previous 6485
From Axel Naumann

here's a fix suggested by Denis for THtml and charsets. Currently, THtml
generates the meta tag content-type charset ISO-8859-1 (the HTML 4.01
default charset). This is obviously not always correct. THtml now has a
new env var, Root.Html.Charset, which allows the user to set the name of
the HTML character set.

Revision 6485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 28 05:23:15 2003 UTC (11 years, 8 months ago) by brun
File length: 160583 byte(s)
Diff to previous 6477
From Axel:
Previous problems reported by Reiner hould all be fixed now.
The return type issue for c'tors and d'tors
should be fixed, too.

Revision 6477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 24 06:25:30 2003 UTC (11 years, 9 months ago) by brun
File length: 160109 byte(s)
Diff to previous 6133
From Axel Naumann: Fixes for a few problems reported by Reiner Rohfls

Revision 6133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 15 05:41:04 2003 UTC (11 years, 11 months ago) by brun
File length: 160006 byte(s)
Diff to previous 6040
Add include "TROOT.h" in THtml.h (reference to gROOT).
This is necessary when THtml is included itself in some user code.

Revision 6040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 17:00:11 2003 UTC (11 years, 11 months ago) by brun
File length: 160046 byte(s)
Diff to previous 6020
From Philippe:
Inlined virtual destructor are known to cause problem with some compilers.  KCC, with exception enabled, is definitively one of them.  I solved the problem by moving the destructor to the implementation file.

Revision 6020 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 30 14:07:03 2003 UTC (11 years, 11 months ago) by brun
File length: 158318 byte(s)
Diff to previous 6017
Remove unused variable "end"

Revision 6017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 30 13:34:48 2003 UTC (11 years, 11 months ago) by brun
File length: 158363 byte(s)
Diff to previous 6016
More compilation problems fixed

Revision 6016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 30 11:59:40 2003 UTC (11 years, 11 months ago) by brun
File length: 158356 byte(s)
Diff to previous 6015
Fix several portability problems

Revision 6015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 30 11:33:48 2003 UTC (11 years, 11 months ago) by brun
File length: 158320 byte(s)
Diff to previous 5627
New version of THtml by Axel Naumann implementing a new function MakeHelp
to be used by the new ROOT Help system in preparation.

Revision 5627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 14:38:35 2002 UTC (12 years, 2 months ago) by brun
File length: 118047 byte(s)
Diff to previous 5622
Fix by Axel in the documentation of the basic types.

Revision 5622 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 09:11:06 2002 UTC (12 years, 2 months ago) by brun
File length: 117835 byte(s)
Diff to previous 5606
From Axel Naumann
*Header was copied to html output dir even if the class was decided to be linked from Root.Html.Root
* output (class description + source) was generated that was not even used (for�classes linked from
Root.Html.Root)
* All ROOT classes with names containing a "_" (i.e. many structs) ended up in USER_Index.html, and THtml
didn't realize how to link their documentation in. They are now sorted into the correct package.

Revision 5606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 17 17:35:21 2002 UTC (12 years, 2 months ago) by brun
File length: 116864 byte(s)
Diff to previous 5566
Fix by Axel

Revision 5566 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 11 17:45:24 2002 UTC (12 years, 2 months ago) by brun
File length: 116839 byte(s)
Diff to previous 5302
Patch from Axel Naumann
The USER_Index does not contain ROOT classes anymore, and THtml does not try
to access files that are not there anymore. Details of what I changed:

* check if file exists before creating .cxx.html

* removed postscript created prompt, as TCanvas already says Created file TWhatever_Tree.ps

* Looks at impl file name, if that has format; base/src/TSomething.cxx; assume it comes from
the BASE package. If impl file name is not set, look at decl file name and get package name
the same way.

Revision 5302 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 15 19:48:00 2002 UTC (12 years, 4 months ago) by brun
File length: 116433 byte(s)
Diff to previous 5049
Use the plugin manager and the new interface TVirtualUtilPad instead
of hardwired calls to the interpreter.

Revision 5049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 3 20:05:46 2002 UTC (12 years, 5 months ago) by brun
File length: 115928 byte(s)
Diff to previous 4835
Following comments by Alexandr Malusek, the following patch
from Axel Naumann should make Root html documents conform
with w3C validation test (http://validator.w3.org/)

Revision 4835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 9 06:20:40 2002 UTC (12 years, 6 months ago) by brun
File length: 115462 byte(s)
Diff to previous 4834
Remove unused variable

Revision 4834 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 8 20:49:22 2002 UTC (12 years, 6 months ago) by brun
File length: 115497 byte(s)
Diff to previous 4783
From Axel Naumann:

source            -> html output
================================
Begin_Html        -> "<pre>"
Begin_Html <pre>  -> "<pre>"
Begin_Html </pre> -> "<pre></pre>"

(and accordingly for End_Html). The exact behavior:
THtml keeps track of whether there is an open <pre> (e.g. due to Begin_Html)
or not. If there is an open <pre> all other opening <pre>s will be ignored,
only closing </pre>s will be accepted. This allows code like in TMinuit,
where </pre> is closed directly after Begin_Html, but where there are other
<pre>...</pre> code blocks inside the same Begin/End_Html block. This
"algorithm" is far from perfect, but it should work for simple cases.

THtml's code is not getting any nicer (yak: yet another kluge); Christian
Holm Christensen and I are planning / working on a complete rewrite of
THtml. For me it's a spare time project, so it might take a while. Until
then, provided rootdev decides to apply this patch, this is what THtml does
to pres in Begin/End_Html blocks.

Revision 4783 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 28 08:40:33 2002 UTC (12 years, 6 months ago) by brun
File length: 114820 byte(s)
Diff to previous 4525
From Philippe,
The intention of this patch is for the implementation file of class
without a ClassImp macro to default to the declaration file (always
available even without a ClassDef.

Revision 4525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 12 16:06:22 2002 UTC (12 years, 8 months ago) by brun
File length: 114330 byte(s)
Diff to previous 4400
Remove references to gHtml in the comments

Revision 4400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 25 06:30:15 2002 UTC (12 years, 9 months ago) by brun
File length: 114323 byte(s)
Diff to previous 4374
Patch from Axel Naumann
I have fixed then two problems reported by Chistian and Francois-Xavier.
* <pre><ul><li> are replaced by <ul><li><tt>
* the title of SOMETHING_Index.html now reflects SOMETHING
* quotes added to name statement for class description
* spaces are not replaced in path names anymore, only in class names, same
for non-standard filesystem characters: They may apprear in the path (which
is set by the user), but are replaced in the class name.

Revision 4374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 17 21:14:38 2002 UTC (12 years, 9 months ago) by brun
File length: 114057 byte(s)
Diff to previous 4344
Patch from Axel Naumann
here is the fix, found by Denis (linux interprets char as unsigned char,
making a char>32 comparison false for chars with ASCII code>127).

Revision 4344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 10 18:14:26 2002 UTC (12 years, 9 months ago) by rdm
File length: 114043 byte(s)
Diff to previous 4065
allow URL starting with https: instead of http: for Root.Html.Root. Fix
by Axel Naumann.

Revision 4065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 22 20:52:05 2002 UTC (12 years, 11 months ago) by brun
File length: 113738 byte(s)
Diff to previous 3817
Fix by Axel Naumann:
* Special characters are not written to the html files anymore.
* occurences of <pre> or </pre> are removed in comments

Revision 3817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 31 07:27:11 2002 UTC (12 years, 11 months ago) by brun
File length: 113148 byte(s)
Diff to previous 3748
The following patch from Axel Naumann
* The bug reported and fixed by Ruben was due to a Log10 being not protected
from negative arguments. Ruben, thanks for finding that bug!
* without libNew
 --- private etc method and data member sections were printed even if the
class doesn't have such members (test was e.g. on memberArray[j * ndata]
instead num[j])
 --- include files ended on uninitialized characters
* templated types were not printed correctly (no protection of <,>,' ')
* Classes were referenced even though they don't have an implementation
known to CInt (fixed by returning 0 in case of an unknown implementation
file): This will create some "unknown class G__whatever" - but at least they
are not linked in anymore. And ostream etc are now listed in the list of
types and linked correctly instead of creating a link to
"basic_ostream<char...>.html".

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
File length: 112687 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
File length: 112686 byte(s)
Diff to previous 2894
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 2894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 29 13:00:59 2001 UTC (13 years, 3 months ago) by rdm
File length: 112707 byte(s)
Diff to previous 2892
some formatting cleanup (according to house style).

Revision 2892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 29 08:34:10 2001 UTC (13 years, 3 months ago) by brun
File length: 111570 byte(s)
Diff to previous 2891
Replace a bool by Bool_t. Necessary to compile on Solaris CC4 and AIX XlC3

Revision 2891 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 29 07:31:58 2001 UTC (13 years, 3 months ago) by brun
File length: 111567 byte(s)
Diff to previous 2532
Important bug fixes and improvements by Axel Naumann.
All changes are obviously backwards compatible:
Nothing _needs_ to be changed in one's documentation (but a lot could be).
Bugfixes and improvements:

Bugfixes:
* sometimes THtml wasn't able to identify a method of namespace'd classes in
source files,
* namespaced classes as return types are now correctly identified,
* global enums are known as classes to CINT although they don't have the
ClassDef macro. If such an enum showed up in a source file it resulted in a
link to their - non-existent - documentation page (as CINT returned a class
info), but as they don't have DeclFile / ImplFile no documentation is
generated for them. I resolved that by only generating a link for globals
only if the class info has a decl file specified. Thus gROOT still points to
TROOT.html, but kChildFrame doesn't point to EFrameType. Bug found by Thomas
Bretz.
* fXWho was set in the code. Now the env var Root.Html.XWho is read in; if
it's not set, the old value is used.
* unused var "funcName" in ClassDescription removed (there was one with
local scope & another one with method scope of the same name, one of them
was unused)
* gROOT is not asked anymore if "const" is a global object each time a
"const" shows up in the source file. Takes too much time.

Improvements:
* documentation (of the class responsible for self-documenting...).
* Authors: multiple authors can be given (comma separated list), custom HTML
link can be specified after each author name in <...>.
* some char strings were far too short and resulted in out-of-bounds memory
writes. Author, copyright, update and "nextLine" are changed (some from 80)
to 1024 chars now.
* Not documented: Doc++ compatible comments outside of methods. To enable it
the env var "Root.Html.DescriptionStyle" has to be set to "Doc++". THtml's
new ability does not influence anything else, it's completely independent.
Thomas Bretz and I have tested this for a while. But I'm not sure if
allowing multiple documentation styles is a good thing. So we could just
keep that a secret...

Revision 2532 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 6 07:34:39 2001 UTC (13 years, 6 months ago) by brun
File length: 103298 byte(s)
Diff to previous 2476
Several improvements by Axel Naumann to support namespaces and header/footer.
Quoted from a mail from Axel
"NOTE: I have changed the standard in one case. Please tell me if you want to
reversed. Due to this change all MyClass.html files will contain the "last
changed" date, even if not given in the file (if lastChanged=="", THtml
takes the current date, which in most cases should be a good approximation -
if the file weren't changed one wouldn't regenerate the documentation). See
the attached html file for an example.

To include your own files, e.g. a header, edit e.g.
$ROOTSYS/etc/system.rootrc. Add lines with "Root.Html.Header:    <your
filename>". Make sure the file ends with a new line (this is valid for all
files THtml is processing, shall we change that?)!

You can also say "Root.Html.Header:    <your filename>+" in which case THtml
will first write its standard header and then the one provided by you (for
the footer it's the other way around, first yours, then the standard)."

Revision 2476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 27 17:31:39 2001 UTC (13 years, 7 months ago) by rdm
File length: 97412 byte(s)
Diff to previous 2453
change <pre>...<h3>...</h3>...</pre> to <pre>...</pre><h3>...</h3><pre>...</pre>
so Opera display the html files correctly. Fix by Christian Holm.

Revision 2453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 25 12:54:33 2001 UTC (13 years, 7 months ago) by rdm
File length: 97319 byte(s)
Diff to previous 2233
several small mods for gcc v3 compatability (mainly adding some missing
iostream.h includes).

Revision 2233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 18 06:47:34 2001 UTC (13 years, 8 months ago) by brun
File length: 97307 byte(s)
Diff to previous 2218
Mods in THtml::MakeIndex. The test looking for the source directory
containing the string /src/ was too restrictive and not producing a correct
index in case a user has class names in directories like /a/src/xxx/MyClass.cxx.

Revision 2218 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 08:55:58 2001 UTC (13 years, 8 months ago) by brun
File length: 97476 byte(s)
Diff to previous 1533
Set unitialized array fCounter (thanks Axel Naumann).
Remove test with "_" in THtml::MakeIndex. This test was to support the old Root
file names and prevents user classes to contain a "_"

Revision 1533 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 17:35:55 2001 UTC (13 years, 11 months ago) by brun
File length: 97427 byte(s)
Diff to previous 1525
Protection by Peter Hristov replacing a while by a for loop.

Revision 1525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 10:34:20 2001 UTC (13 years, 11 months ago) by brun
File length: 97482 byte(s)
Diff to previous 711
Add new options in MakeAll and MakeIndex to process only the classes
specified by a filter. The implementation is backward compatible:

void THtml::MakeAll( Bool_t force, const char *filter)
{
// It makes all the classes specified in the filter (by default "*")
// To process all classes having a name starting with XX, do:
//        html.MakeAll(kFALSE,"XX*");
// if force=kFALSE (default), only the classes that have been modified since
// the previous call to this function will be generated.
// if force=kTRUE, all classes passing the filter will be processed.

void THtml::MakeIndex(const char *filter)
{
   // It makes an index files
   // by default makes an index of all classes (if filter="*")
   // To generate an index for all classes starting with "XX", do
   //    html.MakeIndex("XX*");

Revision 711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 16:32:43 2000 UTC (14 years, 3 months ago) by brun
File length: 96562 byte(s)
Diff to previous 54
Bug fix (thanks Francesco Forti) in THtml::Class2Html.
A protection was missing in case the maximum array index cannot be found
by CINT resulting in a null or negative argument to TMath::Log

Revision 54 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 17:15:20 2000 UTC (14 years, 7 months ago) by rdm
File length: 96484 byte(s)
Diff to previous 53
increased size of variable lastUpdate, this fixes memory exhaustion during deletion

Revision 53 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 16:45:51 2000 UTC (14 years, 7 months ago) by brun
File length: 96486 byte(s)
Diff to previous 3
Modify TTree::SetBasketSize and SetBranchStatus to take into account branch names
with dimensions like ring[48]. Branch names containing [] were omitted
due to the special meaning of these characters in teh regular expressions.

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
File length: 96432 byte(s)
Copied from: branches/rdm/html/src/THtml.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/html/src/THtml.cxx
File length: 96432 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