Steven Barth
1a4c192c65
More luci.util optimizations
2008-09-10 12:47:21 +00:00
Steven Barth
9e2759ec34
Optimized luci.util.class
2008-09-10 12:22:29 +00:00
Steven Barth
8dbf29e86e
Performance optimisations:
...
In-line expressions are faster than function calls
2008-09-09 12:44:41 +00:00
Steven Barth
8e00d27ae7
Removed unneeded exports
2008-09-06 09:58:32 +00:00
Steven Barth
40d4e839ef
Added bytecodecache
2008-09-05 23:24:39 +00:00
Steven Barth
4483ebd74d
Removed inefficient environment manipulation functions
2008-09-05 18:35:14 +00:00
Steven Barth
c1edac6ed0
libs/core: Added mising import for math module to luci.util
2008-09-01 11:10:06 +00:00
Steven Barth
ffd5c4ec65
General optimizations, simplifications and improvements
2008-08-29 23:26:01 +00:00
Steven Barth
8f03192ce4
Fixed luci.util.dumptable again
2008-08-28 18:57:34 +00:00
Steven Barth
8b28f46eea
Added maxdepth to luci.util.dumptable
2008-08-28 17:10:35 +00:00
Jo-Philipp Wich
af2cce3839
* luci/libs: util: little bugfix in serialize_data()
2008-08-28 16:44:10 +00:00
Jo-Philipp Wich
33ef3a1da2
* luci/libs: util: further enhancements to table serialisation
2008-08-28 16:40:51 +00:00
Jo-Philipp Wich
2975bb66a6
* luci/libs: util: improve table handling and support mixed tables in serialize_data()
2008-08-28 16:17:42 +00:00
Steven Barth
b3d63252e7
Fixed luci.util.dumptable
2008-08-28 16:16:51 +00:00
Steven Barth
ba22660cb8
libs/core: Add recursion detection to dumptable, serialize_data
...
Dumptable now writes to stderr
2008-08-28 15:50:27 +00:00
Steven Barth
0647fadb0a
libs/core: Add Pythonic string formatting syntax
2008-08-24 16:35:06 +00:00
Jo-Philipp Wich
ab71972c7e
* luci/libs: use pcdata() in striptags()
2008-08-20 16:55:10 +00:00
Jo-Philipp Wich
5b718fe88d
* luci/libs: add striptags() to luci.util
2008-08-20 16:40:25 +00:00
Jo-Philipp Wich
c7ba7f99b0
* luci/libs: add keys() to luci.util
2008-08-17 14:56:03 +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
2b0e8c6d7f
libs/core: Add luci.execi as memory efficient replacement for now deprecated luci.execl
2008-08-14 21:55:43 +00:00
Steven Barth
568441a441
libs/core: Added missing license information to coxpcall
2008-08-14 11:49:50 +00:00
Steven Barth
50093ed3d9
Moved luci.sys.libpath to luci.util
2008-08-06 20:20:40 +00:00
Steven Barth
76982655fa
Moved luci.sys.exec, luci.sys.execl and luci.sys.bigendian to luci.util
2008-08-06 20:11:15 +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
db4447af91
libs/core: Renamed luci.util.create_dtable => luci.util.dtable
2008-07-28 14:17:30 +00:00
Steven Barth
84ad4e3e21
libs/core: Add luci.util.create_dtable
2008-07-28 13:07:22 +00:00
Steven Barth
e5df13e80e
libs: Fixed serialization stuff
2008-07-26 17:24:46 +00:00
Jo-Philipp Wich
81cf9b0206
* luci/libs/core: strip bytecode from serialized data too in get_bytecode()
2008-07-26 00:30:22 +00:00
Jo-Philipp Wich
d240fb4d8c
* luci/libs/core: Oops... forgot the boolean datatype in serialize_data()
2008-07-26 00:08:43 +00:00
Steven Barth
714d722961
libs/core: Fixed some typos in the luci.util inline documentation
2008-07-25 11:47:20 +00:00
Jo-Philipp Wich
184b6e6dcc
* luci/libs/core: Small translation fix for get_bytecode()
2008-07-24 15:25:52 +00:00
Jo-Philipp Wich
1ff791f765
* luci/libd/core: Add serialize_data() and restore_data() to luci.util, use the new functions to permit the generation of bytecode for most data types. Translation fixes.
2008-07-24 15:23:38 +00:00
Steven Barth
7a08658fe7
libs/core: Fixed docstrings for luci.util
2008-07-23 14:29:31 +00:00
Jo-Philipp Wich
f10b0e58e2
* luci/libs/core: add inline documentation to luci.fs, style fixups in util.lua
2008-07-23 01:53:52 +00:00
Steven Barth
b4ac19ca76
libs/core: Fixed luci.utils, Added missing in-line documentation
2008-07-22 21:13:04 +00:00
Jo-Philipp Wich
70b119b8ee
* luci/libs/core: added inline documentation to luci.util, reordered and renamed functions to logical groups
...
* luci/libs/web: rename dump() to get_bytecode()
2008-07-22 20:33:04 +00:00
Steven Barth
33b8cf5506
libs/core: Add in-line documentation for luci.util.class
2008-07-22 14:40:53 +00:00
Steven Barth
2edc50aa43
libs/core: Fixed luci.util.split
2008-07-05 16:27:24 +00:00
Steven Barth
25089e49fd
* libs/core: Made luci.util.strip_bytecode forward-compatible to upcoming OpenWRT Lua-changes
2008-06-29 09:56:38 +00:00
Steven Barth
e0e4983130
* libs/httpd: Optimized performance
2008-06-25 18:09:53 +00:00
Steven Barth
1e413b9251
* libs/util: Fixed memory leaks in threadlocal implementations
2008-06-23 20:01:34 +00:00
Steven Barth
65870edf9f
* libs/core: Added garbage collector to luci.util.threadlocal to avoid memory leaks
...
* libs/http: Use env-Variables instead of headers for parse_message_body and subsequent functions
* libs/http: Added missing urldecode call for parsing urlencoded params
* libs/web: Ported luci.http to use ltn12 sources and sinks instead of sockets or file pointers
* libs/sgi-cgi, libs/sgi-webuci, libs/sgi-wsapi: Updated to work with new luci.http.Request ABI
2008-06-20 19:57:57 +00:00
Steven Barth
cb53f314f4
* Minor cleanups
2008-06-14 14:55:49 +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
Jo-Philipp Wich
4ad4a77b3d
* luci/core: add spairs(), kspairs() and vspairs() sorted hashtable iterator functions
2008-06-08 20:51:48 +00:00
Steven Barth
7d03f8ea8a
* Core translation
...
* Added license headers
* Splitted qos into separate application package
2008-06-08 08:14:31 +00:00
Steven Barth
9322801072
* Separated OLSR pages into separate application pack
...
* Minor bugfixes and enhancements
2008-06-06 15:50:21 +00:00
Jo-Philipp Wich
5c1fe0e544
* luci/core: util.lua: implement min(utes) in parse_units()
2008-06-03 19:12:32 +00:00
Jo-Philipp Wich
a29fb388f5
* luci/core: util.lua: added parse_units() helper function
2008-06-02 18:02:00 +00:00