summaryrefslogtreecommitdiffstats
path: root/src/qcstring.h
Commit message (Collapse)AuthorAgeFilesLines
* issue #8560: Regression: In Python/xml output, refid and qualified name of ↵Dimitri van Heesch2021-05-231-0/+13
| | | | base compound not resolved under certain conditions (part 3)
* Minor adaptations to avoid matching 'typedefinition' as a typedefDimitri van Heesch2021-04-291-0/+6
|
* Merge pull request #8513 from albert-github/feature/bug_assert_messageDimitri van Heesch2021-04-271-1/+1
|\ | | | | Error messages on ASSERTS
| * Error messages on ASSERTSalbert-github2021-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Added missing `\n` in output, most likely regression due to change from the qt version of `ASSERT`: ``` qFatal("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__) ``` or ``` qWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__) ``` In Fossies we got that the messages were just put behind each other (they should not appear at all but that is another issue):
* | Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-5/+15
| | | | | | | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* | Fix issue with test 055 on CygwinDimitri van Heesch2021-04-251-2/+0
| | | | | | | | - stored value was overwritten probably due to compiler optimisation bug
* | Fix problem comparing a QCString with a const char * null pointerDimitri van Heesch2021-04-231-6/+9
| |
* | Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-27/+120
|/ | | | | | | | | | | | | | | | | 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()'
* Fix macro redefinition warning for windows buildDimitri van Heesch2021-03-261-0/+4
|
* Refactoring: replace QMIN/QMAX by std::min/std::maxDimitri van Heesch2021-03-261-4/+2
|
* Avoid using std::isspace and friends on potentially multibyte charactersDimitri van Heesch2021-03-261-3/+7
|
* Refactoring: move qcstring and remove qtoolsDimitri van Heesch2021-03-251-0/+514