<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/modules/luci-base/src, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/'/>
<updated>2026-01-06T13:19:34Z</updated>
<entry>
<title>luci-base: clean overlooked files</title>
<updated>2026-01-06T13:19:34Z</updated>
<author>
<name>novenary enneagon</name>
</author>
<published>2026-01-05T13:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=6ebcfe66eca2f9b6c5ef41c8992fa190f499436d'/>
<id>urn:sha1:6ebcfe66eca2f9b6c5ef41c8992fa190f499436d</id>
<content type='text'>
Updates: https://github.com/openwrt/luci/issues/8195

This fixes the primary symptom (subsequent builds reusing stale
products), but not the root cause (the build running in-tree).

Signed-off-by: novenary enneagon &lt;novenary@kwak.zip&gt;
</content>
</entry>
<entry>
<title>luci-base: specify c17 standard</title>
<updated>2025-04-18T13:03:43Z</updated>
<author>
<name>Andrew Robbins</name>
</author>
<published>2025-04-15T05:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=7e6741fbae9b122545e80aad8b9e3a5529c442ce'/>
<id>urn:sha1:7e6741fbae9b122545e80aad8b9e3a5529c442ce</id>
<content type='text'>
build was failing b/c gcc15 defaults to c23, which lemon is not written for (and errors with).

Signed-off-by: Andrew Robbins &lt;andrew@robbinsa.me&gt;
</content>
</entry>
<entry>
<title>luci-base: always link core.so with libcrypt to satisfy glibc builds</title>
<updated>2022-10-27T10:36:33Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-10-27T10:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=2a5efb31b7b8a1fcd253b3897bed97abb0a67f4a'/>
<id>urn:sha1:2a5efb31b7b8a1fcd253b3897bed97abb0a67f4a</id>
<content type='text'>
Fixes the following runtime error on glibc based builds:

    Runtime error: Unable to dlopen file ...: undefined symbol: crypt
    In module(), file /usr/share/ucode/luci/dispatcher.uc, line 1, byte 1:
      called from anonymous function (/www/cgi-bin/luci:7:21)

Ref: https://forum.openwrt.org/t/x/137250/18
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>treewide: separate Lua runtime resources</title>
<updated>2022-10-24T23:03:37Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-13T21:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=673f38246ac3548caefec41183e3dd7477d9f6f6'/>
<id>urn:sha1:673f38246ac3548caefec41183e3dd7477d9f6f6</id>
<content type='text'>
Move classes required for Lua runtime support into a new `luci-lua-runtime`
package. Also replace the `luci.http` and `luci.util` classes in
`luci-lib-base` with stubbed versions interacting with the ucode based
runtime environment.

Finally merge `luci-base-ucode` into the remainders of `luci-base`.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: Import latest version of jsmin</title>
<updated>2020-03-01T00:50:30Z</updated>
<author>
<name>Howard Su</name>
</author>
<published>2020-02-29T15:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=9935a5c735b271f59e3c6c95248c64e4b089d7f0'/>
<id>urn:sha1:9935a5c735b271f59e3c6c95248c64e4b089d7f0</id>
<content type='text'>
Signed-off-by: Howard Su &lt;howard0su@gmail.com&gt;
</content>
</entry>
<entry>
<title>luci-base: po2lmo: refactor code</title>
<updated>2020-02-01T13:41:07Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-02-01T13:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=2a1245a4970c2655fda10c51a6be4973f3e2ce84'/>
<id>urn:sha1:2a1245a4970c2655fda10c51a6be4973f3e2ce84</id>
<content type='text'>
Refactor the po2lmo conversion code to be more robust and to properly
handle input files without location comments.

Ref: https://github.com/openwrt/luci/commit/9c1bac4168d151c2a3a5a1f957adbd68b6ae0746#commitcomment-37036663
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: add support for plural translations and contexts in Lua api</title>
<updated>2020-01-25T22:21:35Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-01-23T20:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=9939fc5a26d07da4756497bb6a7dc51dcf379e98'/>
<id>urn:sha1:9939fc5a26d07da4756497bb6a7dc51dcf379e98</id>
<content type='text'>
 - Introduce a new luci.template.parser.ntranslate() function which
   takes a count, a singular and a plural translation string as well
   as an optional context argument and returns the appropriate,
   language specific plural translation.

 - Introduce an optional translation context argument in the existing
   luci.template.parser.translate() function

 - Support translation contexts in LuCI template directives.
   Translation messages are split on the first unescaped pipe
   character and the reamining string after the pipe is treated
   as context.

Examples:

 - `string.format(p.ntranslate(n, "1 apple", "%d apples"), n)` will
   return an appropriate plural translation for the given amount.

 - `translate("Load", "The system load")` will return an appropiate
   translation for `Load`, using `The system load` as disambiguation
   context (a `msgctxt` directive in *.po files).

 - Likewise `&lt;%:Load|The system load%&gt;` will translate the word
   `Load` while using the remainder of the string as context.

 - To use pipes in translations strings literally, they must be
   escaped: `&lt;%:Use the "\|" character%&gt;` will translate the literal
   string `Use the "|" character`.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: handle more po format features in po2lmo</title>
<updated>2020-01-22T21:02:24Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-01-22T17:44:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=9c1bac4168d151c2a3a5a1f957adbd68b6ae0746'/>
<id>urn:sha1:9c1bac4168d151c2a3a5a1f957adbd68b6ae0746</id>
<content type='text'>
 - Extract and store the plural calculation function in .lmo files
 - Handle plural translation messages
 - Handle translation contexts

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: add build option to minify *.js files</title>
<updated>2018-11-22T11:49:14Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-11-21T17:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=17690f2d73b640cf4bbf082fe96f5b3075a040fe'/>
<id>urn:sha1:17690f2d73b640cf4bbf082fe96f5b3075a040fe</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: further hash calculation signedness bugfixes</title>
<updated>2018-11-19T12:31:43Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-11-19T12:28:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/luci/commit/?id=51de74d5201b0a1e314ed24cb1003dc3cf701633'/>
<id>urn:sha1:51de74d5201b0a1e314ed24cb1003dc3cf701633</id>
<content type='text'>
 - cbi.js: make sure to treat single bytes as signed char when
   handling end cases

 - template_lmo.c: make sure to treat single bytes as signed
   char when handling end cases, avoids hash miscalculations
   on ARM

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
