event_callback.c: Don't delete and re-add the event if the timeout hasn't changed default tip

event_callback.c: Check for event being destroyed during callback

Merge with upstream

base/lua: fixes incorrectly recorded version and prepares a new release

base: adds distribution archive generation functionality to Makefile

base: removes direct dependency on liblua since Lua modules should not directly link master

docs: updates README and CHANGELOG with version notes and impending new tag

Merge remote branch 'jsnyder-tree/master'

Changes to compile on OS X.

base: noted in CHANGELOG pending 0.3.0 release

base: updates changelog w/ recent changes

lua: updates reported version details to reflect the mainline use

bufferevent learns to set watermarking using write-accessor functions rather than low-level access

bufferevent unlearns read access to low-level timeout/watermark properties that appear shouldn't be exposed

base: updated makefile to be a little more configurable, still needs much work

docs: adjusted to note that luaevent-prosody was merged into this WIP

Merge branch 'prosody-tree'

bufferevent compiler-flag fix regarding >= 2.0 ... must rebuild between 1.4 and 2.0 version builds

malloc.h -> stdlib.h (thanks nulani)

README, CHANGELOG: Update for luaevent-prosody 0.1.1

README: Note about dependency on libevent => 1.4

Makefile: Reduce optimisation to -O2 from -O3

luaevent.c: Fix potential overflow in converting seconds to timeval

Makefile: Remove debug flags from compilation/linking

CHANGELOG: Update for luaevent-prosody 0.1.0

README: Update to reflect fork release

test/basic.lua: Add simple script to load libevent, show version, etc.

luaevent.c: Fix for backwards-compatibility with 1.3

event_buffer.c: Silence warnings about uninitialized variable 'ret'

Update name and version to luaevent-prosody 0.1.0

premake.lua: Remove, as we now have a standard Makefile

buffer_event.c, event_buffer.c, luaevent.c: Remove redundant #includes.

buffer_event.h, event_buffer.h, event_callback.h: Remove sys/time.h, and other redundant #includes.

luaevent.h: sys/time.h is not available with MSVC, use winsock2.h on windows.

luaevent.c: Make ANSI C compatible.

Makefile: Make makefile a bit more generic

Makefile: Added basic Makefile for standard make

base:addevent(): Accept integer as fd parameter

Fix potential stack slot leak when error occurs

Add _NAME and _VERSION fields to module

Add core.libevent_version() function to get version of libevent in use

Add base:method() to return string identifying the current libevent backend in use

base:loopexit(): Support for specifying the timeout before exit

Add base:loopexit() method

event_callback: Fix stack slot leak

Merge branch 'v0.2' default/master default/mob mob

base: add patch to get luaevent working on mingw default/v0.2 v0.2

bufferevent got callback call fixed.

docs: Added enable/disable documentation for bufferevent

bufferevent learned enable/disable

bufferevent learned (get|set)_timeouts

bufferevent learned get_*_watermarks

bufferevent learned set_*_watermarks

docs: Learned bufferevent's new get_read/write

buffer_event learned get_read/get_write buffer accessors

buffer_event: Learned how to erase read/write buffer knowledge from Lua

buffer_event: removed magic numbers for read/write buffer locations

docs: Added remaining documentation for luaevent.core

doc: Update luaevent.core to contain docs on EV_* values

Added EV_SIGNAL and EV_PERSIST flags to the registered values

Added newline at end-of-file for API doc page

docs: Beginning of luaevent.core documentation

docs: Added documentation for bufferevent

docs: Fixed formatting glitches

Added EVBUFFER_* constants to luaevent.core

docs: Refactored 'file descriptor' reference

Added initial shot at documentation using Ikiwiki (only luaevent.core.buffer is really doc'ed yet)

Corrected spacing issues introduced in SciTE ... may begin using gvim to avoid these issues...

buffer_event is born, albeit w/ deformities. Can construct instances but not use, yet.

Exposed event_buffer checks/get/push operations in prep for buffer_event

Relocated the COROUTINE_MANAGEMENT document...

CHANGELOG updated w/ version date for v0.2.0

event_buffer: drain learned spec notes, get_data learned negative values, many tests written

Learned event_buffer tests and added failure for 'add' if no args passed.

Added lunit 0.4a from Michael Roth (author of Lua-sqlite3)

event_buffer learned how to read/write from/to sockets/file-descriptors

event_buffer learned to manage '#' and the __tostring metafield

event_buffer:add learned not to append to itself...

event_buffer learned readline and cleaned fn-list.

Documented event_buffer functions

event_buffer:get_data learned (len) and (begin,len) API

Quick compilation-fixes.

Updated changelog. event_buffer learned `get_data`,`length`,`drain`,`close`,`new`

Added event_buffer object + 'add' functionality

Added timertest. Prevented GC-ed events from causing an abort.

Fixed compilation issues

Added support for timeouts and timers.

Completely refactored event_callback creation out into event_callback.

Added missing license header

Beginning refactoring of the event_callback outside of the core

Unlearned get/setMainThread functions since they were unused.

Added preliminary git-ignore declaration file for this project.

Refactored luaevent.lua (unlearned borked fairness, collapsing useless code).

Removed no-longer-applicable 'Revision' numbers from CHANGELOG

Moved lua source into its own directory.

Update README w/ more project details.

Reformed project layout from 'luaevent/*' -> '*'

Updated readme w/ page & repo.

* Committing what will be version 0.1.2

Setup management of socket create/close.

Fixed up return-value handling.

Performed some refactoring...

Fixed the strange event error... it was adding events to a dead socket.

Reformatted changlog

Added changelog

Fixed stack overflow issue. (Forgot to pop error/integer)

* Added some cheap protection code for failures in callback

* Completed mostly working version

* Adjusted licensing and added README.

Initial commit:

(0) tip

mercurial