summaryrefslogtreecommitdiffstats
path: root/src/portable.h
Commit message (Collapse)AuthorAgeFilesLines
* Optimize performance by using FILE* instead of ofstream for outputgenDimitri van Heesch2021-04-271-0/+1
|
* Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-1/+1
| | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* Fix for crash due to wrong function prototype for portable_iconv_openDimitri van Heesch2021-04-231-1/+1
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-13/+15
| | | | | | | | | | | | | | | | | 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: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-3/+4
|
* Using f() instead f(void) in C++ , consistencyalbert-github2020-10-021-10/+10
| | | | Seen the discussion in the pull request #8069, for consistency change occurrences of f(void) into f().
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-1/+1
|
* Creation of svg images for formulas with inkscapealbert-github2020-02-151-0/+1
| | | | | | | Based on the implementation as mentioned in #7578 to add the possibilities to generated svg images for formulas - When running with inkscape 92.3 / 92.4 on Cygwin /Windows there were no images generated as the `-o` flag didn't exist, the output file had to be specified as part of the `-l` (or `--export-plain-svg`) option - For more flexibility the system is checked on existence of the `pdf2svg` and `inkscape` executables, so no compilations flags are necessary
* Improve formula handling and rendering.Dimitri van Heesch2020-02-121-0/+1
| | | | Also added option HTML_FORMULA_FORMAT to generate SVG files for images (requires pdf2svg)
* Fix for use of non portable strnstr function (part 2)Dimitri van Heesch2019-12-231-1/+1
|
* Fix for use of non portable strnstr functionDimitri van Heesch2019-12-231-0/+1
|
* Renamed Portables to PortableDimitri van Heesch2019-12-081-1/+1
|
* Refactoring of portable.h and portable.cpp functions to be contained in a ↵Tobias Off2019-11-281-26/+31
| | | | | | namespace Fixing some memory issues caused by not correctly freed pointers
* HHC and directory elements starting with "."albert-github2019-11-151-0/+2
| | | | | | | | | Based on the question 'Doxygen failed to run html help compiler, hhc.exe error HHC5010 when running from folder that has a parent folder that starts with “.”/ (https://stackoverflow.com/questions/58861908/doxygen-failed-to-run-html-help-compiler-hhc-exe-error-hhc5010-when-running-fro). In we https://social.msdn.microsoft.com/Forums/en-US/0681145c-223b-498c-b7bf-be83209cbf4e/issue-with-html-workshop-in-a-windows-container?forum=visualstudiogeneral see: HTML Help 1.x command line compiler hhc.exe cannot compile CHM file to folder whose full path contains folder name starting with dot. If you have that problem, you probably specified output path with folder starting with dot, e.g. "d:\My files.NET\documentation". You can use dots in folder names but not at the beginning. We first convert the current path to a short name path and set this as current directory, this is only done on Windows other systems are not touched.
* Fix for race conditions introduced when refactoring dot classes.Dimitri van Heesch2019-06-151-0/+1
|
* Bug 766059 - DOT_PATH not expandedalbert-github2016-09-011-0/+1
| | | | | | The original problem in this bug request was that forward slashes were used in the PATH instead of backslashes. In the command shell this does not result in problems, but when calling a program from within doxygen this leads to the problem that the executable cannot be found. In this patch the PATH variable is, just for the process, changed in such a way that ther are back slashes instead of forward slashes (Windows only, not on Cygwin).
* Release-1.8.3Dimitri van Heesch2012-12-261-1/+1
|
* Release-1.8.1.2-20120729Dimitri van Heesch2012-07-291-1/+1
|
* Release-1.7.0Dimitri van Heesch2010-06-151-0/+2
|
* Release-1.6.3-20100603Dimitri van Heesch2010-06-031-0/+3
|
* Release-1.5.9-20090720Dimitri van Heesch2009-07-201-0/+1
|
* Release-1.5.8-20090304Dimitri van Heesch2009-03-041-4/+7
|
* Release-1.5.1-20070315Dimitri van Heesch2007-03-151-1/+1
|
* Release-1.5.1-20070219Dimitri van Heesch2007-02-191-0/+38