summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* issue #7120 Markdown generator does not consider extension mapping for files ↵albert-github2019-07-121-12/+8
| | | | | | | | with no extension Better handling of the determination of what is an extension. - don't see a file references like: `./LICENSE` as extension - use the qt way of extension determination and in case of no extension use the no extension placeholder for it.
* issue #7110 URL Encoding for Hyperlinks in PDFalbert-github2019-07-081-0/+1
| | | | For an URL also the percentage (`%`)sign has to be escaped
* Bug 566109 - unable to resolve links to java functions with array argumentsDimitri van Heesch2019-06-221-0/+1
|
* Merge pull request #7034 from albert-github/feature/issue_7033Dimitri van Heesch2019-06-221-0/+8
|\ | | | | issue #7033 Syntax highlighting doesn't work when calling \dontinclude from Markdown files
| * issue #7033 Syntax highlighting doesn't work when calling \dontinclude from ↵albert-github2019-06-061-0/+8
| | | | | | | | | | | | Markdown files Don't use the file name extension of the including file but of the included file. In case of no included filename or no extension, fall back of the file extension of the including file.
* | Merge branch 'feature/bug_case_sense' of ↵Dimitri van Heesch2019-06-221-6/+6
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_case_sense
| * | Upper case characters in filename despice CASE_SENSE_NAME=NOalbert-github2019-06-171-4/+4
| | | | | | | | | | | | In case special characters in a filename need escaping into something like: `_0` the `0` should not be followed by an uppercase character as this would be in contradiction wit the setting `CASE_SENSE_NAMES=NO`.
* | | (X)HTML warning when `[` or `]` in constructed idsalbert-github2019-06-161-0/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we have a construct like: ``` template <typename Element, size_t N> class StlContainerView<Element[N]> { public: typedef internal::NativeArray<RawElement> type; }; ``` this will lead to files with `[` and `]` in it, as such not nice, but it is used in ids inside the code as well like: ``` id="aclass_stl_container_view_3_01_element[_n]_4_html_a1bf60158ff15896f2b53af11c09524fb" ``` running ``` xmllint --path ..../testing/dtd --noout --nonet --postvalid html_org/*html ``` this leads to the message: ``` Syntax of value for attribute id of div is not valid Document html_org/test_8h_source.html does not validate ``` escaping the `[` and `]` as done with other special characters solves this problem
* | Cygwin should by default also have `CASE_SENS_NAMES=NO`albert-github2019-06-151-2/+2
|/ | | | | 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__`
* Merge pull request #6913 from albert-github/feature/url_to_md_fileDimitri van Heesch2019-05-121-4/+8
|\ | | | | Markdown file as internet link
| * Markdown file as internet linkalbert-github2019-04-051-4/+8
| | | | | | | | | | | | | | | | See a link in case of a md file only as local link if it doesn't start with a supported protocol. Example found was: ``` [Ansibullbot](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md) ```
* | Add const correctness for argument listsDimitri van Heesch2019-05-051-9/+9
| |
* | Further const correctness changesDimitri van Heesch2019-05-051-5/+5
| |
* | Avoid endless namespace lookup for C# code.Dimitri van Heesch2019-04-271-9/+12
| |
* | Merge pull request #6922 from albert-github/feature/issue_6917Dimitri van Heesch2019-04-211-4/+4
|\ \ | | | | | | issue #6917 Crash in php with UTF-8 character
| * | issue #6917 Crash in php with UTF-8 characteralbert-github2019-04-101-4/+4
| |/ | | | | | | | | | | Problem is that a value is fed to isspace that is not in the correct range and has to be converted to this range. compare also Assertion failure generation documentation (fdefe70a955c8140f080974319bbf97364d3e610 of March 30 2016).
* | Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-86/+85
|/
* Fixed a few compiler warnings on win32Dimitri van Heesch2019-03-101-1/+1
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-02-281-0/+1
|\
| * Latex code double minus goes to endashalbert-github2019-02-221-0/+1
| | | | | | | | | | | | | | In case in code 2 consecutive minus signs are present they are shown as endash. using the same code as in the non code part solves the issue. Issue can e.g. be seen in cpp source code (with e.g. i--) and in the doxygen documentation in the paragraph "Comment blocks in VHDL" This is a regression in 1.8.15
* | Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-19/+19
|/
* Adjustment of xhtml1-transitional.dtdalbert-github2019-02-161-4/+0
| | | | After small discussion conclusion was better to remove the obsolete `doxygen=`
* Issue 6814: Further finetuning for inconsistent whitespace removal for ↵Dimitri van Heesch2019-02-041-2/+3
| | | | operators in 1.8.15
* Issue 6814: Inconsistent whitespace removal for operators in 1.8.15Dimitri van Heesch2019-02-031-1/+1
|
* issue #6749 doxygen 1.8.15 segfaultalbert-github2019-01-071-0/+5
| | | | An empty string was defined in a `<a href="">` resulting in a null pointer access.
* issue #6744 Ampersand in Markdown image URL is not escaped in XML outputalbert-github2019-01-061-2/+25
| | | | Convert name / url based on HTML / XML conventions and don't do double conversions (XML).
* Moved check for page having a title to hasTitle() methodDimitri van Heesch2018-12-311-5/+2
|
* Disabled debug printDimitri van Heesch2018-12-211-1/+1
|
* Added test case for \ref, and fixed representation of operator->*()Dimitri van Heesch2018-12-211-2/+2
|
* Redundant whitespace removal breaks some C++ links [with test case and Git ↵Dimitri van Heesch2018-12-181-1/+8
| | | | bisect] (Origin: bugzilla #791942)
* Fix potential hangup when merging scopesDimitri van Heesch2018-12-071-1/+1
|
* Minor restructuringDimitri van Heesch2018-11-181-11/+3
|
* Merge remote-tracking branch 'doxygen/master'Joe George2018-11-051-5/+2
|\
| * Merge pull request #6562 from albert-github/feature/bug_referencesDimitri van Heesch2018-11-041-5/+2
| |\ | | | | | | Add commands to handle referenced by relation and references relation
| | * Add commands to handle referenced by relation and references relationalbert-github2018-10-171-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analogous to call graph and caller graph this patch provides an implementation for the referenced by relation and references relation. Providing the commands: - referencedbyrelation - hidereferencedbyrelation - referencesrelation - hidereferencesrelation Motivation is that some lists can get extremely large and also there is now more symmetry between the textual and graphical out.
* | | Merge remote-tracking branch 'doxygen/master'Joe George2018-11-021-4/+25
|\ \ \ | |/ /
| * | issue_6580 xrefitems not listed if the page is referenced multiple timesalbert-github2018-11-011-0/+2
| | | | | | | | | | | | Not only the documentation, but also the (x)refitems.
| * | Changed refiltering to forced use of insideTabbingDimitri van Heesch2018-10-291-37/+5
| | |
| * | Merge branch 'feature/bug_latex_index_sorting' of ↵Dimitri van Heesch2018-10-291-1/+33
| |\ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_latex_index_sorting
| | * | Sorting of index in case of LaTexalbert-github2018-08-301-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | In case of LaTeX the sorting was so that lowercase came after uppercase e.g.: `username` came after `useSsl`, although the index should be case insensitive. Te problem was that the sort key was filtered in such a way that a.o. uppercase symbols were preceded by `\+` for hyphenation. The key doesn't need this hyphenation (as there is a separate field for the display name). The `\+` has been filtered out now.
| * | | Merge pull request #6460 from albert-github/feature/issue_6456Dimitri van Heesch2018-10-271-0/+19
| |\ \ \ | | |_|/ | |/| | Issue_6456 Using # in links causes errors in PDF generation
| | * | Issue_6456 Using # in links causes errors in PDF generationalbert-github2018-08-241-0/+19
| | |/ | | | | | | | | | | | | - The # sign in an URL needs to be escaped as longtabu reads the table body as the argument to a command, so the self-escaping mechanism of \href cannot work (from https://tex.stackexchange.com/questions/447461/having-a-hash-sign-in-href-in-a-longtabu-cell) - a regression regarding the change from `\tt` to `\texttt` (needed `{ ... }` as `\href` has 2 arguments )
* | | Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-17/+49
|/ / | | | | | | Added a Slice-optimized output mode.
* | Implementation of standard generator for docbook outputalbert-github2018-09-071-0/+62
| | | | | | | | | | | | | | | | Till now docbook had its own output generator, but lot of possibilities were missing (see remark about updating below), with this patch the (more than) basic implementation has been made. Added some docbook tests to the current tests and updated documentation where necessary Tried updating current version but too many issues remained that were generically handled in the standard generator, code is in current version behind '#if 0' construct in doxygen.cpp and name with '_v1' and in docbookgen.cp'
* | Merge pull request #6418 from albert-github/feature/bug_SOURCE_DATE_EPOCHDimitri van Heesch2018-09-021-1/+1
|\ \ | | | | | | Correct typing error in warning message.
| * | Correct typing error in warning message.albert-github2018-07-311-1/+1
| | |
* | | Update mail addressDimitri van Heesch2018-09-011-1/+1
| |/ |/|
* | Automatic detection of UCS-2 based on BOM correctedalbert-github2018-08-101-2/+2
|/ | | | | | | | | | Based on the travis messages (in total 4): /home/travis/build/doxygen/doxygen/src/util.cpp:7952:20: warning: comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] ((inBuf.at(0)==-1 && inBuf.at(1)==-2) || // Little endian BOM ~~~~~~~~~~~^ ~~ and subsequent tests, the automatic detection of the UCS-2 BOM failed, this has been corected.
* Improvements in handling special characters in Latexalbert-github2018-07-231-13/+24
| | | | | | - In case a corrupted character is found LaTeX shows this as a U+FFFD , the character in the code is 0xef 0xbf oxbd. This character was in the LaTex Code already replaced with `\ucr` but this didn't work properly with TexLive 2015 and the code is now detected i the doxygen code and directly replaced `\ucr` - other special characters are now handled, in a way that works in all engines, by means of `\newunicodechar` - the size of the `\ucr` was not set in case it was used in 'running text' and not inside e.g. a code section.
* Merge pull request #738 from albert-github/feature/bug_latex_codeDimitri van Heesch2018-07-211-0/+35
|\ | | | | Small problems when having code in LaTeX output