summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-07-30mark oom() as noreturnHEADmasterfix-stdoutAsbjørn Sloth Tønnesen
bin/lem.c: In function ‘runqueue_pop’: bin/lem.c:306:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 306 | oom(); | ^~~~~ bin/lem.c:308:2: note: here 308 | default: /* this shouldn't happen */ | ^~~~~~~ bin/lem.c: In function ‘queue_file’: bin/lem.c:335:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 335 | oom(); | ^~~~~ bin/lem.c:337:2: note: here 337 | default: | ^~~~~~~ Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2020-07-30override Lua print() with lem.io.print()Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2020-07-30lem.io: add print()Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2020-07-30lem.io: add :print() mirroring Lua print()Asbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2020-07-22make lem_debug() non-blocking stdout tolerantAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2017-04-26signal: kill warningAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2017-04-26configure.ac: add option for using shared libevAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2017-04-26http: server: body: add maxsize argumentAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2016-01-21http.server: use %H:%M:%S instead of %T in os.date()Kristian Nielsen
(%T is not in ISO C).
2016-01-21Rename test/htest.lua -> test/hathawaytest.luaDavid Fotel
2016-01-08README: the test scripts also serve as examplesDavid Fotel
2016-01-08Lua 5.3.2Emil Renner Berthing
2016-01-08libev: update to v4.22Emil Renner Berthing
2016-01-08Update auxiliary autoconf filesEmil Renner Berthing
2016-01-08Drop backwards compatibility with Lua < 5.2Emil Renner Berthing
..and LuaJIT
2016-01-08signal: sigchld: export pid informationAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
2016-01-08ev-config.h.in: remove superfluous 0Emil Renner Berthing
2016-01-08io: fix Linux include and UNIX_PATH_MAX fallbackRalph
This makes it easier to compile against other C libraries than glibc.
2016-01-07io: interrupt streams on closeEmil Renner Berthing
2013-12-08Lua 5.2.3Emil Renner Berthing
2013-11-21fix pragmas for old GCCsEmil Renner Berthing
2013-11-11signal: fix compilation on OSXEmil Renner Berthing
2013-11-11suppress libev strict-aliasing warningsAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk>
2013-11-11signal: add support for looking up signals by numberAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk>
2013-11-11signal: add testAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk>
2013-11-11signal: handle sigchild separatelyAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk>
2013-11-11signal: add signal lookupAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk>
2013-11-11signal: initial signal handlingAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> Signed-off-by: Emil Renner Berthing <esmil@mailme.dk>
2013-09-18use CFLAGS, CPPFLAGS and LDFLAGS properlyEmil Renner Berthing
2013-08-27add built-time assertionsEmil Renner Berthing
2013-08-27parsers: give parsers a set amount of space for stateEmil Renner Berthing
..and don't try to cram all parser states into the same struct.
2013-08-27http.server: fix typoAsbjørn Sloth Tønnesen
Introduced in: > commit e7f888ccadce6ec68a6da783282bb342785d763d > Author: Emil Renner Berthing <esmil@mailme.dk> > Date: Mon Aug 19 01:10:11 2013 +0200 > > http: factor out response module Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.dk>
2013-08-26pool: better APIEmil Renner Berthing
The thread pool doesn't actually need the Lua thread, so let the callers handle that. Also if we don't care about the return allow the reaper function to be NULL and automatically free the lem_async struct when the worker is done.
2013-08-22hathaway: htest: fix single instance API usageAsbjørn Sloth Tønnesen
When using the single instance API hathaway.debug MUST be overwritten before calling import in order to have any effect. Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
2013-08-22hathaway: support multiple instancesAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
2013-08-21hathaway: remove unnecessary scope indentationAsbjørn Sloth Tønnesen
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
2013-08-21http: move Request and Response objects outEmil Renner Berthing
..to http.server and http.client modules respectively, and don't tie them to the parser.
2013-08-21http.server: remove useless do .. end blockEmil Renner Berthing
2013-08-21http: factor out response moduleEmil Renner Berthing
2013-08-21io: add io.fromfd()Emil Renner Berthing
2013-08-19io: don't open files with O_NONBLOCKEmil Renner Berthing
2013-08-16Makefile.in: fix dependenciesEmil Renner Berthing
2013-08-03io: fix file:close() and file:__gc() blockingEmil Renner Berthing
2013-06-08set EV_SIGNAL_ENABLE and EV_CHILD_ENABLEEmil Renner Berthing
to prepare for upcoming signal library and reap child processes even when EV_CHILD_ENABLE is not set
2013-06-08http.client: addedEmil Renner Berthing
2013-06-08io: return stream, pid from io.popen()Emil Renner Berthing
2013-06-08io: fix memory leak on error in io.popen()Emil Renner Berthing
2013-06-08lem: use reguler ints for queue indexesEmil Renner Berthing
2013-06-08queue: add blocking multiple producer/consumer queueEmil Renner Berthing
2013-06-08fix compilation with EV_MULTIPLICITY setEmil Renner Berthing