summaryrefslogtreecommitdiffstats
path: root/src/template.h
Commit message (Collapse)AuthorAgeFilesLines
* Template engine: allow listing list and struct variables as stringsDimitri van Heesch2021-05-151-2/+10
| | | | | 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-1/+4
|
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-7/+7
| | | | | | | | | | | | | | | | | 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: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-2/+2
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: make qcstring.h a local includeDimitri van Heesch2021-03-261-1/+2
|
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-3/+2
|
* Refactoring: changed QValueList to std::vector for template engineDimitri van Heesch2020-08-061-7/+7
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-4/+6
|
* Misc. typosluz.paz2018-02-061-2/+2
|
* Added generating template files and reading templates from disk if presentDimitri van Heesch2016-05-281-0/+3
|
* Fixed minor typos in commentsDimitri van Heesch2015-09-191-6/+4
|
* Made several improvements to the performance of template engineDimitri van Heesch2015-09-131-20/+83
|
* Started with generating LaTeX output via the template engineDimitri van Heesch2015-08-271-0/+14
|
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Added groupby filter and some more context infoDimitri van Heesch2014-08-021-0/+2
|
* Addition of module data to context and alphaIndex filterDimitri van Heesch2014-08-021-0/+23
|
* Add index support to contextDimitri van Heesch2014-03-231-3/+3
|
* Added reference counting for all context objectsDimitri van Heesch2014-03-111-16/+58
|
* Extension specific filteringDimitri van Heesch2014-03-041-1/+1
|
* More work on the template and context mechanismsDimitri van Heesch2013-12-291-34/+46
|
* Template and context enhancementsDimitri van Heesch2013-12-231-7/+0
|
* More template and context enhancementsDimitri van Heesch2013-12-121-17/+65
|
* More template and context updatesDimitri van Heesch2013-11-111-5/+29
|
* Added rudimentary support for django like template system for output creation.Dimitri van Heesch2013-10-211-0/+395