[root] / trunk / html / inc / THtml.h Repository:
ViewVC logotype

Log of /trunk/html/inc/THtml.h

Parent Directory Parent Directory


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

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: 20738 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: 20719 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: 20141 byte(s)
Diff to previous 27453
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 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: 20058 byte(s)
Diff to previous 26944
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 26944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 16 10:27:55 2008 UTC (6 years, 1 month ago) by brun
File length: 20020 byte(s)
Diff to previous 26828
From Axel and me:
patch calls $ROOTSYS/etc/html/saveScriptOutput.C for some
directories (gui,...). With that MakeTutorials finishes for almost all the
tutorials - a few are crashing, and a few need a restart

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: 19943 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: 19271 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: 19183 byte(s)
Diff to previous 26677
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 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: 18823 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: 18641 byte(s)
Diff to previous 25528
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 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: 18585 byte(s)
Diff to previous 23908
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 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: 18576 byte(s)
Diff to previous 23812
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 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: 18563 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: 18484 byte(s)
Diff to previous 20882
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 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: 10941 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: 10941 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: 10987 byte(s)
Diff to previous 19593
remove :$ from tag line

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: 10997 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: 10478 byte(s)
Diff to previous 19221
* 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 19221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 2 14:31:27 2007 UTC (7 years, 6 months ago) by axel
File length: 10247 byte(s)
Diff to previous 18717
Simplify the tracking of library dependencies - move them into new TLibraryDocInfo
Allow invocation of all graphjviz tools, e.g. fdp.
library dependencies: use fdp, cleaner layout by skipping A->C if A->B->C exists, too.

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: 10670 byte(s)
Diff to previous 18419
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 18419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 15:12:35 2007 UTC (7 years, 9 months ago) by axel
File length: 10668 byte(s)
Diff to previous 18338
Allow Wiki links for discussions/free-form doc of classes if THtml::SetWikiURL() is set, a la PHP

Revision 18338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 19 10:59:41 2007 UTC (7 years, 10 months ago) by axel
File length: 10363 byte(s)
Diff to previous 17971
Fix coding conventions violation
Fix typo in THtml::SetMdouleDocPath()
More sleeping for GUI macro directives (now 1sec)
Fix title for product doc's class hierarchy

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: 10363 byte(s)
Diff to previous 17806
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 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: 6813 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: 6626 byte(s)
Diff to previous 17345
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 17345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 16:57:37 2007 UTC (8 years ago) by brun
File length: 9643 byte(s)
Diff to previous 16318
Remove unused TROOT.h

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: 9687 byte(s)
Diff to previous 16076
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 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: 9275 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: 9198 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: 9410 byte(s)
Diff to previous 15922
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 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: 9398 byte(s)
Diff to previous 15916
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 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: 9316 byte(s)
Diff to previous 15904
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 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: 9237 byte(s)
Diff to previous 15863
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 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: 9134 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: 8952 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: 8437 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: 8436 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: 8352 byte(s)
Diff to previous 15061
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 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: 6601 byte(s)
Diff to previous 14914
Fix coding conventions violations

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: 6722 byte(s)
Diff to previous 14845
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 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: 6278 byte(s)
Diff to previous 14591
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 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: 19230 byte(s)
Diff to previous 12624
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 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: 18823 byte(s)
Diff to previous 8070
Fix coding conventions violations.

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: 18807 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: 18298 byte(s)
Diff to previous 6133
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 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: 18281 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: 18377 byte(s)
Diff to previous 6017
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 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: 20043 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: 20036 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: 20057 byte(s)
Diff to previous 2532
New version of THtml by Axel Naumann implementing a new function MakeHelp
to be used by the new ROOT Help system in preparation.

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: 4888 byte(s)
Diff to previous 1525
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 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: 4849 byte(s)
Diff to previous 1122
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 1122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 5 10:56:10 2000 UTC (14 years, 1 month ago) by brun
File length: 4803 byte(s)
Diff to previous 568
Change private fields to protected to allow inheritance.

Revision 568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 09:21:24 2000 UTC (14 years, 4 months ago) by brun
File length: 4804 byte(s)
Diff to previous 3
The following headers and classes have been modified to take into account;
  - the new signature of IsFolder (now const)
  - the new TObject::FindObject
  - the fact that the static functions of TObject have been moved to TROOT.

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: 4817 byte(s)
Copied from: branches/rdm/html/inc/THtml.h 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/inc/THtml.h
File length: 4817 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