summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/change-DirList-container-to-std' of ↵Dimitri van Heesch2020-05-101-3/+1
|\ | | | | | | https://github.com/dhebbeker/doxygen into dhebbeker-feature/change-DirList-container-to-std
| * For loops on QListIterator by range loops.David Hebbeker2020-05-021-3/+1
| | | | | | | | (cherry picked from commit 3a90e663f701e7f414d31d54264ce66d62c17976)
* | Refactoring: migrate MemberNameInfoSDict to MemberNameInfoLinkedMapDimitri van Heesch2020-04-271-34/+27
| |
* | Refactoring: Improve encapsulation of MemberInfo classDimitri van Heesch2020-04-271-4/+4
|/
* Refactor: improve encapsulation for ArgumentListDimitri van Heesch2020-04-251-4/+4
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-84/+80
|
* Doxygen version information (#7645)albert-github2020-03-171-2/+2
| | | | | - add doxygen version to rtf, comment, output - remove duplicate code (getFullVersion) - more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-2/+0
|
* Cleanup codeDimitri van Heesch2020-02-221-3/+0
|
* Restructure section handlingDimitri van Heesch2020-02-211-15/+13
|
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-3/+3
|
* Illegal Character in XML outputalbert-github2019-11-131-8/+8
| | | | The usage of, the unusual, `&` in a filename caused troubles as the filenames in the file strings in the location element were not translated to XML.
* Merge pull request #7377 from albert-github/feature/bug_spell_srcDimitri van Heesch2019-11-061-2/+2
|\ | | | | Spelling corrections for src directory
| * Spelling corrections for src directoryalbert-github2019-11-051-2/+2
| | | | | | | | | | | | | | | | 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).
* | issue #7302: Determination of anonymous is too restrictiveDimitri van Heesch2019-11-051-5/+4
|/
* Changed ArgumentList to be an STL containerDimitri van Heesch2019-10-271-51/+46
|
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-1/+1
| | | | | | | | Consistency
* | Merge branch 'feature/bug_gitversion' of ↵Dimitri van Heesch2019-07-301-2/+2
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_gitversion
| * | Show git version informationalbert-github2019-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original version has as features: - getting the git version number for usage in doxygen - making the doxygen version number inclusion dependent on the VERSION file The disadvantage of the chosen methodology was that an extra correction step was necessary, by defining getter methods to retrieve the values this correction can be hidden. The information is coming from different sources: - the VERSION file - the git "repository and build system (when present) Furthermore there are a couple of places where the version information is used (a.o. doxygen and doxywizard executable, though the doxygenwizard was only done "half hearted") The handling of the VERSION file has been made in such a way that it is comparable with the generation of the git version changes. For a better abstraction the version handling is all done in a separate directory.
* | | refactoring dot.cppThomas Haller2019-06-131-2/+4
| |/ |/|
* | Add const correctness for argument listsDimitri van Heesch2019-05-051-8/+8
| |
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-29/+29
|/
* Merge pull request #6890 from albert-github/feature/bug_xml_xsdDimitri van Heesch2019-03-251-1/+2
|\ | | | | Correcting errors in xml generation and xsd schema
| * Correcting errors in xml generation and xsd schemaalbert-github2019-03-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - `xmlgen.cpp` make count test identical to restrictions in `generateXMLForMember` - `index.xsd` add missing selection possibility - `compound.xsd` - add missing `block` possibility for htmlonly - add missing `private` and `protected` possibilities - get order in description type right - make `sect[1-4]` more flexible - adding missing elements like `msc`, `linebreak` at the appropriate places - adding `vhdl` coloring enumeration values - adding `docbook` possibility for images results have been tested (a.o.) doxygen tests, doxygen examples, doxygen docu, CGAL source code.
* | issue #6892 xml not well-formed (invalid token) for c++albert-github2019-03-191-2/+2
|/ | | | the `declname` and `defname` should also be converted (compare as well the routine `generateXMLForMember`)
* Added 'constexpr' as attribute label and to XML outputDimitri van Heesch2019-01-131-0/+5
|
* Added noexcept attribute to the XML outputDimitri van Heesch2019-01-131-0/+5
|
* Added declfile, declline, and declcolumn attributes to the location element ↵Dimitri van Heesch2019-01-121-1/+7
| | | | in the XML output
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-2/+2
|
* Properly handle empty TOC in XML output.Vladimír Vondruš2018-12-291-2/+2
| | | | | | Caused the test (079) to fail with a SIGSEGV, but larger projects exit with a success return code and the generated XML is either truncated or empty. Weird.
* Renamed option and test case numbersDimitri van Heesch2018-12-261-6/+11
|
* Merge branch 'xml-namespace-members-in-file-scope' of ↵Dimitri van Heesch2018-12-261-2/+2
|\ | | | | | | https://github.com/mosra/doxygen into mosra-xml-namespace-members-in-file-scope
| * Make it possible to list namespace members in file scope for XML output.Vladimír Vondruš2018-02-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For better consistency with the HTML output, where each file documentation lists (and links to) all members of given namespace. This also makes it possible to be consistent with the HTML output in case a namespace is not documented and thus all its member detailed docs should be put into corresponding file docs instead. In order to be backwards compatible and avoid breaking stuff for existing users of the XML output, this is controlled by a new XML_NAMESPACE_MEMBERS_IN_FILE_SCOPE configuration option that defaults to NO. Note that this, unlike the HTML output, will put the whole detailed docs into the file scope instead of just listing them. It's up to the user of the XML output to deduplicate this information. It can be done for example by comparing member ID prefixes with compound ID -- íf different, the detailed docs are already somewhere else.
* | Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-14/+18
| | | | | | | | Added a Slice-optimized output mode.
* | Merge pull request #6482 from abathur/sql3Dimitri van Heesch2018-10-221-131/+102
|\ \ | | | | | | update to the experimental sqlite3 generator
| * | declares XMLCodeGenerator in xmlgen.hTravis A. Everett2018-08-291-131/+102
| | | | | | | | | | | | | | | | | | | | | In order for sqlite3gen to re-use parts of the XML generator, XMLCodeGenerator needs to be declared in a header file. I parroted how other generators handle this and have it working in both the XML and sqlite3 outputs, but I don't have any sense of whether this is otherwise "right".
* | | Update xmlgen.cppArmin Müller2018-10-151-1/+1
| | |
* | | Fixing problem with possible not initialized variable (endless loop in VS ↵albert-github2018-09-121-4/+4
|/ / | | | | | | | | | | 2017 debug) The not initialized variable `l` caused and endless loop in the VS2017 debug version, variable should not have been used.
* | Moved local toc data into a separate type for better encapsulationDimitri van Heesch2018-07-221-2/+2
| |
* | Enable in page table of contents for XML and add maximum level to in page ↵albert-github2018-07-121-3/+56
| | | | | | | | | | | | | | table of contents - add the in page table of contents for XML - add the possibility to have maximum levels in the in page table of contents (possible per output type and per in page table of contents. Default is show all)
* | Misc. typosluz.paz2018-04-251-1/+1
|/ | | | Found via `codespell`
* XML output: avoid warnings with scoped enum values in anonymous namespaces.Vladimír Vondruš2017-12-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | When a C++11 `enum class` was present in an anonymous namespace (usually in *.cpp files), the XML output was emitting warnings similar to the following: Internal inconsistency: member False does not belong to any container! And the XML output was rendering bogus IDs for enum values starting with `dummy_`, such as: dummy_1a96ab6574751fdf6a53ceec8a3896c45daf8320b26d30ab433c5a54546d21f414c The fix is to call memberOutputFileBase() on the enumeration itself and not on the enum value, that way it provides correct file base that corresponds to file base of the enumeration. There's also a new test that checks this. Note: this assumes that enum values belong to the same compound as enums themselves. In my experience that was always the case and there's no broken test after this change, so I hope I didn't break anything.
* Merge pull request #627 from mosra/xml-strong-typed-enumsDimitri van Heesch2017-12-241-0/+14
|\ | | | | 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-291-0/+7
| | | | | | | | | | | | | | 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-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | 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-241-4/+1
|\ \ | | | | | | 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-281-4/+1
| |/ | | | | | | | | | | | | | | | | | | | | 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-241-0/+4
|\ \ | | | | | | Expose TOC placeholder in XML output
| * | Expose TOC placeholder in XML output.Vladimír Vondruš2017-11-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.