summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Fix/New: add variadic function args '...' support to @refMatthew White2017-08-032-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/doctokenizer.l: add VARARGS, aka variadic function args '...' * src/util.cpp (linkToText): call substitute() with skip_seq set to 3 to keep each '...' sequence of chars unchanged For instance, the command '@ref fun(int,...)' now is able to parse each '...' sequence of chars correctly to reference fun(int,...). Before this patch, the '...' part was skipped. Also, linkToText() is fixed to not substitute '...' with '::::::' in the text representation of the link.
| * | | | Fix/New: add variadic function args '...' support to @linkMatthew White2017-08-032-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/util.h (substitute): add skip_seq to function declaration * src/util.cpp (substitute): implement skip_seq to keep unchanged a given number of sequential chars otherwise targeted for substitution * src/util.cpp (resolveRef): call substitute() with skip_seq set to 3 to keep each '...' sequence of chars unchanged For instance, the command {@link fun(int,...)} now keeps each '...' sequence of chars unchanged to reference fun(int,...). Before this patch, each '.' was substituted into '::' by resolveRef() calling substitute(), producing a weird reference to fun(int,::::::).
* | | | | Version bump for next releaseDimitri van Heesch2017-12-251-1/+1
| |_|_|/ |/| | |
* | | | Updated changelog for release 1.8.14Release_1_8_14Dimitri van Heesch2017-12-251-0/+127
| | | |
* | | | Bug 779014 - Add "\~" command to internatioalization articleDimitri van Heesch2017-12-251-2/+4
| | | |
* | | | Bug 788209 - C++: False warning message when inheriting class from tag fileDimitri van Heesch2017-12-251-0/+1
| | | |
* | | | Bug 790320 - C++ parameter from lambda not recognizedDimitri van Heesch2017-12-251-0/+8
| | | |
* | | | Bug 729237 - (UnFriendlyTemplate) Spurious warning when documenting friend ↵Dimitri van Heesch2017-12-251-0/+1
| | | | | | | | | | | | | | | | template
* | | | Bug 790788 - Doxygen not showing the public, non-static member functionDimitri van Heesch2017-12-251-0/+5
| | | |
* | | | Merge pull request #602 from albert-github/feature/bug_newline_aliasDimitri van Heesch2017-12-243-2/+17
|\ \ \ \ | | | | | | | | | | Physical newlines in ALIASES configuration tags.
| * | | | Physical newlines in ALIASES configuration tags.albert-github2017-09-093-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some commands read input till the end of the physical line. In case these commands are used in an alias the rest of the line is lost / gives not the required results. This patch creates the possibility to have physical newlines in ALIASES. See also: https://stackoverflow.com/questions/46050789/doxygen-alias-with-multiple-commands
* | | | | Merge pull request #628 from powARman/fix-vhdlparserDimitri van Heesch2017-12-241-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix not initialized pointer when parser is starting on a new file.
| * | | | | Fix not initialized pointer when parser is starting on a new file.Andreas Regel2017-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pointer oldEntry holds the last value of VhdlParser::current and is compared to detect comment blocks that belong together. This could lead to false positives when a new file is parsed and the new entry in VhdlParser::current has by change the same pointer value as the old entry. Doxygen warning like "warning: Found unknown command `\brief'" are the consequence that leads to concatenated brief and detailed description in the resulting output.
* | | | | | Merge pull request #632 from mehw/flex_perl_scriptDimitri van Heesch2017-12-241-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix the perl script of doc/arch.doc to toggle debug information for a given flex file
| * | | | | | Fix: add missing semicolon ';' at end of lineMatthew White2017-12-161-1/+1
| | | | | | |
| * | | | | | Fix: add missing newline char '\n'Matthew White2017-12-161-1/+1
| | | | | | |
| * | | | | | Fix: perl script regexp to toggle flex debug informationMatthew White2017-12-161-4/+4
| | | | | | |
| * | | | | | Fix: change 'CMakefiles' to 'CMakeFiles' (the 'F' is uppercase)Matthew White2017-12-161-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/arch.doc: Fix two typos. Change 'CMakefiles' to 'CMakeFiles' (the 'F' is uppercase). 'CMakefiles' prevented the verbatim perl script to run correctly, giving error due to an unexisting dir.
* | | | | | Merge pull request #631 from ksztyber/excl_patter_ciDimitri van Heesch2017-12-241-7/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Allow case insensitive file pattern matching based on CASE_SENSE_NAMES
| * | | | | | Allow case insensitive file pattern matching based on CASE_SENSE_NAMESKonrad Sztyber2017-12-101-7/+11
| |/ / / / /
* | | | | | Merge pull request #630 from faheel/change-right-arrowDimitri van Heesch2017-12-245-7/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Changed the navtree collapsed list icon to be more symmetric to the expanded list icon
| * | | | | | Fix typoFaheel Ahmad2017-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | github -> GitHub
| * | | | | | Change navtree collapsed list iconFaheel Ahmad2017-12-074-6/+6
| |/ / / / /
* | | | | | Merge pull request #629 from mosra/xml-copy-imagesDimitri van Heesch2017-12-241-9/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Properly copy images for the XML output
| * | | | | | Properly copy images for the XML output.Vladimír Vondruš2017-12-071-9/+14
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the exact same mechanism that is used for the HTML/LaTeX/... output, which is findAndCopyImage() in docparser.cpp, because that one works, unlike the method here. Not sure why that function doesn't handle XML as well. Also not sure how to integrate this into the automated tests.
* | | | | | Merge pull request #627 from mosra/xml-strong-typed-enumsDimitri van Heesch2017-12-245-1/+49
|\ \ \ \ \ \ | | | | | | | | | | | | | | Full support for strong and typed enums in the XML output
| * | | | | | Provide information about enum type "strongness" in the XML output.Vladimír Vondruš2017-11-294-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's a new boolean `strong` attribute on the `<memberdef>` element that defines whether the enum is a classic or a strong one. Tests were updated to verify both cases.
| * | | | | | Expose underlying enum type in the XML output.Vladimír Vondruš2017-11-294-0/+40
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The <type> element (used for function return type and variable type) is now reused also for underlying enum type. C++03-style enum types that don't have the underlying type specified have the <type> tag as well, but empty to indicate that the underlying type is unspecified. Added a new test case for this.
* | | | | | Merge pull request #626 from mosra/xml-using-templatesDimitri van Heesch2017-12-243-4/+40
|\ \ \ \ \ \ | | | | | | | | | | | | | | Provide template parameters also for type aliases in the XML output
| * | | | | | Provide template parameters also for type aliases in the XML output.Vladimír Vondruš2017-11-283-4/+40
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, probably due to C++03 assumptions, typedefs and type aliases skipped printing of the template parameter specifications to the XML output. That's now fixed, so the following type alias will properly contain <templateparamlist> in the XML output: template<class T> using Vec = std::vector<T>; Added also a test case that verifies this.
* | | | | | Merge pull request #625 from mosra/xml-tableofcontentsDimitri van Heesch2017-12-244-0/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Expose TOC placeholder in XML output
| * | | | | | Expose TOC placeholder in XML output.Vladimír Vondruš2017-11-294-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the XML output for a page was generated the same independently of whether the \tableofcontents command was present in the page source or not. Because of that, the users of the XML output had no chance of knowing whether given page should have a TOC or not. There's now a new <tableofcontents> element that gets added in case the TOC was requested. As it is trivial to populate the TOC on user side by simply enumerating the <sectN> elements, the element is empty and acts just as a boolean.
* | | | | | | Merge pull request #624 from mosra/xml-page-briefdescriptionDimitri van Heesch2017-12-2443-0/+89
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | Provide page brief in <briefdescription> of XML output
| * | | | | | Provide page brief in <briefdescription> of XML output.Vladimír Vondruš2017-11-2543-0/+89
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now the brief description of pages was prepended to the <detaileddescription> element and the <briefdescription> element was not present at all, which meant there was no easy way to extract the brief description for purposes of creating a page index, for example. With this patch, the brief description is included in both <briefdescription> and <detaileddescription>, thus duplicated, to avoid backwards compatibility issues.
* | | | | | Merge pull request #623 from mosra/xml-encode-invalid-charactersDimitri van Heesch2017-12-245-4/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | Encode invalid XML characters instead of skipping them
| * | | | | | Encode invalid XML characters instead of skipping them.Vladimír Vondruš2017-11-255-4/+12
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The <sp> element in <programlisting> has a new optional attribute `value`, which contains value of given invalid ASCII character. In case of space, the `value` attribute is omitted. Use cases for this: including snippets of *very esoteric* languages, markup that makes use of the advanced ASCII formatting characters or for example highlighting a console output containing ANSI color codes (which is my case, in fact). Regarding backwards compatibility -- as files with such ASCII characters are very rare, I don't expect this minor difference in the output to be a problem. Besides that, such ASCII characters are often replaced by a space in many applications anyway. A test snippet was extended to contain a special character so this difference in behavior could be verified.
* | | | | | Merge pull request #622 from luzpaz/misc-typosDimitri van Heesch2017-12-2430-65/+65
|\ \ \ \ \ \ | | | | | | | | | | | | | | Misc. typos
| * | | | | | Misc. typosluzpaz2017-12-2330-65/+65
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge pull request #613 from Cyberboss/patch-1Dimitri van Heesch2017-12-241-1/+12
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Suppresses warning for XML <see langword="..."/>
| * | | | | Suppresses warning for XML <see langword="..."/>Jordan Brown2017-10-191-1/+12
| | | | | |
* | | | | | Merge pull request #621 from mosra/xml-programlisting-filenameDimitri van Heesch2017-11-1912-15/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | Propagate language information to all <programlisting> XML elements
| * | | | | | Propagate language information to all <programlisting> XML elements.Vladimír Vondruš2017-11-1910-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on work done in 141dbfd5a4f79c98da14a1b414c6db4e1b34618b through ed9acb6e1bb81a2eec334180f7b8c1bf0598b444 and makes a few behavioral changes to it. There's a new attribute called `filename` and the `language` was removed, because it could provide misleading information. This allows for more flexibility on the user side. In particular: * For historical reasons, `*.txt` files are marked by Doxygen as C++ (see https://bugzilla.gnome.org/show_bug.cgi?id=760836 for details). In particular, code snippet included from a CMakeLists.txt file would be marked and highlighted as C++. So in this case, the language attribute would be very misleading. * Doxygen is aware only of a very small subset of languages and thus a lot of information can be lost when relying on its extension-to-language-name conversion -- in particular, all extensions that are not recognized are assumed to be C++. On the other hand, putting more effort into its language detection algorithms is not worth the time, as there will always be new languages that fail to detect. So let's leave that on the user of the XML output instead. * Using just file extension is not enough, it has to be a full filename. For example, `*.txt` can be either a plain text file or a `CMakeLists.txt`. * The path is not stripped from the filename, as it also may contain additional information that helps to detect the language better. In addition to that, filenames of code snippets included via the \include command and related are propagated to the <programlisting> element as well. With this change, (1) code snippets using simply \code some code \endcode will not produce any `filename` attribute and it's up to the user what to do -- assume C++, detect language from contents or not highlight anything. <programlisting> some code </programlisting> (2) Code snippets using \code{.cmake} some code \endcode will produce the following: <programlisting filename=".cmake"> some code </programlisting> (3) And finally, \include, \dontinclude and related \skip, \skipline etc. commands \include path/to/some-file.py will produce <programlisting filename="path/to/some-file.py"> some code </programlisting> The tests were updated to check all three cases. On the user side, when using Pygments for example, it's then just a matter of calling pygments.lexers.find_lexer_class_for_filename() with value of the `filename` attribute value and optionally also the code snippet for additional language analysis.
| * | | | | | Pass strings as const references.Vladimír Vondruš2017-11-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It has refcounting, copy-on-write and all, but this is still better.
* | | | | | | Merge pull request #620 from albert-github/feature/bug_ftn_code_commaDimitri van Heesch2017-11-191-8/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Code color of , (comma) together with only in use statement
| * | | | | | | Code color of , (comma) together with only in use statementalbert-github2017-11-181-8/+8
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | The comma was colored as part of the word only (keywordtype), this should not be the case.
* | | | | | | Fix for regression in XML output generation after fixing bug 789168Dimitri van Heesch2017-11-191-1/+1
|/ / / / / /
* | | | | | Bug 787952 - Problem parsing c++ gnu::visibilityDimitri van Heesch2017-11-091-1/+1
| | | | | |
* | | | | | Bug 789007 - Error in markdown emphasis examplesDimitri van Heesch2017-11-041-7/+7
| | | | | |
* | | | | | Merge pull request #618 from groleo/sqlite3-fixesDimitri van Heesch2017-10-311-132/+182
|\ \ \ \ \ \ | | | | | | | | | | | | | | Sqlite3 fixes
| * | | | | | sqlite3gen: start checking operations statusAdrian Negreanu2017-10-251-112/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | check return value and in case of failures, print the errmsg. to print the errmsg, the sqlite3* db is needed along with the prepared statement, so add a db member to SqlStmt. Signed-off-by: Adrian Negreanu <groleo@gmail.com>