| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
- methods were marked const but still returned a non-const reference,
cause wrongly optimized code for some platforms/compilers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()'
|
| |
|
| |
|
|
|
|
|
| |
- Dir is based on ghc::filesystem, a std::filesystem compatible
implementation that does not require C++17.
|
|
|
|
|
| |
- FileInfo is based on ghc::filesystem, a std::filesystem compatible
implementation that does not require C++17.
|
| |
|
| |
|
|
|
|
| |
Seen the discussion in the pull request #8069, for consistency change occurrences of f(void) into f().
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Also added option HTML_FORMULA_FORMAT to generate SVG files for images (requires pdf2svg)
|
|
|
|
|
| |
On windows the 32 bit executable is called gswin32c, but for the 64-bit systems also a gswin64c exists.
The path is checked for the existing of these executables (with a preference for the 32 bit version).
|
|
|
|
| |
Small spelling correction in portable.cpp
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
namespace
Fixing some memory issues caused by not correctly freed pointers
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
```
|
|
|
|
|
| |
In (the rare) case the path is not set don't try to use the pointer.
regression on pull request #513
|
|\
| |
| | |
Cygwin should by default also have `CASE_SENSE_NAMES=NO`
|
| |
| |
| |
| |
| | |
Cygwin should by default also have `CASE_SENS_NAMES=NO` like is the case for the underlying Windows.
In case of Cygwin the define `_WIN32` is not set so we also have to test for `__CYGWIN__`
|
|/ |
|
|
|
|
|
|
| |
The keyword `register` is deprecated since C++11:
- for the Darwin platform it was already filtered (-Wno-deprecated-register)
- CLan emits: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
In case a path in the name of an executable contains one or more '/' characters they are replaced by a '\'.
- inspired by the cause for bug 766059
- https://stackoverflow.com/questions/49750869/what-is-the-qhg-location-path-relative-to-for-doxygen
|
| |
|
| |
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
|
|
|
|
| |
launched using ShellExecuteEx()
|
|
|
| |
When parsing a large codebase dot failed to start. Adding this line helped narrow down the issue. Increasing my VirtualBox VM RAM size worked around the issue. A proper fix would be to spawn separate processes without using fork() so they don't start with the giant address space used by the current process.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|