Log of /trunk/html/inc/TDocParser.h
Parent Directory
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: 8667 byte(s)
Diff to
previous 30799
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: 8623 byte(s)
Diff to
previous 27531
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
27531 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 19 16:51:35 2009 UTC (5 years, 11 months ago) by
axel
File length: 8587 byte(s)
Diff to
previous 27492
When converting sources with line numbers (i.e. code) we cannot interpret directives as it would close any open <pre> which is fatal.
To better control what's happening inside convert's pre it is now contained in a div; both sue the new class listing.
Fixes display of the tutuorials.
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: 8385 byte(s)
Diff to
previous 26670
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
26551 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 1 16:01:18 2008 UTC (6 years, 1 month ago) by
axel
File length: 8234 byte(s)
Diff to
previous 23908
Shorten output file names by using two different approaches:
A: replace "A::X<A::Y>" by "A::X<-p0Y>",
"A::B::X<A::B::Y>" by "A::B::X<-p1Y>", etc,
i.e. reuse the enclosing scope for template parameters.
Example: ROOT__Math__PositionVector2D_-p1Cartesian2D_double__-p1DefaultCoordinateSystemTag_.html
instead of ROOT__Math__PositionVector2D_ROOT__Math__Cartesian2D_double__ROOT__Math__DefaultCoordinateSystemTag_.html
B: if the file name is still > 240 chars (ext2 has a max of 255) then
chop it off and patch a hash in (with a leading "this is a hash" tag).
So the name becomes "beginning_of_name"-h"hash"."extension".
Example: vector_ROOT__Math__DisplacementVector3D_ROOT__Math__CylindricalEta3D_double__ROOT__Math__DefaultCoordinateSystemTag__allocator_ROOT__Math__DisplacementVector3D_ROOT__Math__CylindricalEta3D_double__ROOT__Math__DefaultCoordinateSystem-hC3SnxD.html
This fixes Savannah #42815.
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: 8214 byte(s)
Diff to
previous 23799
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
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: 8179 byte(s)
Diff to
previous 21326
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
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: 7850 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: 7501 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
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: 7561 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: 7484 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: 7388 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: 7412 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.