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

Log of /trunk/html/src/TClassDocOutput.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: 62328 byte(s)
Diff to previous 47939
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 47939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 9 19:16:02 2012 UTC (2 years, 1 month ago) by rdm
File length: 62328 byte(s)
Diff to previous 44507
Here we go:
- Remove CINT
- Update configure to not have CINT references
- Update Makefile to not have CINT references
- Remove all references to G__BIT_xxxx
More cleaning in next rounds.

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: 62332 byte(s)
Diff to previous 43326
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 43326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 12 13:32:53 2012 UTC (2 years, 10 months ago) by axel
File length: 61467 byte(s)
Diff to previous 39488
Use "@" as separator of overload index; fixes Savannah #92453

Revision 39488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 30 14:49:11 2011 UTC (3 years, 7 months ago) by axel
File length: 61467 byte(s)
Diff to previous 39128
Don't write links to pages that we know don't exist!

Revision 39128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 6 15:25:59 2011 UTC (3 years, 8 months ago) by axel
File length: 61587 byte(s)
Diff to previous 31521
Fix viewvc for out of source builds.

Revision 31521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 13:05:56 2009 UTC (5 years, 1 month ago) by axel
File length: 61192 byte(s)
Diff to previous 31118
From Mattias Ellert and me:
Use PNG output from dot instead of GIF. Fixes #59941.

Revision 31118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 12 11:32:55 2009 UTC (5 years, 2 months ago) by axel
File length: 61192 byte(s)
Diff to previous 31111
Properly escape class names for class doc section names.
Fixes link to e.g. ROOT__Fit__Fitter.html#ROOT__Fit__Fitter:Data_Members

Revision 31111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 12 09:57:56 2009 UTC (5 years, 2 months ago) by axel
File length: 61074 byte(s)
Diff to previous 27897
Merge from https://root.cern.ch/svn/root/branches/dev/axel/html_parse_then_write:
Make TDocParser::TMethodWrapper accessible as a fwd decl by putting it out of TDocParser; renamed to TDocMethodWrapper.
Change TDocMethodWrapper::fMethod to non-const, so GetListOfArguments() can be called.
Pass TDocMethodWrapper tp TClassDocOutput::WriteMethod(), so it can determine the overload index and add it to the anchor's name; fixes Savannah #37432.
Increase the hash table size for fMethods.
Collect a list of method candidates; will implement a bit of overload matching.
Fix doc for TDocParser::fMethodCounts.

Put the overload index (as determined by TClass) into the link;
still need the same in TClassDocOutput::WriteMethod() for the anchor.

Allow non-inlined methods defined in header or sources to be found for templated classes.

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: 60760 byte(s)
Diff to previous 27562
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 27562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 21 10:55:11 2009 UTC (5 years, 11 months ago) by axel
File length: 60771 byte(s)
Diff to previous 27561
Line numbers are now anchors: one can send them around and bookmark them to jump to a certain line.
They are now also copy&paste-able: for a file SrcFile.cxx and its line 123 the text will be "SrcFile.cxx:123", i.e. idea for setting a breakpoint e.g. in GDB.
Factor out the writing of line numbers (from TDocParser::Convert and TDocOutput).
Fix the href of the empty source file links for source-less classes.

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: 60817 byte(s)
Diff to previous 27541
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 27541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 20 09:13:36 2009 UTC (5 years, 11 months ago) by axel
File length: 60259 byte(s)
Diff to previous 27492
Write source in Convert, never comment (i.e. directive output)
Rename pre.code to pre.listing to not clash with inline code's pre.
Always parse directives - they are needed e.g. for the class doc even when generating the source output.
Set bg for tabbed code to white.

Revision 27492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 15:09:19 2009 UTC (5 years, 11 months ago) by axel
File length: 60256 byte(s)
Diff to previous 27007
Adapt style to new ROOT drupal site.
Improve source pages by showing line numbers that are immune to copy&paste.

Revision 27007 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 18 16:37:51 2008 UTC (6 years, 1 month ago) by axel
File length: 60077 byte(s)
Diff to previous 26715
Fix a severe issue with the documentation for the indices: the documentation in doc/ did not show up.
Fix a miscount of </div> tags around WriteTopLinks

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: 59953 byte(s)
Diff to previous 23937
Cosmetics: rename ViewCVS to the more generic ViewVC. Keep Root.Html.ViewCVS for backward compatibility.

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: 59955 byte(s)
Diff to previous 23908
Add typedefs-to-class that are defined within namespaces to the class index.

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: 59854 byte(s)
Diff to previous 23813
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 23813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 09:29:48 2008 UTC (6 years, 8 months ago) by axel
File length: 59238 byte(s)
Diff to previous 23812
Fix the method list for namespaces

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: 59163 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: 59145 byte(s)
Diff to previous 22488
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 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: 59565 byte(s)
Diff to previous 21328
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 21328 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 09:32:46 2007 UTC (7 years, 1 month ago) by axel
File length: 59552 byte(s)
Diff to previous 21326
Add class doc.

Revision 21326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 08:26:04 2007 UTC (7 years, 1 month ago) by axel
File length: 58883 byte(s)
Diff to previous 20882
From Matevz and me:
* allow several classes in one source file with doc for each. Documentation in front of a class' ClassImp() invocation will be used; if there is none, the first one in the file will be taken (see e.g. TH1F etc: shared doc for all classes).
* convert the class doc parsing into a state machine which fixes a few cases where THtml was "forgetting" to write the class doc.
* fix a span for namespaces.
* Strip() now also removes newlines.
* clear un-used comments; fixes rare problem with misinterpreted comments.

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: 58882 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: 58882 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: 58940 byte(s)
Diff to previous 19712
remove :$ from tag line

Revision 19712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 28 13:54:39 2007 UTC (7 years, 4 months ago) by axel
File length: 58950 byte(s)
Diff to previous 19593
Also check that AClass.html exists when checking whether a doc update is needed for AClass.

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: 58906 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: 59121 byte(s)
Diff to previous 18997
* 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 18997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 14:09:06 2007 UTC (7 years, 7 months ago) by axel
File length: 58599 byte(s)
Diff to previous 18632
Report constness of function and parameter default values also in method doc if method is unique without overload resolution.
HTML-escape '"' in link tooltips.

Revision 18632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 10:14:43 2007 UTC (7 years, 8 months ago) by brun
File length: 57720 byte(s)
Diff to previous 18577
Fix a bug reported by ryu.sawada@psi.ch at https://savannah.cern.ch/bugs/?26022

Revision 18577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 24 18:37:39 2007 UTC (7 years, 9 months ago) by brun
File length: 57717 byte(s)
Diff to previous 18419
Fix a bug in TClassDocOutput::CreateDotClassChartIncl,  replacing
  delete real;
by
  delete [] real
see: http://savannah.cern.ch/bugs/?25843

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: 57714 byte(s)
Diff to previous 18293
Allow Wiki links for discussions/free-form doc of classes if THtml::SetWikiURL() is set, a la PHP

Revision 18293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 15:25:55 2007 UTC (7 years, 10 months ago) by axel
File length: 57415 byte(s)
Diff to previous 17971
* fix func doc div containing a directive
* fix <pre></pre> parsing
* fix graphics initialization
* strip macro name for directive
* handle macro param for directive
* convert the macro source
* fix tags (=file names) for directive-generated imgs
* fix class doc search in headers
* remove leading ///// in comment
* add some padding in front of method args

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: 57403 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: 56144 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]
Added Wed Feb 7 20:40:39 2007 UTC (7 years, 11 months ago) by brun
File length: 55983 byte(s)
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  :-)

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