summaryrefslogtreecommitdiffstats
path: root/src/dotgraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
* issue #8193: Better warning in case of error in dot / msc / dia imageDimitri van Heesch2021-05-031-4/+4
|
* Fix to avoid unneeded regeneration of "included-by" graphsDimitri van Heesch2021-04-291-14/+19
|
* Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-4/+4
| | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-12/+12
| | | | | | | | | | | | | | | | | 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-9/+9
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QGString by std::ostringstreamDimitri van Heesch2021-03-231-3/+3
|
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-48/+46
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-3/+3
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: Replaced QFileInfo with FileInfoDimitri van Heesch2021-03-181-3/+4
| | | | | - FileInfo is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: modernize DotNodeDimitri van Heesch2021-01-221-5/+6
|
* Incorrect label / name in case regeneration of HTML without regeneration of ↵albert-github2020-10-151-1/+1
| | | | | | | dot files This is a further regression on #7840. In case we regenerate the HTML files but not the image files based on dot we get incorrect labels for the id / name in the HTML output.
* Incorrect label in map of dot files in xhtml (#7840)albert-github2020-06-131-1/+1
| | | | | | | When a filename of a file starts with a digit the mapping of the resulting dot files results in message like: ``` Syntax of value for attribute id of map is not valid ``` an id cannot start with a digit, so an "a" is placed in front of it (unconditionally to overcome problems with a double label id i.e filename 087.cpp and a087.cpp).
* issue #7706: Md5 hash does not match for two different runs (part 2)Dimitri van Heesch2020-04-191-11/+1
|
* Replace SDict with std::mapMoritz 'Morty' Strübe2020-03-211-4/+4
|
* QString -> std::string & QDict -> std::mapMoritz 'Morty' Strübe2020-03-211-2/+2
| | | | Replacing QString required replacing the QDict, too.
* Removed exitCode parameter as it is always 1Dimitri van Heesch2019-12-221-1/+1
|
* Better termination messagealbert-github2019-11-221-1/+1
| | | | | 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.
* Spelling corrections for src directoryalbert-github2019-11-051-1/+1
| | | | | | | | 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).
* Fix typosluz.paz2019-09-281-1/+1
| | | | | | Found via ``` codespell -q 3 -S *.js,*.po,./src/translator*,*.eps,./doc/changelog.doc -L ang,ans,attribs,ba,behaviour,classe,colour,german,iff,initialise,nam,nd,que,russian,statics,te,tim,uint ```
* Refactoring code for dot related source filesDimitri van Heesch2019-09-101-71/+30
|
* refactoring dot.cppThomas Haller2019-06-131-0/+400