summaryrefslogtreecommitdiffstats
path: root/src/dotfilepatcher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-23/+23
| | | | | | | | | | | | | | | | | 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-12/+16
| | | | | - 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/+1
|
* issue #8375 Lowercase search does not find non-ASCII uppercase pages and ↵Dimitri van Heesch2021-03-241-1/+1
| | | | vice versa (part 2)
* Refactoring: replace QGString by std::ostringstreamDimitri van Heesch2021-03-231-2/+2
|
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-93/+56
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-13/+14
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Refactoring: modernize various dot graphsDimitri van Heesch2021-01-221-57/+30
|
* issue #8053 error: Attribute target redefined in SVGalbert-github2020-09-241-0/+1
| | | | regression on #7706 (although it has nothing to do with double runs in my opinion as indicated in the title of that issue: " Md5 hash does not match for two different runs") looks like this statement should be present.
* Not always linking in map as maps use name instead if idalbert-github2020-09-061-1/+1
| | | | | | | The map construct runs apparently not through `id` but through `name` and thus breaking here the possibility to link Also have `name=` use the `correctId`. This is a regression on #7840
* 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-20/+21
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-4/+4
|
* issue #7583 External Links in Inheritance Diagrams open in the Image Frame.albert-github2020-02-241-1/+1
| | | | When having a function it opens in the current frame and uses the complete frame. Images (e.g. inherited diagrams) are displayed in a small "sub frame" and when displaying the link here it is not readable and furthermore the user doesn't know anything about the "sub frame". In case of an image the link should be displayed in the parent frame of the image.
* Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-2/+2
|
* Refactoring code for dot related source filesDimitri van Heesch2019-09-101-5/+147
|
* refactoring dot.cppThomas Haller2019-06-131-0/+539