Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-02-06 | parsers: fix stack overflow | Emil Renner Berthing | |
2013-02-06 | io: fix empty string skipping code | Emil Renner Berthing | |
2013-02-01 | io: skip empty strings in write methods | Emil Renner Berthing | |
2013-02-01 | README: refer to the example | Emil Renner Berthing | |
2013-02-01 | README: add chat server example | Emil Renner Berthing | |
2013-01-31 | io: flush file input buffer on seek | Emil Renner Berthing | |
2013-01-30 | http.server: smarter res:add() | Emil Renner Berthing | |
2013-01-30 | io: add io.streamfile() | Emil Renner Berthing | |
2013-01-30 | io: rework io.popen to use posix_spawn() | Emil Renner Berthing | |
..and accept 'rw' flag to make reading _and_ writing to the process' stdin and stdout possible. | |||
2013-01-29 | io: handle standard streams better | Emil Renner Berthing | |
Bash gets confused by non-blocking stdin, so set standard streams to non-blocking on __gc. FreeBSD errors when trying to set stdout non-blocking when it is redirected to /dev/null. So just silently ignore such errors. | |||
2013-01-29 | io: implement io.lines() and lines() methods | Emil Renner Berthing | |
2013-01-29 | io: fix filedescriptor leak on FreeBSD/OSX | Emil Renner Berthing | |
2013-01-28 | io: don't try to emulate TCP_CORK with TCP_NOPUSH | Emil Renner Berthing | |
OSX and some versions FreeBSD doesn't send data immediately after unsetting TCP_NOPUSH. On OSX if you set TCP_NOPUSH, write data and then unset TCP_NOPUSH you'll get a 2 second delay before the last data is sent. Unfortunately I've found no reliable work-around. | |||
2013-01-27 | http.server: add close() method | Emil Renner Berthing | |
2013-01-27 | io: set FD_CLOEXEC on all new filedescriptors | Emil Renner Berthing | |
2013-01-27 | io: add stream:getpeer() | Emil Renner Berthing | |
2013-01-27 | io: ignore protocol errors on accept | Emil Renner Berthing | |
2013-01-27 | io: try syscalls again on EINTR | Emil Renner Berthing | |
2013-01-27 | io: make accept() close fd after watch is stopped | Emil Renner Berthing | |
2013-01-26 | io: server cleanup | Emil Renner Berthing | |
2013-01-26 | io: don't do reverse dns lookup on connect/listen | Emil Renner Berthing | |
This basically reverts commit 62c631fd7d5d5c66694af9266688851ac442508a | |||
2013-01-26 | repl: add missing line separator | Emil Renner Berthing | |
2013-01-26 | http: fix req:body() with Expect: 100-continue | Emil Renner Berthing | |
2013-01-24 | http: allow whitespace after HTTP and / | Emil Renner Berthing | |
This allows for requests like GET /index.html HTTP / 1.1 but still doesn't allow GET /index.html HTTP / 1 . 1 which is actually valid HTTP. However this change is basically free. | |||
2013-01-24 | http: header names are case-insensitive | Emil Renner Berthing | |
..so make the parser lower-case header names | |||
2013-01-22 | io: add optional 3rd permission arg to io.open() | Emil Renner Berthing | |
2013-01-22 | PKGBUILD: update license | Emil Renner Berthing | |
..and add dependencies for linking against different Lua engines. | |||
2013-01-21 | io: add mode argument to io.unix.listen() | Emil Renner Berthing | |
2013-01-21 | http.server: add more HTTP status codes | Halfdan Mouritzen | |
2013-01-20 | io: don't close stdin, stdout and stderr on __gc() | Emil Renner Berthing | |
2013-01-20 | io: always create stdin, stderr and stdout | Emil Renner Berthing | |
2013-01-18 | lem: don't rely LUA_LDIR for repl path | Emil Renner Berthing | |
2013-01-18 | README: update and delete outdated library documentation | Emil Renner Berthing | |
2013-01-18 | configure: the builtin Lua 5.2 has luaL_traceback() | Emil Renner Berthing | |
2013-01-17 | lem: unbreak build against plain Lua 5.1 | Emil Renner Berthing | |
2013-01-16 | lem: print stack trace on error | Emil Renner Berthing | |
..and clean up error messages. | |||
2013-01-16 | lem: if no file is specified run the repl | Emil Renner Berthing | |
2013-01-15 | hathaway: support preinitialized sockets | Emil Renner Berthing | |
2013-01-15 | http.server: ignore cork/uncork errors | Emil Renner Berthing | |
2013-01-14 | configure: allow any pkg-config name for Lua/LuaJIT | Emil Renner Berthing | |
2013-01-12 | io: use memcpy to copy unix socket path | Emil Renner Berthing | |
This allows for unix sockets in the abstract namespace on Linux. Eg.: local conn, err = io.unix.connect('\0/org/freedesktop/systemd1/notify') | |||
2013-01-12 | io: add support for unix sockets | Emil Renner Berthing | |
2013-01-12 | io: fix memory leak in tcp_listen_reap() | Emil Renner Berthing | |
2013-01-11 | Re-license as LGPL | Emil Renner Berthing | |
Acked-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | |||
2013-01-10 | parsers: split out from io library | Emil Renner Berthing | |
2013-01-10 | io: add lem_inputbuf_init() helper | Emil Renner Berthing | |
2013-01-10 | io: fix race and don't close fd twice | Emil Renner Berthing | |
2013-01-09 | io: use flag to signal stream closed | Emil Renner Berthing | |
2013-01-09 | io: allow simultaneous sendfile on the same file | Emil Renner Berthing | |
2013-01-09 | http.server: add bad_request() and expose htmlerror() | Emil Renner Berthing | |