summaryrefslogtreecommitdiffstats
path: root/src/context.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added concepts to the templated outputDimitri van Heesch2021-06-121-60/+507
| | | | | also made some changes to make the templated HTML output better match the built-in output.
* Optimized MathJax HTML output and made the template output the same.Dimitri van Heesch2021-05-241-5/+15
|
* Make templated HTML output more similar to hardcoded output.Dimitri van Heesch2021-05-201-23/+123
|
* Template engine: allow listing list and struct variables as stringsDimitri van Heesch2021-05-151-0/+322
| | | | | For easier debugging one can do e.g. `{% msg %}value={{ variable }}{% endmsg %}` to list the value of a variable also when it is a list or struct.
* Some fixes for template.cpp and improve the template outputDimitri van Heesch2021-05-141-45/+69
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-108/+110
| | | | | | | | | | | | | | | | | 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()'
* issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-1/+4
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-48/+36
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QGString by std::ostringstreamDimitri van Heesch2021-03-231-33/+31
|
* Some regressions on the templated approachalbert-github2021-03-201-16/+16
| | | | | | | | | Although the templated approach is highly experimental there are a number of regressions fixed: - context.cpp - incorrect if condition due to: Refactoring: cleanup unused qtools headers (commit: b89561e0c61aec5cae6eafc354f81a3bf071a777) - garbled messages due to missing end of line in message - htmllayout.tpl - doxygen.luma has been replaced by doxygen.cpp
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-65/+62
|
* Refactoring: Replaced QDir with DirDimitri van Heesch2021-03-181-15/+10
| | | | | - Dir is based on ghc::filesystem, a std::filesystem compatible implementation that does not require C++17.
* Correction compilation warnings (#8398)albert-github2021-03-061-3/+3
| | | | | | | Correction warnings (64-bit windows) like: warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data - context.cpp also making test a bit better readable Co-authored-by: Dimitri van Heesch <doxygen@gmail.com>
* Merge branch 'master' into feature/bug_lexDimitri van Heesch2021-03-031-1/+1
|\
| * Refactoring: replaced std::regex with own much faster implementationDimitri van Heesch2021-03-021-1/+1
| |
* | Adding support for lex filesalbert-github2021-02-121-0/+1
|/ | | | | | Adding support for lex. The lex files consist of a mixture of lex specific structures, that are handled in the the lexcode.l and lexscanner.l, abd C code that is handled by the C parsers (hence the rules used are partly copied from scanner.l). Special attention has been paid to memberdef.cpp as the initial values should not be handled by the lex parsers but by the C parsers.
* Fixed a couple of issues found by running CoverityDimitri van Heesch2021-02-051-3/+3
|
* Refactoring: cleanup unused qtools headersDimitri van Heesch2021-01-221-17/+12
|
* Refactoring: modernized context.cppDimitri van Heesch2021-01-221-17/+16
|
* Refactoring: modernize FileListDimitri van Heesch2021-01-221-26/+8
|
* Refactoring: modernize IncludeInfo listDimitri van Heesch2021-01-221-8/+6
|
* Refactoring: modernize MemberListDimitri van Heesch2021-01-221-66/+39
|
* Refactoring: change visitedClasses type to ClassDefSetDimitri van Heesch2021-01-221-5/+5
|
* Various fixes based on coverity scan resultsDimitri van Heesch2021-01-051-1/+1
|
* Revert "Refactoring: Embed MemberGroup objects directly in their container"Dimitri van Heesch2021-01-041-5/+5
| | | | This reverts commit d37c654efbd5bb4ea19e1997d1daccb0b01de8b3.
* Refactoring: Embed MemberGroup objects directly in their containerDimitri van Heesch2021-01-041-5/+5
|
* Refactoring: replace MemberSDict by MemberLinkedRefMapDimitri van Heesch2021-01-041-18/+0
|
* Refactoring: replace ExampleSDict by ExampleListDimitri van Heesch2021-01-011-12/+8
|
* Refactoring: replace Doxygen::directories by Doxygen::dirLinkedMapDimitri van Heesch2021-01-011-14/+7
|
* Refactoring: replace Doxygen::groupSDict by Doxygen::groupLinkedMapDimitri van Heesch2020-12-311-34/+20
|
* Refactoring: replaced PageSDict by PageLinked*MapDimitri van Heesch2020-12-311-58/+49
|
* Refactoring: change MemberGroupSDict to MemberGroupListDimitri van Heesch2020-12-301-32/+24
|
* Refactoring: modernise MemberGroupListDimitri van Heesch2020-12-301-16/+6
|
* Refactoring: Modernise client side part of searchindexDimitri van Heesch2020-12-291-40/+56
|
* Refactoring: replace NamespaceSDict by NamespaceLinkedMapDimitri van Heesch2020-12-231-46/+26
|
* Refactoring: replaced getNamespaceSDict() by getNamespaces()Dimitri van Heesch2020-12-231-50/+43
|
* Refactoring: replace ClassSDict by ClassLinkedMap/ClassLinkedRefMapDimitri van Heesch2020-12-191-133/+101
|
* issue #697: Test 32 reference to bell signal (XHTML, LaTeX)Dimitri van Heesch2020-11-281-0/+14
|
* Refactoring: remove isVisited/setVisited from contextDimitri van Heesch2020-11-151-81/+88
|
* Refactoring: Modernise DotGfxHierarchyTableDimitri van Heesch2020-11-151-8/+3
|
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-21/+21
|
* Refactoring: Introduce immutable and mutable interfacesDimitri van Heesch2020-11-091-2/+1
| | | | | | Split Definition/ClassDef/NamespaceDef/MemberDef into a immutable and mutable part Aliases are immutable, other symbols are stored using an immutable interface but can be made mutable explicitly by dynamic casting.
* Refactoring: Remove unused DefinitionIntf and DefinitionList classesDimitri van Heesch2020-10-231-10/+8
|
* Refactoring: modernize Doxygen::symbolMapDimitri van Heesch2020-10-231-18/+2
|
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-3/+13
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* issue #8103: C++ Table of content, namespace list does not contains ↵Dimitri van Heesch2020-10-191-1/+1
| | | | namespace without class
* Performance tweak: Pass BaseClassList by const referenceDimitri van Heesch2020-10-171-3/+3
|
* Refactoring: Modernize BaseClassListDimitri van Heesch2020-10-121-46/+33
|
* Refactoring: prepare output generators for multi-threaded useDimitri van Heesch2020-09-271-10/+22
|
* issue #7973: C++ grouped functions in namespace have disapeardDimitri van Heesch2020-08-241-1/+1
| | | | | - reverted some of the change that introduced the problem - fixed the original problem (#7216) in a different way