i finally found some time for the channel history function. in keywords: channel history deque is now a circular buffer, mem leaks fixed, updating max_history_size from your js-module during runtime will be handled now, bugs 35 & 36 fixed, new: filter for chanhistory, chanhistory fixes, new: set/getflag for js srv module (CHANNEL_AUTODESTROY), new: permanent channels
as you can see i've already fixed bugs 35&36 ( http://ape-project.lighthouseapp.com/tickets ). these fix a nasty crash and a memory leak in ape. this is now a working version so from now any changes will be commited as new commits, no more recommits. check http://bit.ly/5QuGDn for the patch. to use the permanent channel feature you simply have to set the CHANNEL_AUTODESTROY (0x02) flag from your js server module on the channel, like: chan.setFlags(chan.getFlags() & ~0x02); // bitwise NOT AND will set the 0x02 flag where chan is a channel object. the channel will stay open afterwards, even if the last user left the channel. also the history is kept. feel free to comment about the patch. have fun with it, flip On 17 Jan., 22:25, flip <[email protected]> wrote: > it's still not the correct version in the commit. i will look at it > tomorrow when i have a quiet minute. > i'll also add a permanent channel function which makes sense with the > history function. > > flip
-- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
