summaryrefslogtreecommitdiff
path: root/libs/web/src/template_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* build: introduce luci-baseJo-Philipp Wich2014-06-111-386/+0
| | | | | | Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd, modules/admin-core, themes/base and protcols/core into modules/base and renames luci-lib-core to luci-base.
* libs/web: various changes in template libraryJo-Philipp Wich2012-11-261-4/+4
| | | | | - rename sanitize_pcdata() and sanitize_utf8() to pcdata() and utf8() - implement striptags()
* libs/web: remove leftover debugging code in template_parser.cJo-Philipp Wich2012-11-251-2/+0
|
* libs/web: rewrite template engine, merge lmo libraryJo-Philipp Wich2012-11-251-340/+263
| | | | | | | | | | | | | | - template parser: merge lmo library - template parser: rewrite to operate on memory mapped files - template parser: implement proper line number reporting on syntax errors - template parser: process translate tags directly and bypass Lua - template lmo: introduce load_catalog(), change_catalog() and close_catalog() - template lmo: rewrite index processing to operate directly on the memory mapped file - template lmo: implement binary search keys, reducing the lookup complexity to O(log n) - po2lmo: write sorted indixes when generating *.lmo archives - i18n: use the template parser for translations - i18n: stub load(), loadc() and clear() - i18n: map setlanguage() to load_catalog()
* libs/web: prepare template parser, dispatcher and i18n class for upcoming po ↵Jo-Philipp Wich2009-10-311-27/+29
| | | | format change
* libs/web: template: fix spurious nil or false values that broke various ↵Jo-Philipp Wich2009-08-051-6/+6
| | | | templates
* libs/web: fix template parsing of default texts in i18n expressionsJo-Philipp Wich2009-07-261-5/+5
|
* libs/web: add template parser reimplemented in CJo-Philipp Wich2009-07-231-0/+463