summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
Commit message (Collapse)AuthorAgeFilesLines
* issue #8193: Better warning in case of error in dot / msc / dia imageDimitri van Heesch2021-05-031-6/+8
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-18/+17
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-3/+3
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QMIN/QMAX by std::min/std::maxDimitri van Heesch2021-03-261-1/+2
|
* Refactoring: replace QGString by std::ostringstreamDimitri van Heesch2021-03-231-2/+2
|
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-10/+8
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-8/+7
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactor: make QCString a wrapper around std::stringDimitri van Heesch2020-06-101-1/+2
|
* Refactoring: size_t type conversions and QList in DotManagerDimitri van Heesch2020-05-021-23/+28
|
* Replace SDict with std::mapMoritz 'Morty' Strübe2020-03-211-19/+18
|
* QString -> std::string & QDict -> std::mapMoritz 'Morty' Strübe2020-03-211-18/+17
| | | | Replacing QString required replacing the QDict, too.
* Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-2/+2
|
* Merge branch 'feature/bug_terminate' of ↵Dimitri van Heesch2019-12-221-2/+2
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_terminate
| * Better termination messagealbert-github2019-11-221-2/+2
| | | | | | | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.
* | Renamed Portables to PortableDimitri van Heesch2019-12-081-9/+9
| |
* | Refactoring of portable.h and portable.cpp functions to be contained in a ↵Tobias Off2019-11-281-9/+9
|/ | | | | | namespace Fixing some memory issues caused by not correctly freed pointers
* Refactoring code for dot related source filesDimitri van Heesch2019-09-101-246/+27
|
* refactoring dot.cppThomas Haller2019-06-131-4521/+90
|
* added check if .dot file is already queued for processing before adding a ↵Thomas Haller2019-06-101-18/+74
| | | | new processing job
* delayed creation and update of .md5 files after successful creation of ↵Thomas Haller2019-06-101-34/+52
| | | | output files
* Merge pull request #6944 from albert-github/feature/bug_digraphDimitri van Heesch2019-05-311-2/+4
|\ | | | | Handling digraph versus label
| * Handling digraph versus labelalbert-github2019-04-251-2/+4
| | | | | | | | | | In case a label contains a backslash (at the end), the digrapgh statement remains unchanged, though with the label= this backslash is converted to a double backslash. Especially at the end (just before the " this can lead to problems, making the handling uniform.
* | changed numbering of dot nodes to prevent different contents being generated ↵Thomas Haller2019-05-231-50/+13
| | | | | | | | for the same .dot file
* | Revert "alternate fix for .dot file handling"Dimitri van Heesch2019-05-181-165/+89
| |
* | Merge pull request #6991 from albert-github/feature/issue_6990Dimitri van Heesch2019-05-181-0/+1
|\ \ | | | | | | issue #6990 Dot produces no Graphs
| * | issue #6990 Dot produces no Graphsalbert-github2019-05-151-0/+1
| | | | | | | | | | | | Backslashes also have to be escaped otherwise a tooltip / brief description like `//!replace "\" with "\\"` won't be produced properly.
* | | added check if .dot file is already queued for processing before adding a ↵Thomas Haller2019-05-141-51/+108
| | | | | | | | | | | | new processing job
* | | delayed creation and update of .md5 files after successful creation of ↵Thomas Haller2019-05-141-40/+48
| | | | | | | | | | | | output files
* | | node numbers removed for md5 calculation to avoid false md5 mismatchesThomas Haller2019-05-131-15/+26
|/ /
* | Merge pull request #6870 from albert-github/feature/issue_6869Dimitri van Heesch2019-05-121-1/+1
|\ \ | | | | | | issue #6869 SVG image generated by \dot or \dotfile does not render properly in HTML
| * | issue #6869 SVG image generated by \dot or \dotfile does not render properly ↵albert-github2019-03-041-1/+1
| | | | | | | | | | | | | | | | | | in HTML The path to the svgpan.js should be relative to the svg file. For files generated with `dot` or `\dotfile` this is the root of the HTML tree, so relpath is here an empty reference (the svg file still needs the relpath as this file is referenced from a html file that is possibly in a sub directory).
* | | Regression #6836 URL contains $ sign on second run in map of imagesDimitri van Heesch2019-05-051-1/+1
| |/ |/|
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-30/+30
|/
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-6/+6
|
* Adjustment of xhtml1-transitional.dtdalbert-github2019-02-161-1/+0
| | | | Some more ...
* Adjustment of xhtml1-transitional.dtdalbert-github2019-02-161-1/+1
| | | | | - mapping changed due to missing `doxygen=` - externalRef part changeddue to missing`doxygen=`
* Fixed range and added code commentDimitri van Heesch2018-12-311-1/+2
|
* issue #6708 Invalid UTF-8 characters in hover titlealbert-github2018-12-311-2/+1
| | | | Corrected test and setting of indexE (was working by accident).
* issue #6708 Invalid UTF-8 characters in hover titlealbert-github2018-12-311-2/+11
| | | | | The replace function has as side effect that it affect UTF-8 characters as well. Removing `id="node[0-9]*"` no by searching its start and end.
* Bug 793076 - Segmentation fault when generating graphical class hierarchyalbert-github2018-12-141-1/+6
| | | | Prevent endless loop during renumbering
* XHTML problem with multiple use of node numbers in id attributealbert-github2018-12-071-1/+3
| | | | | | | | | | | When running xhtml checker on the doxygen diagram example we get: diagrams/html/class_a.html:66: element area: validity error : ID node1 already defined <area shape="rect" id="node1" title=" " alt="" coords="5,5,44,32"/> ^ ID node1 already defined Document diagrams/html/class_a.html does not validate This is due to the fact that the map file is used as generated by dot, and here the id values start each time with node1. The id is not used and can be omitted.
* Incorrect tag sequence possible for images possible in case of xhtmlalbert-github2018-12-031-9/+20
| | | | | | | | | Message: `< Element map content does not follow the DTD, expecting ((p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | menu | dir | pre | hr | blockquote | address | center | noframes | isindex | fieldset | table | form | noscript | ins | del | script)+ | area+), got (area area div)` The problem first surfaced with test 11 (empty map tag), but the solution given at that moment (`<div/>)`) did work for test 11, but was not correct for test 27. Problem can be seen with the default doxygen test 27 (`[027_extends.c]: test the \extends, \implements, \memberof, \private, and \public commands`).
* Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-2/+13
| | | | Added a Slice-optimized output mode.
* Update dot.cppArmin Müller2018-10-151-1/+1
|
* Implementation of standard generator for docbook outputalbert-github2018-09-071-37/+20
| | | | | | | | Till now docbook had its own output generator, but lot of possibilities were missing (see remark about updating below), with this patch the (more than) basic implementation has been made. Added some docbook tests to the current tests and updated documentation where necessary Tried updating current version but too many issues remained that were generically handled in the standard generator, code is in current version behind '#if 0' construct in doxygen.cpp and name with '_v1' and in docbookgen.cp'
* Combined lrRank and rank parameters for computeMd5SignatureDimitri van Heesch2018-07-231-18/+11
|
* Merge branch 'feature/bug_395343' of ↵Dimitri van Heesch2018-07-231-5/+13
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_395343
| * Bug 395343 - caller graph can be improved by having caller on left & callee ↵albert-github2018-06-101-5/+13
| | | | | | | | | | | | on right Caller graph will now have the called function on the right hand side.
* | Bug 363762 - Tooltips are not shown in dot-generated graphs (extension)albert-github2018-06-101-0/+4
|/ | | | In case no brief description present, no tooltip is shown.
* Bug 363762 - Tooltips are not shown in dot-generated graphsalbert-github2018-06-071-3/+6
| | | | Some graphs were still missing a tooltip in the root node (most notably the caller graphs), so were still displaying something like Node0.