Jo-Philipp Wich
0b0df324bf
build: fixup header order in i18n-update.pl to minimize diffs to pootle
2012-07-01 22:46:49 +00:00
Jo-Philipp Wich
3944cdaac4
build: add i18n-sync.sh, a script to automatically sync most translations
2012-06-27 18:02:50 +00:00
Jo-Philipp Wich
c60254089d
build: escape backslashes in i18n strings
2012-04-22 14:29:00 +00:00
Jo-Philipp Wich
0231c25655
build/i18n-init.sh: add git support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-06 09:44:46 +00:00
Jo-Philipp Wich
ec79d9318d
build/i18n-init.sh: allow to use custom pattern for template files
...
This allows to initialize language files for individual modules.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-06 09:44:43 +00:00
Jo-Philipp Wich
3501cbea52
build: rework checks in i18n-scan.pl
2012-04-03 00:35:54 +00:00
Jo-Philipp Wich
c024eca0fc
build: rework i18n-scan.pl defined checks
2012-04-02 23:57:11 +00:00
Jo-Philipp Wich
14a9306e7d
build/i18n-scan.pl: avoid a possible endless loop
...
Issuing './build/i18n-scan.pl libs/core/' leads to this
endless loop with some perl implementations:
<...>
Use of uninitialized value in concatenation (.) or string at../build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
<...>
Experienced with this perl version:
"This is perl, v5.8.8 built for i386-linux"
Fix it by undefining the 'sub' variable if it is an
empty string.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-02 22:50:40 +00:00
Jo-Philipp Wich
5dd25cf43e
build: override sys.user.getpasswd and nixio.fs.access in sdk environment
2012-03-13 23:18:13 +00:00
Jo-Philipp Wich
5e86b77294
build: i18n-scan.pl: cope with strings that contain escaped newlines, spotted in luci-pbx
2011-11-05 18:35:54 +00:00
Jo-Philipp Wich
fa9c8e72e8
build: mkbasepot.sh: scan protocols/ as well
2011-10-27 00:46:29 +00:00
Jo-Philipp Wich
158f709af3
build: Bail out the build if any lua compilation fails. (Patch from Fon-NG, http://trac.fonosfera.org/fon-ng/changeset/1867 )
2011-09-03 17:07:38 +00:00
Jo-Philipp Wich
7d73e79c49
build: add i18n-init.sh, a helper script to initalize missing *.po files
2011-05-21 21:22:47 +00:00
Jo-Philipp Wich
9424177aca
build: uvl is dead, remove it
2011-05-04 21:09:04 +00:00
Manuel Munz
32aec7a4f3
modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips
2011-03-03 21:01:17 +00:00
Jo-Philipp Wich
45367dab20
build: fix bashism in hostenv.sh
2011-02-16 19:57:39 +00:00
Jo-Philipp Wich
01ad52f27a
build: better not use a local var, it breaks various shells
2011-01-26 19:12:51 +00:00
Jo-Philipp Wich
e20ac8fed4
build: set LUA_PATH when invoking LuaSrcDiet
2011-01-23 02:04:55 +00:00
Jo-Philipp Wich
db7d37f0af
build: use maximum compression for LuaSrcDiet
2011-01-23 01:55:12 +00:00
Jo-Philipp Wich
03ad47080c
contrib, build: bundle LuaSrcDiet and make it available in build targets
2011-01-23 01:49:54 +00:00
Jo-Philipp Wich
9714667b2a
build: readd both po2lua and lua2po helper scripts...
2011-01-18 20:51:24 +00:00
Jo-Philipp Wich
c78c91b9a9
build: partly revert r6748
2011-01-18 20:47:18 +00:00
Jo-Philipp Wich
72309b798e
build: restore i18n-lua2po.pl and remove i18n-po2lua.pl
2011-01-18 19:10:50 +00:00
Jo-Philipp Wich
4ab2d1017e
build: fix some errors in i18n-scan.pl, support bracketed Lua string notation
2011-01-14 23:23:37 +00:00
Jo-Philipp Wich
939218ae82
build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl
2011-01-14 22:51:21 +00:00
Jo-Philipp Wich
9ab82c3446
build: remove uvl setup from sdk preloading
2011-01-13 22:29:01 +00:00
Jo-Philipp Wich
6e59e510dd
build: add mkbasepot.sh, convenience script to rebuild base.pot (it sources multiple project parts)
2011-01-13 21:48:38 +00:00
Jo-Philipp Wich
800a263049
build: remove some obsolete support scripts
2011-01-02 19:20:23 +00:00
Jo-Philipp Wich
9fd0276848
build: zoneinfo2lua.pl: rework script to accommodate split tzdata.lua and tzoffset.lua libs
2011-01-02 17:52:06 +00:00
Jo-Philipp Wich
c8bac06623
build: make zoneinfo2lua.pl script more convenient
2011-01-02 17:29:19 +00:00
Manuel Munz
80b5a4b6f8
build/: Replace -or with -o #133
2010-12-11 17:14:13 +00:00
Jo-Philipp Wich
daca626e86
build: add runuhttpd sdk target
2010-04-16 13:38:27 +00:00
Jo-Philipp Wich
5fa8fd228e
build: get version from /etc/openwrt_release if applicable
2010-04-03 19:30:46 +00:00
Jo-Philipp Wich
bf8a7d61cf
[build] drop -Werror, newer gcc versions emit more warnings, stuff might break on some targets
2010-03-02 00:47:47 +00:00
Jo-Philipp Wich
88c1b01caf
build: fix typo in hostenv.sh introduced in r5654
2009-12-29 18:11:39 +00:00
Jo-Philipp Wich
7d0134fedc
build: emulate nixio.sysinfo() on Darwin
2009-12-29 18:09:17 +00:00
Jo-Philipp Wich
a7ec41b283
build: adjust hostenv.sh for OS X
2009-12-28 23:28:44 +00:00
Steven Barth
7aed1e4b9d
NIU: More pages
2009-11-10 16:02:48 +00:00
Jo-Philipp Wich
f5a760168b
all: remove references to old i18n files
2009-11-01 14:24:04 +00:00
Jo-Philipp Wich
e3ac0fd78d
build: fix corner case when extracting i18n tokens from templates
2009-11-01 01:05:28 +00:00
Jo-Philipp Wich
4ad686d732
build: allow multiple search directories in i18n-scan.pl
2009-11-01 01:01:47 +00:00
Jo-Philipp Wich
58b3b2156f
build: update i18n-scan.pl, now reliably finds template and Lua i18n tokens
2009-11-01 00:48:15 +00:00
Jo-Philipp Wich
4a6846f093
build: fix cursor_state() in setup.lua
2009-08-13 04:55:48 +00:00
Jo-Philipp Wich
6dffa9ea56
build/setup.lua: override luci.model.uci.cursor_state() and clean up code
2009-08-13 00:33:46 +00:00
Jo-Philipp Wich
f2b1b113de
build: embed lmo in the build process
2009-07-09 15:05:02 +00:00
Steven Barth
2baab00b19
Ignore checkpasswd locally
2009-06-21 13:42:12 +00:00
Steven Barth
a060a9e135
Fix SDK build process
2009-06-20 07:20:56 +00:00
Jo-Philipp Wich
2ef4b11de9
build: fix po->lua conversion, last po entry was always missing
2009-06-10 23:04:07 +00:00
Steven Barth
8c4f847ea5
GSoC Commit #1 : LuCId + HTTP-Server
2009-05-23 17:21:36 +00:00
Jo-Philipp Wich
bcbaad34e1
build/i18n-update.pl: disable fuzzy maching for po updates, does not work well with our key format
2009-05-19 17:32:27 +00:00
Jo-Philipp Wich
1f3666f722
build: add i18n-update.pl to refresh *.po files from *.pot templates
2009-05-19 17:21:07 +00:00
Jo-Philipp Wich
4274b69a12
build: also prepare i18n directories
2009-05-19 02:50:52 +00:00
Jo-Philipp Wich
de7842fdd3
build: add variable to restrict po language and use it for the core i18n packages
2009-05-19 02:41:14 +00:00
Jo-Philipp Wich
7bf803250b
build: integrate po files in the build system
2009-05-19 02:18:28 +00:00
Jo-Philipp Wich
705f06ef0e
build: revert r4542
2009-05-18 20:54:32 +00:00
Jo-Philipp Wich
cc6b30f8b5
build: substitute missing i18n entries with english strings to ease translation
2009-05-18 20:29:33 +00:00
Jo-Philipp Wich
8a0dd339fb
build: change i18n-lua2po.pl to produce a suitable directory layout
2009-05-18 20:26:35 +00:00
Jo-Philipp Wich
7df655af2a
build: remove debugging code from i18n-scan.pl
2009-05-17 20:00:02 +00:00
Jo-Philipp Wich
5193631c04
build: add script to extract i18n tags from sources and generate *.po snippets
2009-05-17 19:39:32 +00:00
Jo-Philipp Wich
4fbecc4874
build: add "po" target to Makefile
2009-05-14 21:10:40 +00:00
Jo-Philipp Wich
6948b6bc70
build: add script for po to lua conversation
2009-05-14 20:52:18 +00:00
Jo-Philipp Wich
35e9998ec7
build/i18n-lua2po.pl: generate *.pot files if target language is unspecified, don't substitute undefined msg strings with english
2009-05-14 20:16:00 +00:00
Jo-Philipp Wich
6202881b56
build: add lua-po conversation script
2009-05-14 19:44:04 +00:00
Jo-Philipp Wich
b75a258aec
build: add script to extract i18n tags from templates
2009-05-09 02:46:39 +00:00
Jo-Philipp Wich
e152620080
build: also find and remove .gitignore files when installing sources
2009-04-16 10:41:55 +00:00
Jo-Philipp Wich
f7a726ec9e
build/mklar.pl:
...
- fix heisenbug with file list padding
- call luac if available
- include non-lua files
- include cbi models and controllers
2009-04-14 22:32:57 +00:00
Jo-Philipp Wich
e4fd058c2e
build: add mklar.pl script to generate lar archives from luci source tree
2009-04-13 15:47:19 +00:00
Jo-Philipp Wich
1c383dc244
build: force overwrite of already compressed files for gzip target
2009-04-05 02:00:02 +00:00
Jo-Philipp Wich
baa3404ab3
trunk: add gzip build target
2009-04-05 01:05:01 +00:00
Steven Barth
35f40376c3
nixio: FreeBSD compatibility #1
2009-03-12 13:06:19 +00:00
Jo-Philipp Wich
89c8f98b12
build: add mkversion.sh helper script
...
contrib: (re-)generate version.lua at build time
libs/core: use version.lua
themes: adept header to version.lua, fix css for openwrt.org
2009-01-17 16:35:02 +00:00
Steven Barth
082e30b1c4
i18n: .xml should not overwrite .lua files if they are older
2008-12-14 11:54:36 +00:00
Steven Barth
a02f12cf2e
Compatbility with non-Debian distros
2008-12-09 21:02:52 +00:00
Jo-Philipp Wich
cbdc5af52e
build: generate timezone offsets too in zoneinfo2lua.pl
...
libs/http: drop zoneinfo information in luci.http.protocol.data, use luci.sys.zoneinfo instead
libs/sys: refresh zoneinfo information
2008-12-06 03:18:14 +00:00
Steven Barth
b33943a6e8
Merge LuCIttpd
2008-11-30 13:19:45 +00:00
Jo-Philipp Wich
0d00e3b691
* luci/build: add zoneinfo2lua.pl utility
2008-11-06 17:48:47 +00:00
Steven Barth
096ff29755
Tune cbi2uvl
2008-11-02 22:07:28 +00:00
Jo-Philipp Wich
1a830a559b
* luci/build: add uvl2cbi code gnerator and license foo
2008-10-23 02:23:54 +00:00
Jo-Philipp Wich
c4d59e0fe5
* luci/build: fix crash in uvl2i18n.lua when variable or section has no title
2008-09-25 14:25:02 +00:00
Jo-Philipp Wich
935d29415e
* luci/build: add uvl2i18n helper script
2008-09-25 11:54:49 +00:00
Steven Barth
402485bfcc
some BSD compatibility stuff
2008-09-24 22:02:11 +00:00
Steven Barth
d25d58bb4a
CBI2UVL: boolean is a datatype not a type
2008-09-11 21:45:11 +00:00
Steven Barth
c8ef012b3a
Completed first part of UVLDoc
2008-09-11 00:50:19 +00:00
Steven Barth
ed7362eed3
Added cbi2uvl converter
2008-09-03 12:16:46 +00:00
Jo-Philipp Wich
81a605e0fc
* luci/build: add extended xml->lua xslt, thanks Alina
2008-09-02 01:12:21 +00:00
Steven Barth
7cc8a68ba9
Fixed last commit
2008-09-01 19:28:06 +00:00
Steven Barth
95006a1f11
Added more reliable Lua2XML Converter for translations
2008-09-01 19:23:56 +00:00
Steven Barth
53871726b5
Pass $LDFLAGS while linking
2008-08-29 19:01:05 +00:00
Steven Barth
9c6a852939
Updated XML translation system, fixed some errors with multiline-translations
...
Thanks: Alina Friedrichsen
2008-08-22 17:18:36 +00:00
Jo-Philipp Wich
d1cda67d3f
* luci/build: fix bashism in module.mk
2008-08-19 23:28:46 +00:00
Steven Barth
8e4afe1210
Several escaping fixes
...
Updated XML translation system
Use the new Table widget for DHCP leases
2008-08-15 20:42:25 +00:00
Steven Barth
5941f334ff
Added XML -> Lua translation transform target to Makefiles
2008-08-15 15:50:43 +00:00
Steven Barth
8c3ee6f9b7
Added "apidocs" target to Makefile
...
contrib/luadoc: Added luadoc executable
libs: Fixed typos in inline documentation
2008-07-29 21:16:12 +00:00
Steven Barth
7384e0e6b7
Rewrote host environment targets to work out of the box
2008-07-24 13:55:11 +00:00
Steven Barth
3b7e4eaaf8
Added non-stripped debug target for LuCI
2008-07-19 10:27:23 +00:00
Jo-Philipp Wich
54e2e5ac39
* luci: fix stripping of certain multi line comments
2008-06-29 18:42:59 +00:00
Jo-Philipp Wich
ec297a5546
* luci: strip comments in source target
2008-06-29 18:36:43 +00:00
Steven Barth
3455ee6d8d
* Added support for htdocs module directory
2008-06-15 16:02:47 +00:00
Steven Barth
855b7582d3
* Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
...
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00
Steven Barth
64806f32be
* Made Makefiles attribute aware
2008-06-09 07:56:20 +00:00