Source

pecl-event / classes / buffer.c

Author Commit Message Labels Comments Date
Ruslan Osmanov
Renamed EventBuffer::remove to EventBuffer::read, EventBuffer::read now takes only max_bytes argument and returns string. Renamed EventBuffer::removeBuffer to EventBuffer::appendFrom EventBuffer::read now takes single argument 'size' and returns the string read
Ruslan Osmanov
Fix: forgotten arg of EventBuffer::write
Ruslan Osmanov
Don't freeze buffer on substr, since libevent has it's own blocking on the buffer in evbuffer_peek
Ruslan Osmanov
Add: EventBuffer::substr
Ruslan Osmanov
Fix: build error with zts php setup
Ruslan Osmanov
Refact: automatically set the upper bound of EventBuffer::search to the buffer length, if it is greater then the length
Ruslan Osmanov
Fix: address argument of the listener accept callback contained garbage in case of a client connected via UNIX domain socket Add: EventBuffer::write, EventUtil::setSocketOption methods and some constants
Ruslan Osmanov
Fix: EventBuffer::removeBuffer returned boolean instead of the number of bytes read
Ruslan Osmanov
Fix
Ruslan Osmanov
Add: EventUtil::getSocketName method Fix: possible memory access violation in EventBufferEvent methods when bevent ptr is not initialized
Ruslan Osmanov
Change: make EventBuffer::search/searchEol return FALSE if string not found(instead of -1)
Ruslan Osmanov
Refact Add: EventBuffer::searchEol
Ruslan Osmanov
Del: EventBufferPosition class and the stuff related to it
Ruslan Osmanov
Dev
Ruslan Osmanov
Fix: memory leak in EventBuffer::readLine
Ruslan Osmanov
Change: Event:: property removed; generic Event:: property added
Ruslan Osmanov
Doc
Ruslan Osmanov
Add: EventBufferEvent input and output properties (cached)
Ruslan Osmanov
Fix: had to dup string returned by EventBuffer::readLine
Ruslan Osmanov
del redundant arg in EventBuffer:readline
Ruslan Osmanov
Fix: non-static zend_always_inline function failed to compile with some (non-zts) php setups Change: static EventBuffer::addBuffer made non-static with one argument Add: EventBuffer expand, prepend, prependBuffer, drain, copyout, readLine, search, setPosition methods Add: EventBufferPosition class Fix: configure error in FreeBSD Add: OpenSSL support: EventBufferEvent methods: sslFilter, sslSocket, EventSslContext class Add: EventBuffer::pullup
Ruslan Osmanov
Add: EventBuffer::setPosition method Add: EventBufferPosition class
Ruslan Osmanov
Fix: non-static zend_always_inline function failed to compile with some (non-zts) php setups Change: static EventBuffer::addBuffer made non-static with one argument Add: EventBuffer expand, prepend, prependBuffer, drain, copyout, readLine, search methods
Ruslan Osmanov
Add: EventBufferEvent::$priority property Fix: event and bevent free methods
Ruslan Osmanov
Added some properties Moved some methods to properties
Ruslan Osmanov
Refact: separate dirs for classes and the main ext source Change: moved global EVENT_* constants to corresponding classes