| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Removing compiler warnings like:
```
.../src/doctokenizer.l(101): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
.../src/doctokenizer.l(844): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
...
```
(analogous as done in e.g. `commentscan.l`)
|
|
|
|
|
|
| |
for blank lines (hindering certain manual parsing)
Don't terminate a paragraph and remove the whitespace when inside a pre block, but output the blanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When having examples like:
```
Steps
1. \aa2
2. \aa3
3. \aa4
\aa5
```
and
```
Steps
- \bb2
- \bb3
- \bb4
\aa5
```
we get warnings like:
```
.../aa_list.md:3: warning: Found unknown command '\aa2'
.../aa_list.md:4: warning: Found unknown command '\aa3'
.../aa_list.md:5: warning: Found unknown command '\aa4'
.../aa_list.md:6: warning: Found unknown command '\aa5'
.../bb_list.md:3: warning: Found unknown command '\bb2'
.../bb_list.md:4: warning: Found unknown command '\bb3'
.../bb_list.md:5: warning: Found unknown command '\bb4'
.../bb_list.md:6: warning: Found unknown command '\aa5'
```
instead off:
```
.../aa_list.md:2: warning: Found unknown command '\aa2'
.../aa_list.md:3: warning: Found unknown command '\aa3'
.../aa_list.md:4: warning: Found unknown command '\aa4'
.../aa_list.md:5: warning: Found unknown command '\aa5'
.../bb_list.md:2: warning: Found unknown command '\bb2'
.../bb_list.md:3: warning: Found unknown command '\bb3'
.../bb_list.md:4: warning: Found unknown command '\bb4'
.../bb_list.md:5: warning: Found unknown command '\aa5'
```
this is due to the fact that there is a line le counting. In case of REJECT no lineCount should be performed and otherwise just once.
|
|
|
|
|
|
|
|
|
| |
With the doctokinizer.l we get the warnings like:
```
doctokenizer.l(502): warning C4018: '<': signed/unsigned mismatch
```
The casting of `(int)` is also used on other places in this file like in `handleHtmlTag`.
|
|
|
|
|
|
| |
- lineCount() without arguments was unused
- converted lineCount(...) into a macro with yytext and yyleng as
arguments
|
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_doctok_cnt
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When having a file like:
```
@page md_aa aa
Last \error2
- Install \error3
```
we get the warnings:
```
aa.md:3: warning: Found unknown command '\error2'
aa.md:7: warning: Found unknown command '\error3'
```
instead of
```
aa.md:3: warning: Found unknown command '\error2'
aa.md:5: warning: Found unknown command '\error3'
```
Investigation lead to that this is due to the fact that with a `REJECT` the line counter in `doctokinizer.l` is not reset. By counting the lines ourselves we can properly count the lines.
(Other lexers don't have this problem as here we already do the counting ourselves)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we have a, stripped down, example like:
```
\mainpage the page
<tt>$PATH:</tt>$x86$<tt>bin</tt>
```
we get the warning like:
```
aa.md:4: warning: end of comment block while expecting command </tt>
```
this is due to the fact that `$PATH:</tt>$` is seen as a RCS tag although `PATH` is not a RCS keyword.
Limiting the number of allowed keywords to the real RCS tags (for CVS the list is the same).
See also:
- https://www.gnu.org/software/trans-coord/manual/cvs/cvs.html#Keyword-substitution
- https://www.gnu.org/software/rcs/manual/rcs.html#Keywords
|
|
|
|
|
| |
Also replaced tabs by spaces and removed trailing whitespace
And fixed line counting issue.
|
|
|
|
| |
The pattern `\ilinebr` is actually also a line break, but was not handled.
|
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_direction
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the current version a line like:
```
uint8_t innInstances, ///< [inn]Number of CIP node instances.
```
was seen as an input parameter.
Also not all combinations were checked (`[inout]` was OK but `[outin]` wasn't although `[in,out]` and `[out,in]` were working in the tokenizer.
Line up the detection of the direction between the tokenizer and the method `extractDirection`
Note: this problem was found when working on #7879.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
- White space around \\ilinebr is not preserved in commentscan
- Cases where \n was unput in doctokenizer are now handled in the same
way for \\ilinebr
|
| |
| |
| |
| |
| |
| |
| | |
- Routines to strip leading and trailing whitespace now also take
\\ilinebr into account
- Added a number of cases in doctokenizer.l where \\ilinebr wasn't
handled yet.
|
|/
|
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
|
|
| |
Implementation of the C++2x three-way / spaceship operator.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When having a text like:
```
https://storm-irit.github.io/OpenGR/, 2017.
```
the corresponding link will contain the comma as well although this is not intended.
The original problem comes from CGAL, where we have a bibliography entry:
```
@misc{ cgal:m-ogr-17,
author = {Nicolas Mellado and others},
title = {OpenGR: A C++ library for 3D Global Registration},
howpublished = {https://storm-irit.github.io/OpenGR/},
year = {2017}
}
```
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not all possibilities in respect of `\*only` and `\end*only` commands were present which could lead to messages like:
```
.../aa.h:4: warning: reached end of comment while inside a \rtfonly block; check for missing \endrtfonly tag!
../.aa.h:4: warning: rtfonly section ended without end marker
.../aa.h:4: warning: rtfonly section ended without end marker
```
in case of a problem like:
```
/** \file
* \rtfonly
* RTF /* Nested */
* \endrtfonly
*/
```
|
| |
|
|\
| |
| |
| | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_formula
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When having a problem like:
```
/** \file */
/**
* The fie
*
* @form: the new format
* @content: the content of the form
*
* Sets @form content to be @content.
*
* \f$ \alpha \f$ \f[ \beta \f]
*/
void fie(char *form, char *content);
```
we get warnings like:
```
.../aa.h:5: warning: Wrong formula id -1
.../aa.h:6: warning: Found unknown command '\content'
.../aa.h:8: warning: Wrong formula id -1
.../aa.h:8: warning: Found unknown command '\content'
```
The `@form:` is in RST analogue to the doxygen `@param form` but not understood by doxygen.
The result is that it is seen as an formula as doxygen translates the formula commands to `\form`.
For `@content` is handled properly as this is not a doxygen command.
In this patch a more unique name is chosen so these type of conflicts don't appear (that easy). The resulting, better, warnings are now:
```
.../aa.h:5: warning: Found unknown command '\form'
.../aa.h:6: warning: Found unknown command '\content'
.../aa.h:8: warning: Found unknown command '\form'
.../aa.h:8: warning: Found unknown command '\content'
```
|
|\ \
| | |
| | |
| | | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_html_s
|
| | |
| | |
| | |
| | |
| | |
| | | |
Adding the HTML `<s>` tag (https://www.w3schools.com/tags/tag_s.asp).
Adding 's' and correcting 'inc' to 'ins' in compound.xsd
|
|\ \ \
| | | |
| | | |
| | | | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_unsupported_html
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When having a problem like:
```
/** \file
- Just name <name>
- name plus subname <name subname>
- name plus twice subname <name subname subname>
- name plus subname subname="" <name subname subname="">
*/
```
we get correctly the warnings:
```
.../aa.h:3: warning: Unsupported xml/html tag <name> found
.../aa.h:4: warning: Unsupported xml/html tag <name> found
.../aa.h:5: warning: Unsupported xml/html tag <name> found
.../aa.h:6: warning: Unsupported xml/html tag <name> found
```
but the output doesn't look good as there is `=""` added:
```
Just name <name>
name plus subname <name subname="">
name plus twice subname <name subname="" subname="">
name plus subname subname="" <name subname="" subname="">
```
This patch fixes this output.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_nospam_email
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When having a simple nospam email address coded like:
```
/** \file
* Big Unknown <big at none dot com>
*/
```
this results in the warning:
```
aa.c:2: warning: Unsupported xml/html tag <big> found
```
and in the HTML output it looks like:
```
Big Unknown <big at none dot com>
```
instead of:
```
Big Unknown <big at none dot com>
```
(Found in a couple of open source projects).
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
virusxp-memory_leakage_fix
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
namespace
Fixing some memory issues caused by not correctly freed pointers
|
|/ / / |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Spelling corrections as found by codespell and in #561.
Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.):
- "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...)
- "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A HTML attribute name can have e.g. a XML namespace in it and thus containing a colon (`:`) like:
```
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Social Icons</span>
```
but this results in
```
warning: found </span> tag without matching <span>
```
and grabled outpuzt.
allowing a colon in the attribute name solves this problem
|
|\ \
| | |
| | |
| | | |
https://github.com/albert-github/doxygen into albert-github-feature/bug_consistency_state_2
|
| | |
| | |
| | |
| | |
| | | |
Create a consistent way to display the state mnemonics of the different scanners (analogous to the fortranscanner.l)
Use an automatic procedure to generate the routine with the translation of the states to a string.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When having:
```
* IRC: irc://irc.gimp.org/#gsconnect
```
we get:
```
warning: explicit link request to 'gsconnect' could not be resolved
```
When using the 'news:" protocol we don't get this message, adding 'irc' to the list of possibilities.
(Found in https://github.com/andyholmes/gnome-shell-extension-gsconnect )
|
|/ /
| |
| |
| | |
after @ref (try 2)
|
|/
|
|
| |
null pointer fix)
|
|
|
|
|
|
| |
In the docbook ouput this was shown with the attribute `nowrap>=''`, in HTML this empty tag was skipped.
Normally a HTML attribute will have a value but in some cases it is possible without attribute and when this is the last attribute the `>` was accidently added to the attribute (in case of the value the `>` was already considered).
Furthermore `In XHTML, attribute minimization is forbidden, and the nowrap attribute must be defined as <td nowrap="nowrap">.`, this is now handled for HTML and docbook as well.
|