search for: lauxlib

Displaying 15 results from an estimated 15 matches for "lauxlib".

2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
...akefile-orig | 182 - com32/lua/src/cpu.c | 6 +- com32/lua/src/dhcp.c | 4 +- com32/lua/src/dmi.c | 16 +- com32/lua/src/lapi.c | 867 ++-- com32/lua/src/lapi.h | 14 +- com32/lua/src/lauxlib.c | 947 ++-- com32/lua/src/lauxlib.h | 126 +- com32/lua/src/lbaselib.c | 567 +-- com32/lua/src/lbitlib.c | 211 + com32/lua/src/lcode.c | 404 +- com32/lua/src/lcode.h | 21 +- com32/lua/src/lcoro...
2009 Aug 29
2
Asterisk 1.6.0.14 and 1.6.1.5 Now Available
The Asterisk Development Team is pleased to announce the release of Asterisk 1.6.0.14 and 1.6.1.5. Asterisk 1.6.0.14 and 1.6.1.5 are available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk/ Asterisk 1.6.0.14 is the first full, non-security release since 1.6.0.10. The release candidate 1.6.0.11-rc1 was redone as 1.6.0.14-rc1 (which this release has been created
2009 Aug 29
2
Asterisk 1.6.0.14 and 1.6.1.5 Now Available
The Asterisk Development Team is pleased to announce the release of Asterisk 1.6.0.14 and 1.6.1.5. Asterisk 1.6.0.14 and 1.6.1.5 are available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk/ Asterisk 1.6.0.14 is the first full, non-security release since 1.6.0.10. The release candidate 1.6.0.11-rc1 was redone as 1.6.0.14-rc1 (which this release has been created
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
.../src/liolib.c | 40 +++++++++++++++++++++++++++++----------- 1 files changed, 29 insertions(+), 11 deletions(-) diff --git a/com32/lua/src/liolib.c b/com32/lua/src/liolib.c index 3f27395..cf9dca2 100644 --- a/com32/lua/src/liolib.c +++ b/com32/lua/src/liolib.c @@ -18,12 +18,18 @@ #include "lauxlib.h" #include "lualib.h" - +#ifdef SYSLINUX + #define NO_TMP_FILE 1 + #define NO_READ_NUMBER 1 + #define NO_TEST_EOF 1 + #define NO_CLEAR_ERR 1 + #define NO_F_SEEK 1 + #define NO_F_SETVBUF 1 +#endif #define IO_INPUT 1 #define IO_OUTPUT 2 - static...
2013 Oct 15
0
Upgrade to Lua 5.2.2, add filesystem module and get_key binding
...- > com32/lua/src/cpu.c | 6 +- > com32/lua/src/dhcp.c | 4 +- > com32/lua/src/dmi.c | 16 +- > com32/lua/src/lapi.c | 867 ++-- > com32/lua/src/lapi.h | 14 +- > com32/lua/src/lauxlib.c | 947 ++-- > com32/lua/src/lauxlib.h | 126 +- > com32/lua/src/lbaselib.c | 567 +-- > com32/lua/src/lbitlib.c | 211 + > com32/lua/src/lcode.c | 404 +- > com32/lua/src/lcode.h | 2...
2014 Mar 02
3
pull request: upgrade to Lua 5.2.3, automatic Linux boot menu and cmenu binding
...u.c | 90 + com32/lua/src/cpu.c | 6 +- com32/lua/src/dhcp.c | 4 +- com32/lua/src/dmi.c | 16 +- com32/lua/src/lapi.c | 867 ++++--- com32/lua/src/lapi.h | 14 +- com32/lua/src/lauxlib.c | 947 ++++--- com32/lua/src/lauxlib.h | 126 +- com32/lua/src/lbaselib.c | 567 ++--- com32/lua/src/lbitlib.c | 212 ++ com32/lua/src/lcode.c | 404 +-- com32/lua/src/lcode.h | 21 +- com32/lua/sr...
2014 Nov 28
2
[PATCH] Add ldisk.c32 Lua module
...e <disk/bootloaders.h> +#include <disk/errno_disk.h> +#include <disk/error.h> +#include <disk/mbrs.h> +#include <disk/msdos.h> +#include <disk/partition.h> +#include <disk/swsusp.h> +#include <disk/read.h> + +#include "lua.h" +#include "lauxlib.h" +#include "lualib.h" + +#define SET_TABLE_STRING_INT(state, key, value) do {\ + lua_pushstring((state), (key));\ + lua_pushinteger((state), (value));\ + lua_settable((state), -3);\ +} while(0); + +#define SET_TABLE_STRING_STRING(state, key, value) do {\ + lua_pushstring((state...
2009 Aug 31
0
asterisk-users Digest, Vol 61, Issue 85
...pbx_lua.c.orig pbx/pbx_lua.c --- pbx/pbx_lua.c.orig 2009-08-29 14:39:46.000000000 -0500 +++ pbx/pbx_lua.c 2009-08-29 14:40:20.000000000 -0500 @@ -42,9 +42,9 @@ #include "asterisk/paths.h" #include "asterisk/hashtab.h" -#include <lua5.1/lua.h> -#include <lua5.1/lauxlib.h> -#include <lua5.1/lualib.h> +#include <lua.h> +#include <lauxlib.h> +#include <lualib.h> static char *config = "extensions.lua"; static char *registrar = "pbx_lua"; [root at hoho4 asterisk-1.6.1.5]# On Sat, 2009-08-29 at 12:01 -0400, Asteri...
2012 Dec 13
3
Lua improvements
Here are a few patches I applied to get the Lua bindings to build correctly with different versions of Lua. I am not particularly happy with generating all the test scripts just for the shebang line. Since it has been a while since I had to edit autoconf/automake, this was the best I could come up with. Cheers, -Hilko
2013 Oct 03
0
Automatic boot menu?
...$Id: lfs.c,v 1.61 2009/07/04 02:10:16 mascarenhas Exp $ +*/ + +#include <dirent.h> +#include <errno.h> +#include <fcntl.h> +#include <string.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> + +#include "lua.h" +#include "lauxlib.h" +#include "lualib.h" + +#define chdir_error strerror(errno) + +#define LFS_LIBNAME "lfs" + +/* Size of path buffer string, stolen from pwd.c */ +#ifndef PATH_MAX +# ifdef NAME_MAX +# define PATH_MAX NAME_MAX +# elif FILENAME_MAX +# define PATH_MAX FILENAME_MA...
2006 May 01
6
[PATCH] Use stddef.h in Mini-OS to define size_t
Please patch Mini-OS so that it uses stddef.h to define size_t and NULL. This problem fixes errors that occur when linking Mini-OS with ANSI standard code that uses stddef.h. John diff -ur oxen-3.0-testing/extras/mini-os/include/lib.h nxen-3.0-testing/extras/mini-os/include/lib.h --- oxen-3.0-testing/extras/mini-os/include/lib.h 2006-04-14 22:21:55.000000000 -0400 +++
2013 Aug 30
2
Automatic boot menu?
"H. Peter Anvin" <hpa at zytor.com> writes: > On 08/29/2013 04:14 AM, Ferenc Wagner wrote: > >> "H. Peter Anvin" <hpa at zytor.com> writes: >> >>> On 08/22/2013 10:20 AM, Ferenc Wagner wrote: >>> >>>> Now that Syslinux has ls.c32 and lua.c32, it should be possible to build >>>> a customizable boot menu in
2011 Oct 04
1
Added DHCPINFO Tables to the lua.c32 Implementation - syslinux-4.04
...n 6) + * will not return with .sub key values. + * + * Usage: + t = dhcp.gettable() + + for k,v in pairs(t) do + print(k.." : "..v) + end + */ + +#include <stdio.h> +#include "dhcp.h" +#include "lua.h" +#include "lauxlib.h" +#include "lualib.h" +#include <syslinux/pxe.h> + +#define STR_BUF_SIZE 129 /* Sized to accomdate File field in BOOTP message */ + +void +ip_address_list(lua_State *L, uint8_t* value, uint8_t len, uint8_t option ) +{ + static char op_name[64]; + static char op_val...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...0.01 57413 0 0.01 57413 Lalignmm.ll 6 255613 0 0.03 255598 0 0.04 255598 lalr.ll 17 114241 0 0.02 114215 0 0.02 114943 lambda.ll 3 52003 0 0.01 51978 0 0.01 51978 lame.ll 13 261262 0 0.03 261231 0 0.03 261231 lapi.ll 74 242562 0 0.03 242547 0 0.03 242547 laplace.ll 1 30865 0 0.01 30838 0 0.01 30838 lauxlib.ll 43 110129 0 0.02 110114 0 0.02 110114 layer3.ll 13 435128 0 0.04 435097 0 0.04 435097 lbaselib.ll 43 99233 0 0.02 99218 0 0.02 99218 L_canny.ll 5 57717 0 0.02 57695 0 0.02 57695 lcode.ll 56 172913 0 0.02 172898 0 0.03 172898 ldblib.ll 24 83768 0 0.02 83753 0 0.02 83753 ldebug.ll 32 162976 0 0.02...