| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
issue #8078 Warning and extra text when using Markdown as mainpage
|
| |
| |
| |
| | |
Also replace the `@` in a label.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case of an ATX header for a page at the beginning of a file (i.e. `#...`) there is a line miscounting.
Analogous as done for lines type:
```
The page
====
```
in pull request #8056 we have to add an extra newline.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we have a file aa.md like:
```
Initial text 1
verbatim text?
Some text \aa5
```
and a file bb.md like
```
Initial text 1
verbatim text?
Some text \aa4
``
we get the warnings like (with current master, with 1.8.20 it is even further off):
```
aa.md:6: warning: Found unknown command '\aa5'
bb.md:5: warning: Found unknown command '\aa4'
```
instead of
```
aa.md:5: warning: Found unknown command '\aa5'
bb.md:4: warning: Found unknown command '\aa4'
```
This has been corrected
|
|
|
|
|
|
|
|
|
| |
* added support for mingw PRETTY_FUNC
* More compact Define test for PRETTY_FUNCTION
* corrected synthax issue
Co-authored-by: ZAMPIERI Armand <armand.zampieri@cmigroupe.com>
|
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_md_pg_cnt
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we have the input files qq.md.
```
@page xxx0 yyy0
@}
Start of text
@page xxx1 yyy1
@{
Start of text
```
and qqh.h:
```
/**
@page xxxh0 yyyh0
@}
Start of texth
*/
/**
@page xxxh1 yyyh1
@{
Start of texth
*/
```
we get the warnings:
```
qq.md:3: warning: unbalanced grouping commands
qqh.h:4: warning: unbalanced grouping commands
qqh.h:15: warning: end of file with unbalanced grouping commands
```
```
so we are missing
```
qq.md:9: warning: end of file with unbalanced grouping commands
```
due to the fact that the closing routine was not called (also the open routine was not called, always good to call it the set variables to their proper values.
|
|\ \
| |/
|/| |
Miscounting of lines in case of fenced code block
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we have an example like:
~~~
Page
=======
test text
test text \error1
```
make
```
```
make
```
test text \error2
~~~
we get the warnings:
```
aa.md:5: warning: Found unknown command '\error1'
aa.md:17: warning: Found unknown command '\error2'
```
instead of
```
aa.md:5: warning: Found unknown command '\error1'
aa.md:15: warning: Found unknown command '\error2'
```
this is due to the fact that there are 2 returns in case of a fenced code block, one with the ``endcode` but with the detection of the fenced code block (`isFencedCodeBlock`) it is not "removed".
|
|/ |
|
|
|
|
| |
the `\ilinebr` (internal line break) should be properly be separated from previous text.
|
|
|
|
| |
Some spelling omissions found by Fossies.
|
| |
|
|
|
|
| |
Coverity reported new uninitialized variable
|
|
|
|
|
| |
Prevent <TT>__BLA</TT> .... <TT>BLA__</TT> from being detected as an
emphasis section and causing the wrong output.
|
|\
| |
| | |
issue #7781: allow '>' before Markdown emphasis
|
| | |
|
|\ \
| | |
| | |
| | | |
https://github.com/albert-github/doxygen into albert-github-feature/issue_7923
|
| | |
| | |
| | |
| | | |
Explicit counting of the removed newlines at the beginning of a documenation block (markdown.cpp) so this number can be added to get a better line number in case of warnings.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Changed \_linebr to \ilinebr
- \ilinebr is now also passed to doctokenizer
- Also fixes issue #7493 regarding \snippet inside markdown tables and
dealing with wrong line on issues detected by docparser after a
markdown table.
- Added function tracing to markdown (enabled with -d markdown in a
debug build)
|
|\ \ \
| |/ /
|/| |
| | | |
https://github.com/albert-github/doxygen into albert-github-feature/issue_7787
|
| | |
| | |
| | |
| | | |
The artificial newline characters in ALIASES (`^^`) or better said its doxygen replacements (`\\_linebr`) were not seen by the markdown parser as line terminator and as a consequence there was no table seen (it was just 1 long line, without header / data lines)..
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The comment speaks of:
> // need at least one space on either side of the cell text in
> // order for doxygen to do other formatting
but in the implementation the end space is missing.
Looks like the problem is introduced in version 1.8.17 when some work is done on the line counting (removing artificial `\n`).
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* issue #7796 Backticks (`) in Doxygen-markup-in-C in Markdown collapses
The problem occurs when the backtick is just before the end of line.
The fenced block will only terminate when the same number of fence characters are present, otherwise the search will continue.
* issue #7796 Backticks (`) in Doxygen-markup-in-C in Markdown collapses
Removed unintentional tab.
|
| |/
|/|
| |
| |
| | |
This is disabled by default. It can be enabled by setting MULTITHREADED_INPUT to 1
in doxygen.h. Still has many data races, so don't use for anything other than development!
|
|/
|
|
|
| |
- the not linking in case of a the relative path (as there was no anchor for it)
- (on windows) the created, internal, anchor for a file can contain a `:` but this is not possible in an anchor and has to be escaped.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case we have a relative reference to a local markdown file this file is not found when the relative path starts e.g. with `..`
So when we have a file:
```
docs\tutorial\security.md
```
and this references the file:
```
../api/browser-window.md
```
through the markdown syntax:
```
[`BrowserWindow`](../api/browser-window.md)
```
then the link was not found and a warning was given.
|
|/ |
|
|
|
|
|
| |
In case of svg and inline images we have to follow a little bit another strategy.
In markdown we also have to declare all markdown images to inline images (which is also consistent with the handling on github)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Based on the question: https://stackoverflow.com/questions/59685012/doxygen-markdown-links-to-main-page-do-not-work?noredirect=1#comment105616212_59685012
The markdown mainpage has no anchor so it is not possible to link to it, added an anchor so it is consistent with other page commands.
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_nbsp_code
|
| |
| |
| |
| |
| | |
In case we have the UTF-8 code for nbsp in our source this is (see #6983) replaced with ` `, though in code fragments this is unwanted as here the text appears literally.
the UTF-8 nbsp is temporary replaced by a "doxygen" tag and for fenced code blocks, backtick blocks and special bloc commands (code, verbatim, htmlonly, formulas,...) replaced back with the UTF-8 version, the remaining "doxygen" tags are at the end replaced with ` `
|
|\ \
| | |
| | | |
issue #7228 Using markdown causes wrong error and warning line numbers - v. 1.8.16
|
| |/
| |
| |
| |
| |
| | |
1.8.16
Sacrificing some readability of the debug `-d markdown` output for a better approximation of the line numbers by keeping the rows of a markdown table on one line when translating to a HTML table.
|
| |
| |
| |
| | |
free issues
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When having a fenced code block directly followed by a horizontal ruler like:
```
~~~
B
~~~
---
```
we get the warning:
```
bb.md:5: warning: unexpected command endcode
```
due to the fact that the markdown parser replaces the `~~~` by a `@code` / `endcode` block and then handles the horizontal ruler `---` but this is seen as a level 2 header on the previous part resulting in the markdown code:
```
@page md_bb bb
@subsection autotoc_md0 @code
B
@endcode
```
The problem also occurs when a fenced code block is created with back tics.
By adding a `\n` this problem is fixed.
|