summaryrefslogtreecommitdiffstats
path: root/src/reflist.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/bug_md_pg_cnt' of ↵Dimitri van Heesch2020-10-031-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_md_pg_cnt
| * Miscounting of lines in respect to page commandalbert-github2020-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All examples together are a bit big so they are all in the attached file together with the warnings before and after this patch. When looking at the output we see that a number of lines are off by 1 ore more due to the insertion of extra lines in the code or due to the fact that there is a reference to the start of the documentation of the page and not the line of the page command. - commentscan.l in case of a rule contaiinge {DOCNL} this can be `=n` or `\ilinebr` in the later case this should not be replaced by `\n` as this results in an increase of the line count later on. in case of a page like command also register the line of the command as "topline". - entry.h, entry.cpp storage space for the "topline" registering the line of the page like commands. - doxygen.cpp setting and using the "topline" - markdown.cpp, markdown.h don't add a `\n` as this increases the line count but use the `\ilinebr` to get correct warnings see to it that when having empty lines at the top of the page and a page is added that the empty lines appear after the page command. - index.cpp using the "topline" instead of the "docLine" to get the correct warning - pagedef.cpp, pagedef.h set and retrieve the "topline" for page like commands. - util.cpp, util.h setting and using the "topline" in `addRelatedPage` use the known file name and line for the warning regarding the section label - cite.cpp, context.cpp, reflist.cpp changed to have good function calls.
* | Incorrect sorting of reflist itemsalbert-github2020-09-291-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having an example like: ``` /// \file /** \xrefitem my_errors "err2" "ERR1" ERROR 101*/ #define MY_ERR_CANNOT_OPEN_FILE 101 /** \xrefitem my_errors "err2" "ERR2" ERROR 102*/ #define MY_ERR_CANNOT_CLOSE_FILE 102 /** \xrefitem my_errors "err2" "ERR1a" ERROR 101a*/ #define MY_ERR_CANNOT_OPEN_FILE3 103 /** \xrefitem my_errors "err2" "ERR2a" ERROR 102a*/ #define MY_ERR_CANNOT_CLOSE_FILE4 104 ``` the sorting should be done on the part `MY_ERR_CANNOT_...` but no sorting is done (since 1.8.18) as: - call to `qstricmp` contains twice the same value - a boolean value should be the result of the compare but in fact an integer value was returned This problem is most likely a regression due to ``` Commit: aca13723a9373a1080ca7f108e7be0905b9ae793 [aca1372] Date: Thursday, February 27, 2020 10:38:22 PM Restructure the way RefLists are handled ```
* Merge branch 'master' into feature/issue_7738Dimitri van Heesch2020-05-091-2/+27
|\
| * Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-1/+24
| |
* | issue #7738 \todo ignores EXCLUDE_SYMBOLSalbert-github2020-04-301-1/+4
|/ | | | | In case a xref item has no reference the name is empty and thus the item should not be displayed. As it is possible that none of the items have a reference the page should only be added when there are item available to display
* issue #7702: test list is always createdDimitri van Heesch2020-04-141-0/+12
|
* Fixes after coverity runDimitri van Heesch2020-04-101-4/+5
|
* Fix for compilation issue on LinuxDimitri van Heesch2020-02-271-1/+1
|
* Restructure the way RefLists are handledDimitri van Heesch2020-02-271-174/+51
|
* Replaced QList<ListItemInfo> with std::vector<ListItemInfo>Dimitri van Heesch2019-10-291-1/+1
|
* Replaced QList<SectionInfo> by std::vector<SectionInfo>Dimitri van Heesch2019-10-291-1/+1
|
* Warning with xrefitem from documentationalbert-github2019-09-131-1/+1
| | | | | | | | | | The example code with the `xrefitem` in the documentation gives a warning: ``` my_errors:1: warning: multiple use of page label 'my_errors', (other occurrence: .../aa.h, line: 4) ``` it is possible (and explicitly stated) to have an `\page` with the same name giving some extra information. The warning regarding the multiple page is removed in case of a xrefitem page.
* Refactored code a bitDimitri van Heesch2018-11-241-20/+10
|
* Reference text in reference list seen as emojialbert-github2018-11-231-1/+20
| | | | | In Objective-C the separator for classes / protocols / functions is a single colon `:` resulting in recognizing it as an non existing emoji. Note that this can only happen with generated names, in e.g. a page name an emoji can be used.
* Merge pull request #6590 from albert-github/feature/issue_6589Dimitri van Heesch2018-11-011-1/+9
|\ | | | | issue_6589 anchor after test command in a namespace produces duplicate tests
| * issue_6589 anchor after test command in a namespace produces duplicate testsalbert-github2018-11-011-1/+9
| | | | | | | | Not only should be checked whether the item to be inserted is the main item but also if it is not one of the extra items
* | Multiple `\xreflist` in one page with same keyalbert-github2018-10-311-4/+7
|/ | | | | In case there are multiple `\xreflist` commands with the same key only the first item has a correct linking possibility, the subsequent items don't have it. Resulting in warnings in e.g. docbook and LaTeX output
* issue_6533: PHP: Namespaced typehints in deprecated methods not handled ↵albert-github2018-10-111-1/+2
| | | | | | correctly Besides backslashes in the title (issue #5901) the backslashes in the argument list need to be escaped.
* Replaced replace(QRegExp(..)) by substituteDimitri van Heesch2018-07-181-2/+2
|
* Merge branch 'feature/bug_759063' of ↵Dimitri van Heesch2018-07-181-1/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_759063
| * Bug 759063 - Macros (@test, @todo, etc) used with PHP namespaces causes ↵albert-github2018-05-171-1/+2
| | | | | | | | | | | | | | illegal command warning Illegal command is in case cause by the fact that the namespace-name and class-name are "concatenated" by means of a '\' in the tite of the, internal, xreflist. This patch fixes this by doubling the backslash.
* | Replaced replace(QRegExp..) by substituteDimitri van Heesch2018-07-181-2/+2
| |
* | Bug 782437 - Annotated function parameter generates <dt> warning in todo listalbert-github2018-05-171-1/+2
|/ | | | | Problems are cause by the annotation in the arguments (i.e. @myAnnotation) and the fact that the function prototype is used as title for the todo list. Escaping the @ (by means of @@) solves this problem.
* Bug 606104 - Deprecated list: Wrong prefix '<globalScope>::' for global ↵albert-github2015-12-061-3/+6
| | | | | | | functions The globalScope as shown in the output has no meaning and is confusing (and is also lacking the starting <). This problem is a regression from: Bug 740218 - Full scope needed when making link inside cross-referenced section [with test case]
* Bug 755080 - xrefitem link to list incorrect when using SHORT_NAMESDimitri van Heesch2015-10-241-1/+7
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Bug 740218 - Full scope needed when making link inside cross-referenced sectionDimitri van Heesch2014-11-171-0/+8
|
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Release-1.8.3.1Dimitri van Heesch2013-01-201-1/+1
|
* Release-1.7.6.1-20120220Dimitri van Heesch2012-02-201-1/+1
|
* Release-1.7.4-20110606Dimitri van Heesch2011-06-061-8/+17
|
* Release-1.7.3-20110123Dimitri van Heesch2011-01-231-1/+1
|
* Release-1.6.2-20100124Dimitri van Heesch2010-01-241-1/+1
|
* Release-1.6.1-20091222Dimitri van Heesch2009-12-221-0/+1
|
* Release-1.6.0Dimitri van Heesch2009-08-201-7/+63
|
* Release-1.5.4-20080101Dimitri van Heesch2008-01-171-2/+2
|
* Release-1.5.4Dimitri van Heesch2008-01-161-1/+1
|
* Release-1.5.1-20070219Dimitri van Heesch2007-02-191-1/+1
|
* Release-1.5.1-20070107Dimitri van Heesch2007-01-071-1/+1
|
* Release-1.5.1-20061202Dimitri van Heesch2006-12-021-1/+1
|
* Release-1.4.6-20060507Dimitri van Heesch2006-05-071-1/+1
|
* Release-1.4.1Dimitri van Heesch2005-01-111-1/+1
|
* Release-1.3.5-20040105Dimitri van Heesch2004-01-051-1/+1
|
* Release-1.3-20030514Dimitri van Heesch2003-05-141-14/+0
|
* Release-1.3-20030421Dimitri van Heesch2003-04-211-14/+16
|
* Release-1.3-rc2-20030119Dimitri van Heesch2003-01-191-1/+1
|
* Release-1.2.17-20020728Dimitri van Heesch2002-07-281-9/+0
|
* Release-1.2.16-20020630Dimitri van Heesch2002-06-301-2/+42
|
* Release-1.2.13-20020203Dimitri van Heesch2002-02-031-1/+0
|