For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > [ANNOUNCEMENT] Net_SmartIRC-1.0.0 (stable) Released.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [ANNOUNCEMENT] Net_SmartIRC-1.0.0 (stable) Released.
PEAR Announce

2005-05-28, 3:57 am

The new PEAR package Net_SmartIRC-1.0.0 (stable) has been released at http://pear.php.net/.

Release notes
-------------
v1.0.0:
-------
Released as 1.0.0 because current PEAR rule require this for stable
packages, there are _no_ big changes in this release!

fixes:
- renamed Net_SmartIRC_base::Net_SmartIRC to
Net_SmartIRC_base::Net_SmartIRC_base
a PHP4 bug made it work, in PHP5 its fixed and doesn't
(closes PEAR bug #1466, sf.net patch #967067)
- fixed a bug in _rawreceive()
the parser checked if he found a colon (messagepart) but +1 was added, the
check never worked right (I found this bug while porting SmartIRC to C#)
- fixed bug in _gettype()
the regexs was too sloppy, sometimes it got , this can break easily
the ChannelSync code.
- fixed bug in _event_rpl_whoreply()
on some IRC networks, the channel info in who replies can't be used, they
return sometimes random channels, this can break ChannelSync code.
- fixed include paths in example scripts (closes PEAR bug #2042)

changes:
- applied load socket extension patch (sf.net patch #911993) from
Anatoly Techtonik <techtonik@users.sourceforge.net>
if the socket extension is not loaded, it will now try to load it for *nix
and windows.

new:
- added objListenFor() method
it works like listenFor() but returns an array of the received ircdata
objects (not just ircdata->message like listenFor() does)


Package Info
-------------
Net_SmartIRC is a PHP class for communication with IRC networks,
which conforms to the RFC 2812 (IRC protocol).
It's an API that handles all IRC protocol messages.
This class is designed for creating IRC bots, chats and show irc related info on webpages.

Full featurelist of Net_SmartIRC
-------------------------------------
- full object oriented programmed
- every received IRC message is parsed into an ircdata object
(it contains following info: from, nick, ident, host, channel, message, type, rawmessage)
- actionhandler for the API
on different types of messages (channel/notice/query/kick/join..) callbacks can be registered
- messagehandler for the API
class based messagehandling, using IRC reply codes
- time events
callbacks to methods in intervals
- send/receive floodprotection
- detects and changes nickname on nickname collisions
- autoreconnect, if connection is lost
- autoretry for connecting to IRC servers
- debugging/logging system with log levels (destination can be file, stdout, syslog or browserout)
- supports fsocks and PHP socket extension
- supports PHP 4.1.x to 4.3.2 (also PHP 5.0.0b1)
- sendbuffer with a queue that has 3 priority levels (high, medium, low) plus a bypass level (critical)
- channel syncing (tracking of users/modes/topic etc in objects)
- user syncing (tracking the user in channels, nick/ident/host/realname/server/hopcount in objects)
- when channel syncing is acticated the following functions are available:
isJoined
isOpped
isVoiced
isBanned
- on reconnect all joined channels will be rejoined, also when keys are used
- own CTCP version reply can be set
- IRC commands:
pass
op
deop
voice
devoice
ban
unban
join
part
action
message
notice
query
ctcp
mode
topic
nick
invite
list
names
kick
who
whois
whowas
quit


Related Links
-------------
Package home: http://pear.php.net/package/Net_SmartIRC
Changelog: http://pear.php.net/package/Net_SmartIRC/download/1.0.0
Download: http://pear.php.net/get/Net_SmartIRC-1.0.0.tgz

Authors
-------------
Mirco Bauer <meebey@php.net> (lead)
CHAILLAN Nicolas <nicos@php.net> (contributor)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com