Skip to content
Snippets Groups Projects
  1. Mar 17, 2008
  2. Dec 12, 2007
    • Axel Naumann's avatar
      From Matevz and me: · cd521af8
      Axel Naumann authored
      * 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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@21326 27541ba8-7e3a-0410-8455-c3a389f83636
      cd521af8
  3. Sep 19, 2007
  4. Aug 28, 2007
  5. Aug 10, 2007
    • Axel Naumann's avatar
      * The info box in the class doc page is now only shown if javascript is... · 6dcfe35f
      Axel Naumann authored
      * 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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@19593 27541ba8-7e3a-0410-8455-c3a389f83636
      6dcfe35f
  6. Jul 30, 2007
    • Axel Naumann's avatar
      * Add THtml::IncludePath(): remove parts of DeclFileName() for the class info... · 5468b2a7
      Axel Naumann authored
      * 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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@19494 27541ba8-7e3a-0410-8455-c3a389f83636
      5468b2a7
  7. Jul 02, 2007
  8. Jun 11, 2007
  9. May 09, 2007
  10. Mar 28, 2007
  11. Mar 19, 2007
  12. Mar 16, 2007
    • Axel Naumann's avatar
      * fix func doc div containing a directive · b43689ce
      Axel Naumann authored
      * 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
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@18293 27541ba8-7e3a-0410-8455-c3a389f83636
      b43689ce
  13. Feb 15, 2007
    • Axel Naumann's avatar
      Generate product doc, re-group code for re-use in module/product doc · 1e17cd22
      Axel Naumann authored
      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
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17971 27541ba8-7e3a-0410-8455-c3a389f83636
      1e17cd22
  14. Feb 13, 2007
    • Axel Naumann's avatar
      surround converted module doc by <pre></pre>; · 2da64cc8
      Axel Naumann authored
      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 "{};"
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17942 27541ba8-7e3a-0410-8455-c3a389f83636
      2da64cc8
  15. Feb 08, 2007
  16. Feb 07, 2007
    • Rene Brun's avatar
      From Axel: · 2d9d5222
      Rene Brun authored
      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  :-)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@17762 27541ba8-7e3a-0410-8455-c3a389f83636
      2d9d5222
  17. Jan 15, 2007
  18. Sep 25, 2006
  19. Aug 22, 2006
    • Fons Rademakers's avatar
      From Axel: · 747af757
      Fons Rademakers authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16076 27541ba8-7e3a-0410-8455-c3a389f83636
      747af757
  20. Aug 21, 2006
  21. Aug 18, 2006
    • Rene Brun's avatar
      From Axel: · 6e044e2c
      Rene Brun authored
      Document private members, too (oops). Update THtml's doc (part 1). Make
      CreateStyleSheet() and CreateJavascript() public. Fix treatment of <pre>
      </pre> tags.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16052 27541ba8-7e3a-0410-8455-c3a389f83636
      6e044e2c
  22. Aug 04, 2006
  23. Aug 03, 2006
    • Rene Brun's avatar
      From Axel: · 760594d6
      Rene Brun authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15916 27541ba8-7e3a-0410-8455-c3a389f83636
      760594d6
    • Rene Brun's avatar
      From Axel: · f17b22ec
      Rene Brun authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15904 27541ba8-7e3a-0410-8455-c3a389f83636
      f17b22ec
  24. Jul 27, 2006
    • Rene Brun's avatar
      From Axel: · b35679b2
      Rene Brun authored
      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
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15863 27541ba8-7e3a-0410-8455-c3a389f83636
      b35679b2
  25. Jul 11, 2006
  26. Jul 09, 2006
  27. Jul 08, 2006
    • Rene Brun's avatar
      From Axel: · 13a8ffa6
      Rene Brun authored
      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:
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15739 27541ba8-7e3a-0410-8455-c3a389f83636
      13a8ffa6
  28. May 16, 2006
  29. May 04, 2006
    • Rene Brun's avatar
      From Axel: · d8faf477
      Rene Brun authored
      * 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
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@14914 27541ba8-7e3a-0410-8455-c3a389f83636
      d8faf477
  30. Apr 25, 2006
    • Rene Brun's avatar
      From Axel: · 68f1a762
      Rene Brun authored
      * 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
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@14845 27541ba8-7e3a-0410-8455-c3a389f83636
      68f1a762
  31. Apr 07, 2006
    • Fons Rademakers's avatar
      From Axel: · b2347eb1
      Fons Rademakers authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@14591 27541ba8-7e3a-0410-8455-c3a389f83636
      b2347eb1
  32. Sep 04, 2005
  33. Jan 28, 2004
  34. Jan 21, 2004
    • Rene Brun's avatar
      From Axel Naumann and Thomas Bretz: · 7c7291ef
      Rene Brun authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@7958 27541ba8-7e3a-0410-8455-c3a389f83636
      7c7291ef
  35. Feb 15, 2003
  36. Jan 31, 2003
    • Rene Brun's avatar
      From Philippe: · 78ad3dc0
      Rene Brun authored
      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.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@6040 27541ba8-7e3a-0410-8455-c3a389f83636
      78ad3dc0
  37. Jan 30, 2003
Loading