summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Bug 124252 - A function cannot be documented as related to two classes.albert-github2018-06-161-0/+16
| | |/ | |/| | | | | | | | | | Multiple use in one comment block of \relates or \relatesalso or \memberof or a mixture is silently ignored (only last command is active). In this patch a warning is given and the right relatesType is set (in case of Simple the previous type remained).
| * | Bug 796086 - Adjacent xrefitems always added to first list present on pagealbert-github2018-05-141-1/+1
| |/ | | | | | | Better to search backward then forward to find related item.
* | Bug 663297 - @todo in @param leads to strange confusing messagealbert-github2018-05-181-6/+6
|/ | | | | | | | With the 1.8.14 version the message was: warning: unexpected token in comment block while parsing the argument of command param this is due to the fact that the @todo command is replaced by a \xrefitem command but it was joined directly with the parameter name, adding a space, in the code, solves the problem. In case there was another word (or doxygen command) in front of it the problem does not occur as it \xrefitem is not joined with the parameter name. Similar problem occured with the \endinternal (\internal) command.
* Merge pull request #654 from albert-github/feature/bug_group_consistencyDimitri van Heesch2018-04-291-2/+4
|\ | | | | Consistency for "group" commands
| * Consistency for "group" commandsalbert-github2018-02-121-2/+4
| | | | | | | | | | When a non-recognized character appears in a group-command id this is echoed to the console as the default (lex-)rule will be used. This patch ignores these characters, furthermore in case of a \ in the description this is shown in the output as well.
* | Merge pull request #674 from albert-github/feature/bug_792122Dimitri van Heesch2018-04-221-27/+19
|\ \ | | | | | | Bug 792122 - XHTML pages are broken several ways
| * | Bug 792122 - XHTML pages are broken several waysalbert-github2018-03-041-27/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Markdown processing was done after the normal tag processing and splitting the comment in brief, doc, inline. This resulted in that sectioning parts (i.e. e.g. ==== conversion to <h1> ) remained in the brief description whilst similar constructs with HTML commands landed in the doc (details) description. By performing the markdown on the entire comment block this problem has been overcome. commentscan.l - change moment of calling markdown processing - skip start spaces and subsequent empty lines in markdown processed code - small debug correction markdown.cpp - don't convert the dashes in <!-- and --> (HTML type comment) - small debug correction 054 test - update of example for compatibility and adding part about none code result. doxygen.cpp - small textual comment correction
* | Consistent warning messagesalbert-github2018-02-201-5/+5
|/ | | | | | Remove second @ from warning message and replace all @ with \ in warnings for comments in comment scanner. Error showed up in (Lapack v3.8.0): .../lapack/BLAS/SRC/sdsdot.f:25: warning: reached end of comment while inside a @verbatim block; check for missing @@endverbatim tag!
* Misc. typosluzpaz2017-12-231-1/+1
| | | | | Super trivial typos Some are in qtools/ which I know is a 3rd party dependency but as we know is now obsolete upstream. I reckon it wouldn't be much of an issue to merge neverthless Tacked on several more commits
* Bug 775493 - Usage of underscore's in parameter namesDimitri van Heesch2017-01-081-2/+45
|
* flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+2
|
* Bug 769018 - Invalid XHTML if the directives brief and exception are ↵Dimitri van Heesch2016-07-311-0/+1
| | | | following immediately
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-3/+3
| | | | improve performance
* Support flex-2.6.0Dimitri van Heesch2015-11-221-2/+2
|
* Support flex-2.6.0Heiko Becker2015-11-221-2/+2
| | | | | | The version checks only considered YY_FLEX_SUBMINOR_VERSION and did not take YY_FLEX_MINOR_VERSION into account, which made them fail with flex-2.6.0.
* Bug 754184 - \bug paragraph doesn't end with a new sectioning commandDimitri van Heesch2015-10-201-19/+2
|
* Bug 753500 - $file when using @name is wrongDimitri van Heesch2015-09-141-7/+9
|
* Improved handling of <caption> in tables for LaTeX output.Dimitri van Heesch2015-08-081-18/+43
|
* Bug 751321 - \cite still rejects valid BibTeX keysDimitri van Heesch2015-07-191-1/+1
|
* drop #include <unistd.h>Adrian Negreanu2015-05-151-2/+3
| | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Bug 746226 - last enum member not documentedDimitri van Heesch2015-04-121-1/+1
|
* Guarded debug prints against printing a NULL pointer.Dimitri van Heesch2015-04-061-4/+4
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2015-02-261-0/+16
|\
| * Adding commands \hidecallgraph and \hidecallergraphalbert-github2015-02-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the new commands \hidecallgraph and \hidecallergraph it is possible to suppress a call or caller graph even though the corresponding option CALL_GRAPH or CALLER_GRAPH is set. commands.doc config.xml diagrams.doc - updating documentation to support new commands entry.cpp - initialize callgraph and callergraph with the value from the config file commentscan.l - add handling for the new commands context.cpp memberdef.cpp util.cpp - getting the option for CALL_GRAPH and CALLER_GRAPH is not necessary anymore as it is incorporated in the initialization of an Entry item dbusxmlscanner.cpp - initialization is done in the Entry item vhdljjparser.cpp - gBlock was a static variable and therefore initialized before the doxygen main routine started. A Entry element sets now the default for callgraph and callergraph based on the config file and as the config file is not yet known at that moment the value for CALL_GRAPH and CALLER_GRAPH were set to False. By making a pointer of gBlock and doing an appropriate new Entry call this problem is overcome.
* | Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|/
* Fix bug: language switch command "\~" failed to detect language id which ↵kbinani2014-12-011-2/+2
| | | | | | contains '-' Support language switch for language ids, 'Japanese-en', 'Korean-en', 'Serbian-Cyrillic', and similer langauge ids.
* Problem in case of line termination (., a dot) direct after the \cite commandalbert-github2014-09-031-1/+1
| | | | | | | | In case a sentence like: Cite reference at end of line with a dot \cite hicks2001. is used the cite_key is hicks2001. (so including the .) This is a regression of Bug 702584 - \cite rejects valid BibTeX keys
* Bug 734727 - GENERATE_TAGFILE no longer includes any @*section linksDimitri van Heesch2014-08-141-4/+4
|
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-3/+13
|
* Bug 702584 - \cite rejects valid BibTeX keysalbert-github2014-07-061-1/+3
| | | | Added possibility for . (dot) and + (bit analogous to file names. A . (dot) cannot be the last character)
* Added support for \-- and \--- to prevent interpretation as ndash and mdashDimitri van Heesch2014-04-131-0/+6
|
* Bug 678436 - Nested \if messes up list itemsalbert-github2014-04-071-1/+1
| | | | Blank spaces after an if statement have to be removed as well. Also spaces before the firs round bracket have to be removed.
* Bug 678436 - Nested \if messes up list itemsalbert-github2014-04-061-2/+2
| | | | Blank spaces after an if statement have to be removed as well. Just enable them as part of the parameter of the conditional expression and remove them later on (to be safe not having them in the parser).
* Added \latexinclude command (thanks to Juan Zaratiegui for the patch)Dimitri van Heesch2014-03-271-1/+2
|
* In case of sections with the same name they are not reported.albert-github2014-03-021-22/+66
| | | | | In this patch it is checked if a section label has been used before and if so a warning is given with file name and line number (when possible) where the section label was used the first time. Note in section.h the item level was not initialized in the past in case of a copy constructor.
* Bug 722603 - doxygen nested \if \endif sample not workingDimitri van Heesch2014-02-111-2/+8
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Fixed issues with @parblock and added regression test caseDimitri van Heesch2014-01-041-0/+5
|
* Added missing space after @parblockDimitri van Heesch2013-11-231-1/+1
|
* Debug output for lexical analyzerAlbert2013-11-131-0/+2
| | | | | | | | | | | | | | In case of error messages like: input buffer overflow, can't enlarge buffer because scanner uses REJECT it is not always directly clear from which lexical analyzer (.l file) this problem comes. This patch helps to find these problems and does the following things: - when using the option -d lex with doxygen each time a lexical analyzer is called at the start a line like the following line will be given: Entering lexical analyzer: pre.l (for: ..../file.c) and at the end: Finished lexical analyzer: pre.l (for: ..../file.c) - in case the lexical analyzer has been translated with the -d option of lex / flex the above mentioned lines will be given as part of the lexical analyzer output (to stderr) and look like: --entering lexical analyzer: pre.l (for: ..../file.c) --finished lexical analyzer: pre.l (for: ..../file.c)
* This patch contains changes regarding the build system so that the *nix and ↵albert-github2013-10-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows systems use the same information (consistency). Some use names routine names have been changed (from .l files with -P option) to reflect the file name that generated the routines, this makes it easier to create a general procedure. A number of include / header files are files are generated from different file types (html, xml, js), due some limitations of the windows build system the generated file names had to be changed (the extension in the windows build system is only available including the '.' so e.g. the file jquery_fx.js generates now jquery_fx.js.h instead of jquery_fx_js.h) In the windows version the creation of .cpp files from .l files has been adjusted to correct for the YY_BUF_SIZE problems. Furthermore on windows (and also used on *nix) some commends have been replaced with python scripts so that on windows only python is need (besides flex and and bison). On *nix also perl is required for the generation using tmake. Below a short description of the changes will be given and grouped. Changed files ============= - .gitignore added some directories and file - Doxyfile corrected for changed file names - Makefile.in added realclean and some other changes (ignore error) and the moment when the Makefile is deleted (as last file). Added entries for doxyapp and doxmlparser Added realclean for the following files (consistency): ====================================================== - Makefile.win_make.in - Makefile.win_nmake.in - addon/doxmlparser/examples/metrics/Makefile.in - addon/doxmlparser/src/Makefile.in - addon/doxmlparser/test/Makefile.in - addon/doxyapp/Makefile.in - addon/doxysearch/Makefile.in - libmd5/Makefile.in - qtools/Makefile.in - addon/doxyapp/doxyapp.pro.in removed double occurence of -L../../lib - addon/doxysearch/doxysearch.pro.in no visible change just spacing? - addon/doxywizard/Makefile.in added realclean corrected call to qmake (to get it from the right place, it is not necessarily in the path) made some macros known in the called process - addon/doxywizard/configdoc.cpp automatically generated, can be removed - addon/doxywizard/doxywizard.pro.in corrected dependencies corrected call to python (to get it from the right place, it is not necessarily in the path) new items to generate version.cpp and config_doxyw.cpp - configure added configuration definition possibility for python added possibility to build doxmlparser automatically generate the lang_cfg.h file based on the available languages (translator_??.h) and not on a fixed list. This step still has to be added to the windows build process. - doc/Makefile.in corrected call to python (to get it from the right place, it is not necessarily in the path) - doc/config.doc small correction - doc/install.doc added python as a requirement changed CVS to GitHub - doc/language.doc automatically generated file, based on other changes. - doc/language.tpl made XX and xx more consistent changed description of the procedure based on changes already made configure. - src/Makefile.in adjusted used file names in distclean Solved PERL usage consistent with LEX / YACC (with %%PERL%%) automatically add translator_??>h to HEADERS same spacing Adjusted in the following file the names of some include files: =============================================================== - src/cite.cpp - src/docbookgen.cpp - src/ftvhelp.cpp - src/htmlgen.cpp - src/layout.cpp - src/searchindex.cpp - src/xmlgen.cpp Adjusted in the following files some routine names (..YY..) to be consistent with the file names: ================================================================================================= - src/commentscan.l - src/constexp.h - src/constexp.l - src/constexp.y - src/fortrancode.l - src/fortranscanner.l - src/pyscanner.l - src/pre.l - src/scanner.l - src/tclscanner.l - src/vhdlparser.y - src/vhdlscanner.l - src/config.xml small textual correction - src/configoptions.cpp generated output file, can be removed - src/lang_cfg.h Automatically generated file with selected languages (*nix). On windows a procedure has to be defined. - src/libdoxycfg.t.in corrected call to python (to get it from the right place, it is not necessarily in the path) - src/libdoxygen.pro.in adjusted include file names removed translator_??.h files, they are added automatically changed file name ce_lex.cpp -> constexp.cpp (generated file) - src/libdoxygen.t.in made LEX calls used the file name for the -P option changed INCREASEBUF script to a python script changed teh geneartion of some include file, now by means of a pythons script. Names of the generated include file had to be changed as well. added possibility to generate version.cpp here as well. Added HEADERS to dependency so non existing but later generated include files are recognized as well: ===================================================================================================== - tmake/lib/unix/generic.t - tmake/lib/win32-borland/generic.t - tmake/lib/win32-g++/generic.t - tmake/lib/win32-mingw/generic.t - tmake/lib/win32-msvc/generic.t - tmake/lib/win32-symantec/generic.t - tmake/lib/win32-visage/generic.t - tmake/lib/win32-watcom/generic.t - winbuild/Doxygen.vcproj made consistent wit *nix version. Generating all possible files removed unused /empty parts setting for the Lex.rules and other rules files some default values - winbuild/Doxywizard.vcproj made consistent wit *nix version. Generating all possible files removed unused /empty parts removed system dependent paths (C:\... etc) replaced then with external environment variables - winbuild/Lex.rules adjusted file to comply with new requirements, only user variable is -d. -i is set to read only (value can be changed in doxygen.vcproj). Handling of other arguments is all default. generation including increasebuffer possibility - winbuild/doxyindexer.vcproj corrected path - winbuild/doxysearch.vcproj removed system dependent paths (C:\... etc) replaced then with external environment variables - winbuild/qtools.vcproj corrected type, wrong used directory The following files are automatically generated (with slightly other names like index.xsd.h etc.): ================================================================================================== - src/index_xsd.h - src/doxygen_bst.h - src/dynsections_js.h - src/extsearch_js.h - src/footer_html.h - src/header_html.h - src/jquery_fx_js.h - src/jquery_p1_js.h - src/jquery_p2_js.h - src/jquery_p3_js.h - src/jquery_pt_js.h - src/jquery_ui_js.h - src/navtree_css.h - src/navtree_js.h - src/resize_js.h - src/search_css.h - src/search_functions_php.h - src/search_js.h - src/search_opensearch_php.h - src/svgpan_js.h the following files are generated with different names: - src/bib2xhtml.h becomes - src/bib2xhtml.pl/h - src/layout_default.h becomes - src/layout_default.xml.h The file: ========= - addon/doxywizard/config.l is replaced by: - addon/doxywizard/config_doxyw.l so there are in the system not 2 different config.l files. Renamed some routines from configYY -> config_doxywYY... New files: ========== - src/increasebuffer.py increase YY_BUF_SIZE and YY_READ_BUF_SIZE from 16k / 8k to 256k. - src/settings.py create settings.h file - src/to_c_cmd.py create include files from different files (html, xml, js) so they can be included in the code as defaults - src/version.py create version.cpp file based on the configure file - winbuild/Config.rules rules file to convert the config.xml file into configoptions.cpp (doxygen) or configdoc.cpp (doxywizard). Seen the differences 2 rules are created within this file. - winbuild/Gen_head.rules rules files to generate include files from different files using to_c_cmd.py - winbuild/Settings.rules rules file for generating the settings.h file. It is possible to select to use CLANG and SqlLite3 - winbuild/Version.rules rules file to be able to start version.py The files: ========== - version.bat - runbison.bat - increasebuffer.pl are not used anymore. I've only added the files as indicated, I didn't remove the files from the repository.
* Added @parblock and @endparblock commandsDimitri van Heesch2013-09-241-3/+41
|
* Bug 703791 - [PATCH] Out-of-line docs for class template specialisations failingDimitri van Heesch2013-08-231-0/+5
|
* Brief description did not appear in the page index, when a page did not have ↵Dimitri van Heesch2013-08-061-1/+2
| | | | any details.
* Fixed whitespace issue when using \overload without argumentsDimitri van Heesch2013-07-181-1/+1
|
* Improved handling of \internal and \endinternalDimitri van Heesch2013-07-151-0/+2
|
* Fixed issue handling \elseif after \ifnotDimitri van Heesch2013-07-141-0/+1
|
* Bug 702189 - Markdown and @imageDimitri van Heesch2013-06-151-30/+30
|
* Bug 684324 - Strange behavior when placing cite within brief.Dimitri van Heesch2013-05-301-1/+6
| | | | Bug 700788 - support @cite within brief description.
* Bug 691315 - Line breaks are not copied/displayed properly when using @copydoc.Dimitri van Heesch2013-05-261-2/+38
| | | | Bug 700788 - probably unintentional modification of behaviour of @copydetails