Jo-Philipp Wich
7043c30e0e
build: introduce luci-base
...
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.
2014-06-11 13:29:05 +00:00
Jo-Philipp Wich
f7b4fd2979
libs/web: various changes in template library
...
- rename sanitize_pcdata() and sanitize_utf8() to pcdata() and utf8()
- implement striptags()
2012-11-26 14:26:43 +00:00
Jo-Philipp Wich
0e50aa690a
libs/web: rewrite template engine, merge lmo library
...
- 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()
2012-11-25 19:17:55 +00:00
Jo-Philipp Wich
a3207ded53
libs/web: fix filtering of overlong utf8 sequences
2010-11-28 20:25:03 +00:00
Jo-Philipp Wich
8ac568acb0
libs/web: fix sanitize_utf8(), passes all testcases now
2010-11-12 22:48:17 +00:00
Jo-Philipp Wich
09e71acf6b
libs/web: add UTF-8 validation and pcdata escaping C routines to template parser
2010-11-12 22:37:50 +00:00