Mercurial > pidgin
view plugins/tcl/signal-test.tcl @ 8212:ad164c1ca79d
[gaim-migrate @ 8935]
a yahoo web auth fix from marv that i debated whether to commit or not (as
he did as well apparently fromt he message he left in the patch post) ;-)
also:
" Here's a large zephyr fix, tested against current CVS
and also 0.75. It does thie following:
Support a few additional zephyr formatting "@" tags,
Using the gaim_chat_set_topic function to allow the
user to set the instance that a zephyr is being sent to.
Listing people in chats (really, the zephyr protocol
doesn't allow for this, but I faked it by seeing who
has sent to a class).
Added proto options allowing for: setting the zephyr
exposure (currently, just by entering the correct text
string), and setting whether you want gaim to export
to .zephyr.subs , and .anyone (buddy list).
You also can add and remove buddies from within gaim.
It also fixes a minor (but annoying bug), where random
buffer garbage is sent with the zephyr, as an
additional zephyr field." --Arun (att) A Tharuvai
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 05 Feb 2004 16:28:51 +0000 |
parents | e280d73ed07f |
children | 8f838ae3e710 |
line wrap: on
line source
gaim::signal connect [gaim::account handle] account-away { account state message } { gaim::debug -info "tcl signal" "account-away [gaim::account username $account] \"$state\" \"$message\"" } gaim::signal connect [gaim::account handle] account-connecting { account } { gaim::debug -info "tcl signal" "account-connecting [gaim::account username $account]" } gaim::signal connect [gaim::account handle] account-set-info { account info } { gaim::debug -info "tcl signal" "account-set-info [gaim::account username $account] $info" } gaim::signal connect [gaim::account handle] account-setting-info { account info } { gaim::debug -info "tcl signal" "account-set-info [gaim::account username $account] $info" } gaim::signal connect [gaim::account handle] account-warned { account who level } { gaim::debug -info "tcl signal" "account-warned [gaim::account username $account] $who $level" } gaim::signal connect [gaim::buddy handle] buddy-away { buddy } { gaim::debug -info "tcl signal" "buddy-away [gaim::account username [lindex $buddy 2]] [lindex $buddy 1]" } gaim::signal connect [gaim::buddy handle] buddy-back { buddy } { gaim::debug -info "tcl signal" "buddy-back [gaim::account username [lindex $buddy 2]] [lindex $buddy 1]" } gaim::signal connect [gaim::buddy handle] buddy-idle { buddy } { gaim::debug -info "tcl signal" "buddy-idle [gaim::account username [lindex $buddy 2]] [lindex $buddy 1]" } gaim::signal connect [gaim::buddy handle] buddy-unidle { buddy } { gaim::debug -info "tcl signal" "buddy-unidle [gaim::account username [lindex $buddy 2]] [lindex $buddy 1]" } gaim::signal connect [gaim::buddy handle] buddy-signed-on { buddy } { gaim::debug -info "tcl signal" "buddy-signed-on [gaim::account username [lindex $buddy 2]] [lindex $buddy 1]" } gaim::signal connect [gaim::buddy handle] buddy-signed-off { buddy } { gaim::debug -info "tcl signal" "buddy-signed-off [gaim::account username [lindex $buddy 2]] [lindex $buddy 1]" } gaim::signal connect [gaim::core handle] quitting {} { gaim::debug -info "tcl signal" "quitting" } gaim::signal connect [gaim::conversation handle] received-chat-msg { account who what id } { gaim::debug -info "tcl signal" "received-chat-msg [gaim::account username $account] $id $who \"$what\"" return 0 } gaim::signal connect [gaim::conversation handle] received-im-msg { account who what flags } { gaim::debug -info "tcl signal" "received-im-msg [gaim::account username $account] $flags $who \"$what\"" return 0 } gaim::signal connect [gaim::conversation handle] sending-chat-msg { account what id } { gaim::debug -info "tcl signal" "sending-chat-msg [gaim::account username $account] $id \"$what\"" return 0 } gaim::signal connect [gaim::conversation handle] sending-im-msg { account who what } { gaim::debug -info "tcl signal" "sending-im-msg [gaim::account username $account] $who \"$what\"" return 0 } gaim::signal connect [gaim::conversation handle] sent-chat-msg { account id what } { gaim::debug -info "tcl signal" "sent-chat-msg [gaim::account username $account] $id \"$what\"" } gaim::signal connect [gaim::conversation handle] sent-im-msg { account who what } { gaim::debug -info "tcl signal" "sent-im-msg [gaim::account username $account] $who \"$what\"" } gaim::signal connect [gaim::connection handle] signed-on { gc } { gaim::debug -info "tcl signal" "signed-on [gaim::account username [gaim::connection account $gc]]" } gaim::signal connect [gaim::connection handle] signed-off { gc } { gaim::debug -info "tcl signal" "signed-off [gaim::account username [gaim::connection account $gc]]" } gaim::signal connect [gaim::connection handle] signing-on { gc } { gaim::debug -info "tcl signal" "signing-on [gaim::account username [gaim::connection account $gc]]" } if { 0 } { gaim::signal connect signing-off { gaim::debug -info "tcl signal" "signing-off [gaim::account username [gaim::connection account $event::gc]]" } gaim::signal connect update-idle { gaim::debug -info "tcl signal" "update-idle" } } proc plugin_init { } { list "Tcl Signal Test" \ "$gaim::version" \ "Tests Tcl signal handlers" \ "Debugs a ridiculous amount of signal information." \ "Ethan Blanton <eblanton@cs.purdue.edu>" \ "http://gaim.sourceforge.net/" }