summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enable relative paths referenced source filesalbert-github2015-01-101-0/+9
| | | | | | This is a regression on pull request 210: Create an easy possibility to take a snippet from the current file. In case the source file, as referenced through 'this' in the snippet command, is in the current directory or in a subdirectory pull request worked fine, but as soon as the source file is in a directory referenced through ../... the parser returns an absolute path name instead of a relative path and file is not found, resulting in a warning plus empty snippet part. We now check whether or not is an absolute file name in which case it is checked if the file is found or not and further handled.
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-4/+0
|\ | | | | Remove unused local and static global variables
| * Remove unused local and static global variablesalbert-github2014-12-271-4/+0
| | | | | | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* | Fixed a couple of cases where sharing string data could lead to corruptionDimitri van Heesch2015-01-021-4/+6
|/ | | | | Also made dangerous string access more visible by introducing rawData(). This replaces data() which will now return a constant string.
* Bug 685597 - C# <code> tag in an <example> tag does not render as expected.Dimitri van Heesch2014-12-231-1/+6
|
* Bug 738173 - Entity references in XML code command are incorrectly handledDimitri van Heesch2014-12-231-0/+4
|
* Fix to ignore the contents of \verbatim and friends while looking for sectionsDimitri van Heesch2014-12-221-12/+62
|
* Bug 741778 - \cite confused by labels ending with a dot (improved warning ↵Dimitri van Heesch2014-12-221-2/+15
| | | | message)
* various fixes and restructuringDimitri van Heesch2014-12-221-171/+49
|
* Merge branch 'feature/bug_size_latex' of ↵Dimitri van Heesch2014-12-201-220/+184
|\ | | | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_size_latex Conflicts: src/doctokenizer.h src/latexgen.cpp
| * Limit images sizes and make more uniform (LaTeX)albert-github2014-11-281-217/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adjusts some problems regarding image sizes in LaTeX output of doxygen (a.o. Bug 738299 - When using msc or PlantUML, the default latex for the created image should include [width=\linewidth]) this has been done is such a way that all the "image" commands (i.e. image, dot, dotfile, msc, mscfile, diafile, startuml) operate in a similar way / have the same possibilities. - commands.doc Adjusted documentation to reflect changes. - cmdmapper.cpp - cmdmapper.h Added utility function to map command id back to command name - doctokenizer.h - doctokenizer.l Handle Caption and Size indication. Required also that some other rules had to be tightened a bit (like usage of {} in startuml and usage of "" for captions. This was already described in the documentation in this way). - docparser.cpp - docparser.h Created routine to uniformly handle the Caption and size indications and store them in a general way. - latexgen.cpp Replaced graphicx package by adjustbox package (includes graphicx) to support "min width" etc. - doxygen.sty templates\latex Added commands to make commands with and without caption behave similar. - docbookvisitor.cpp - docbookvisitor.h - htmldocvisitor.cpp - latexdocvisitor.cpp - latexdocvisitor.h - printdocvisitor.h - xmldocvisitor.cpp Created routine to uniformly handle the Caption and size indications in a general way. - indexpage.xml (testing\022) - indexpage.xml (testing\031) - class_receiver.xml (testing\037) - class_sender.xml (testing\037) Adjusted example output.
* | Bug 738167 - Entity references in XML command attributes are incorrectly handledDimitri van Heesch2014-12-191-1/+5
| |
* | Bug 735584 - Reached end of file while still insided a (nested) comment in ↵Dimitri van Heesch2014-12-191-4/+4
| | | | | | | | Markdown
* | Bug 704090 - Allow Class{T}.Method in cref to refer to a generic class in ↵Dimitri van Heesch2014-12-191-0/+20
| | | | | | | | XML comments
* | Bug 740446 - invalid copydoc target does not result in warningDimitri van Heesch2014-11-231-0/+6
| |
* | Bug 740218 - Full scope needed when making link inside cross-referenced sectionDimitri van Heesch2014-11-171-0/+11
| |
* | Fixed several Coverity warningsDimitri van Heesch2014-11-151-12/+11
|/
* Merge pull request #217 from albert-github/feature/bug_735745Dimitri van Heesch2014-09-031-1/+10
|\ | | | | Bug 735745 - Spurious ASSERT message
| * Bug 735745 - Spurious ASSERT messagealbert-github2014-08-311-1/+10
| | | | | | | | | | The ASSERT message is replaced with a normal message. The cmdName might be overwritten so we have to save the name cmdName first, also the first test should not try to read any further, but jump to the end as well )a push has already been performed so a pop etc. is necessary)
* | Fixed a number of issues (resource leaks, uninitialized members, etc) found ↵Dimitri van Heesch2014-08-311-1/+2
|/ | | | by coverity
* Merge pull request #210 from albert-github/feature/snippet_from_current_fileDimitri van Heesch2014-08-261-0/+1
|\ | | | | Create an easy possibility to take a snippet from the current file.
| * Create an easy possibility to take a snippet from the current file.albert-github2014-08-151-0/+1
| | | | | | | | | | | | In case the snippet of code is in the current file one has to specify the name of the file and also see to it that the file is reachable through the EXAMPLE_PATH. A use case is the case of a list of initial values here it is quite often more convenient to have the values listed in a 'nice' list than direct in the definition line. With this patch it is possible to specify the name of the file where the snippet resides as: this
* | Minor fixesDimitri van Heesch2014-08-181-6/+5
| |
* | No warning in case cite definition is missingalbert-github2014-08-181-1/+1
|/ | | | | | In case the \cite command is used but no entry for it is given in a bib file no warning is given as the CiteInfo entry is present with the right label, but the text item is empty and this is not tested. (also corrected an error message on opening a file)
* Bug 731947 - Support for PlantUMLDimitri van Heesch2014-08-101-0/+18
|
* New VHDL parser implementationDimitri van Heesch2014-08-021-0/+1
|
* Docbook output improvementsDimitri van Heesch2014-06-201-5/+10
| | | | | | 1. New Feature: Adapted Class Graph generation for DOCBOOK 2. Fixed DOCBOOK Code documentation formatting 3. Fixed Doxygen to handle FULL_PATH_NAMES for DOCBOOK generation
* Replaced the VHDL parser with the VHDL scanner from 1.7.5 to avoid potential ↵Dimitri van Heesch2014-05-181-2/+0
| | | | licensing issues
* Added support for \-- and \--- to prevent interpretation as ndash and mdashDimitri van Heesch2014-04-131-0/+29
|
* Added optional [block] option to \htmlonlyDimitri van Heesch2014-03-291-8/+8
|
* Added \latexinclude command (thanks to Juan Zaratiegui for the patch)Dimitri van Heesch2014-03-271-0/+6
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Restructered html entity handlingDimitri van Heesch2014-02-101-1/+2
|
* Recognize all HTML4 special character entitiesalbert-github2014-02-081-193/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In doxygen a limited number of HTML4 special character entities are recognized, with this patch the full list of HTML4 special character entities (see http://www.w3.org/TR/html4/sgml/entities.html) is supported (as far as they can be represented in the output format). - doxygen_manual.tex - latexgen.cpp Added wasysym package to support per thousand sign (perthousand command from textcomp didn't work properly) Added option for textcomp package so currency symbol would work properly - htmlcmds.doc Adjusted documentation, listing all entities - compound.xsd - xmlgen.cpp Removed in xsd file all references for special HTML4 character entities and placed placeholder so doxygen (in xmlgen.cpp)can automatically add the right element names. - util.cpp - util.h Define all entities with their representation for all output formats. Define access routines to the different representations Mapping (for recognition of the entities) based on running through the list of available entities, after validation of the order of the entities. A few entities contain now besides letters also numbers at the end. - docparser.h Define symbols for all entities as well as a helper struct and enum. The member m_letter is not used anymore and thus removed. All existing symbols were renamed so no confusion (i.e. errors when forgetting to rename some symbols) can occur. Obsolete references to letter removed, all letters with accents etc. are explicitly defined and not through the generic accent name plus an extra letter. - docparser.cpp Adjust used symbols to their new names. Remove references to letter (as used for accents etc.) Replace list of explicitly supported entities with call to symbol code access routine. - docbookvisitor.cpp - htmldocvisitor.cpp - latexdocvisitor.cpp - mandocvisitor.cpp - perlmodgen.cpp - printdocvisitor.h - rtfdocvisitor.cpp - textdocvisitor.cpp - xmldocvisitor.cpp Replace list of explicitly supported entities with call to access routine and use returned value to output.
* Fixed issues with @parblock and added regression test caseDimitri van Heesch2014-01-041-0/+4
|
* Reduced and improved functionality of QListDimitri van Heesch2013-12-301-22/+24
| | | | | | | | | - operations on current index and node (next(), prev(), last(), first()) have been removed. - access to internal nodes has been removed. - old QList has been renamed to QInternalList for use inside qtools only. - added type safe compare, new, and delete operations (compareValues(), newValue(), deleteValue()). - add compareValues also to QDict for consistency. - changed doxygen's implementation to comply with the new QList and QDict interface.
* Allow @ref to unlabeled markdown page by name, i.e. @ref mypage.mdDimitri van Heesch2013-10-131-0/+6
|
* Bug 709780 - Copying of files via \image tag can get confused by symlinks at ↵Dimitri van Heesch2013-10-121-0/+12
| | | | the destination
* Bug 707713 - Add support for dia diagramsDimitri van Heesch2013-10-061-0/+113
|
* Added @parblock and @endparblock commandsDimitri van Heesch2013-09-241-0/+38
|
* Bug 707995 - @copydoc not working for const member overloadsDimitri van Heesch2013-09-211-1/+9
|
* Improved handling of \internal and \endinternalDimitri van Heesch2013-07-151-22/+30
|
* Fixed issue handling \docbookonly..\enddocbookonly sectionDimitri van Heesch2013-07-131-1/+10
|
* Bug 691315 - Line breaks are not copied/displayed properly when using @copydoc.Dimitri van Heesch2013-05-261-53/+141
| | | | Bug 700788 - probably unintentional modification of behaviour of @copydetails
* Paragraph inbetween @warning like section and autolist no longer ended sectionDimitri van Heesch2013-05-191-0/+2
|
* Release-1.8.4Dimitri van Heesch2013-05-191-4/+0
|
* Release-1.8.3.1-20130512Dimitri van Heesch2013-05-121-264/+283
|
* Release-1.8.3.1-20130209Dimitri van Heesch2013-02-091-1/+11
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-32/+53
|
* Release-1.8.2-20121118Dimitri van Heesch2012-11-181-8/+71
|