summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Guarded debug prints against printing a NULL pointer.Dimitri van Heesch2015-04-061-2/+2
|
* Fix for rendering the template parameters of members of variadic template ↵Dimitri van Heesch2015-03-221-1/+5
| | | | classes.
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2015-02-261-4/+2
|\
| * Adding commands \hidecallgraph and \hidecallergraphalbert-github2015-02-221-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the new commands \hidecallgraph and \hidecallergraph it is possible to suppress a call or caller graph even though the corresponding option CALL_GRAPH or CALLER_GRAPH is set. commands.doc config.xml diagrams.doc - updating documentation to support new commands entry.cpp - initialize callgraph and callergraph with the value from the config file commentscan.l - add handling for the new commands context.cpp memberdef.cpp util.cpp - getting the option for CALL_GRAPH and CALLER_GRAPH is not necessary anymore as it is incorporated in the initialization of an Entry item dbusxmlscanner.cpp - initialization is done in the Entry item vhdljjparser.cpp - gBlock was a static variable and therefore initialized before the doxygen main routine started. A Entry element sets now the default for callgraph and callergraph based on the config file and as the config file is not yet known at that moment the value for CALL_GRAPH and CALLER_GRAPH were set to False. By making a pointer of gBlock and doing an appropriate new Entry call this problem is overcome.
* | Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|/
* Merge pull request #297 from albert-github/feature/dot_index_pngDimitri van Heesch2015-02-211-0/+6
|\ | | | | Support generating index-color PNG files
| * Support generating index-color PNG filesalbert-github2015-02-081-0/+6
| | | | | | | | | | | | | | Based on the request http://stackoverflow.com/questions/27036474/how-do-make-doxygen-generate-index-color-png-files for index colored png files, this functionality will be included in the newer versions (2.39) of dot. The functionality -Tpng:cairo:gd will automatically be used by doxygen, though the file extension would be wrong (.png:cairo:gd). With this patch the :cairo:gd is stripped from the image extension, but not from the -T of the dot command. In the doxywizard the different possibilities are supplied as well. Note however that the DOT_IMAGE_FORMAT name is not checked when read from the Doxyfile so it is possible to use other renderer / formats as well due to the generic solution with getDot ImageExtension.
* | Added type constraint relations for Java generics to dot graphs and XML outputDimitri van Heesch2015-02-211-2/+9
|/
* increase the size of l when result is modifiedSebastien Loriot2015-01-311-1/+5
|
* Update of search from "endless search to 'Character search: criterion.albert-github2015-01-231-1/+2
| | | | | Updated search criterion Incremented q, as otherwise ';' remained (visible in PDF).
* Bug 739680 - Using HTML entities in PROJECT_NAMEalbert-github2015-01-111-1/+30
| | | | Implementation for LaTeX of special symbols by scanning string in case a & is found.
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-3/+1
|\ | | | | Remove unused local and static global variables
| * Remove unused local and static global variablesalbert-github2014-12-271-3/+1
| | | | | | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* | Fixed a couple of cases where sharing string data could lead to corruptionDimitri van Heesch2015-01-021-9/+9
|/ | | | | Also made dangerous string access more visible by introducing rawData(). This replaces data() which will now return a constant string.
* Bug 704090 - Allow Class{T}.Method in cref to refer to a generic class in ↵Dimitri van Heesch2014-12-191-0/+7
| | | | XML comments
* Bug 740218 - Full scope needed when making link inside cross-referenced ↵Dimitri van Heesch2014-12-191-1/+1
| | | | section (fixed regression)
* Merge pull request #253 from albert-github/feature/bug_687576Dimitri van Heesch2014-12-091-3/+12
|\ | | | | Bug 687576 - Add support for LATEX_EXTRA_STYLESHEET
| * Removed some comment statements.albert-github2014-11-291-5/+0
| |
| * Bug 687576 - Add support for LATEX_EXTRA_STYLESHEETalbert-github2014-11-291-3/+17
| | | | | | | | Added the possibility for LATEX_EXTRA_STYLESHEET analogous to HTML_EXTRA_STYLESHEET. Special attention has been paid to the extension as ".sty" is automatically added by the \usepackage
* | Merge pull request #249 from albert-github/feature/bug_latex_single_quotesDimitri van Heesch2014-11-291-0/+2
|\ \ | |/ |/| LaTeX problem with 2 consecutive single quotes
| * LaTeX problem with 2 consecutive single quotesalbert-github2014-11-271-0/+2
| | | | | | | | In LaTeX 2 consecutive single quotes are joined to 1 double quote. This leads in texts where 2 single quotes are intended to a strange view. An example is the initial value for variables. E.g. in Fortran: character(len=10) :: A = '' (i.e an empty string which can either be defined as '' or as "") or in C: char *sq = "''". In the source listings this is OK but in the description text it was not OK.
* | Bug 739863 - Regression: Base classes incorrect when using CRTP with default ↵Dimitri van Heesch2014-11-221-2/+3
| | | | | | | | template parameter
* | Bug 740218 - Full scope needed when making link inside cross-referenced sectionDimitri van Heesch2014-11-171-1/+2
| |
* | Fixed several Coverity warningsDimitri van Heesch2014-11-151-1/+1
|/
* Compilation fixes for Windows for new string implementation.Dimitri van Heesch2014-10-251-2/+2
|
* Introduce new optimized string implementation (attempt 2)Dimitri van Heesch2014-10-231-4/+42
|
* Bug 736386 - [PATCH] Fix another potential null pointer dereference in ↵Dimitri van Heesch2014-09-231-1/+1
| | | | src/util.cpp
* Bug 736385 - [PATCH] Fix potential null pointer dereference in src/util.cppDimitri van Heesch2014-09-231-1/+1
|
* Regression class<T extends V> resulted in class<V> as the page titleDimitri van Heesch2014-09-141-1/+5
|
* Bug 733722 - XML Output invalid: XML_PROGRAMLISTING=YES copies Unicode form ↵Dimitri van Heesch2014-08-151-0/+5
| | | | feed character (U+000C) to XML files
* Made bread crumb trails enabled unconditionallyDimitri van Heesch2014-08-041-8/+10
|
* Merge branch 'feature-groupbreadcrumbs' of ↵Dimitri van Heesch2014-08-041-8/+22
|\ | | | | | | https://github.com/NimbusKit/doxygen into NimbusKit-feature-groupbreadcrumbs
| * Add BREAD_CRUMB_TRAIL.Jeff Verkoeyen2014-07-191-8/+22
| | | | | | | | | | This feature enables recursive printing of the bread crumbs for any page, rather than just printing the parent group.
* | Merge branch 'bug734099'Dimitri van Heesch2014-08-041-5/+27
|\ \
| * | Bug 734099 - Add support for non-parsed languageDimitri van Heesch2014-08-041-5/+27
| | |
* | | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2014-08-041-6/+9
|\ \ \ | |/ / |/| |
| * | Merge pull request #206 from groleo/masterDimitri van Heesch2014-08-031-6/+9
| |\ \ | | | | | | | | removeRedundantWhiteSpace micro-optimization
| | * | removeRedundantWhiteSpace micro-optimizationAdrian Negreanu2014-07-251-6/+9
| | |/ | | | | | | | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* | | Bug 733938 - Explicit links using operator()() not generated.Dimitri van Heesch2014-08-031-4/+5
|/ /
* | Added mainpage to context and improved page treeDimitri van Heesch2014-08-021-0/+8
|/
* Bug 731238 - Dead links in html documentation when using tabs for ↵Dimitri van Heesch2014-06-071-2/+3
| | | | indentation in c++
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2014-03-151-8/+23
|\
| * In case of sections with the same name they are not reported.albert-github2014-03-021-8/+23
| | | | | | | | | | In this patch it is checked if a section label has been used before and if so a warning is given with file name and line number (when possible) where the section label was used the first time. Note in section.h the item level was not initialized in the past in case of a copy constructor.
* | Bug 625601 - FORTRAN: recognition free versus fixed formatted codealbert-github2014-03-091-17/+19
|/ | | | | The recognition of the type (free or fixed) of Fortran code is not reliable possible. A well known possibility as used with compilers as well is to specify the type of code by means of the extension. With EXTENSION_MAPPING it is possible to select the type of Fortran code, when not explicitly set doxygen tries to guess the type of Fortran code.
* util/patternMatch: don't extract a QCString(QFileInfo) each time we ↵Adrian Negreanu2014-02-281-3/+8
| | | | | | | | | | | | QRegExp.match patternMatch iterates over the pattern list, while FileInfo remains constant. given this, extract the QCStrings for QFileInfo outside of the iterating loop. Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* util/patternMatch: break when pattern is foundAdrian Negreanu2014-02-271-1/+2
| | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Command \< and \> are not properly shown in section headers (and ↵albert-github2014-02-121-7/+2
| | | | | | | consequently in index) In the pdf version of the doxygen manual (version 1.8.6) the commands \< and \> are shown as < and > Tests (on the doxygen manual) revealed that the exception rules were nor required.
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|
* Restructered html entity handlingDimitri van Heesch2014-02-101-458/+6
|
* Recognize all HTML4 special character entitiesalbert-github2014-02-081-133/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In doxygen a limited number of HTML4 special character entities are recognized, with this patch the full list of HTML4 special character entities (see http://www.w3.org/TR/html4/sgml/entities.html) is supported (as far as they can be represented in the output format). - doxygen_manual.tex - latexgen.cpp Added wasysym package to support per thousand sign (perthousand command from textcomp didn't work properly) Added option for textcomp package so currency symbol would work properly - htmlcmds.doc Adjusted documentation, listing all entities - compound.xsd - xmlgen.cpp Removed in xsd file all references for special HTML4 character entities and placed placeholder so doxygen (in xmlgen.cpp)can automatically add the right element names. - util.cpp - util.h Define all entities with their representation for all output formats. Define access routines to the different representations Mapping (for recognition of the entities) based on running through the list of available entities, after validation of the order of the entities. A few entities contain now besides letters also numbers at the end. - docparser.h Define symbols for all entities as well as a helper struct and enum. The member m_letter is not used anymore and thus removed. All existing symbols were renamed so no confusion (i.e. errors when forgetting to rename some symbols) can occur. Obsolete references to letter removed, all letters with accents etc. are explicitly defined and not through the generic accent name plus an extra letter. - docparser.cpp Adjust used symbols to their new names. Remove references to letter (as used for accents etc.) Replace list of explicitly supported entities with call to symbol code access routine. - docbookvisitor.cpp - htmldocvisitor.cpp - latexdocvisitor.cpp - mandocvisitor.cpp - perlmodgen.cpp - printdocvisitor.h - rtfdocvisitor.cpp - textdocvisitor.cpp - xmldocvisitor.cpp Replace list of explicitly supported entities with call to access routine and use returned value to output.