rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
hops = Number(ary[1]); desc = toUnicode(ary[2], this); | var status; if (e.user.isAway) status = MSG_GONE; else status = MSG_HERE; this.display(getMsg(MSG_WHO_MATCH, [e.params[6], e.params[3], e.params[4], e.user.desc, status, e.decodeParam(2), e.params[5], e.user.hops]), e.code, e.user); | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var length = e.params.length; var ary = e.params[length - 1].match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = toUnic... |
else { desc = e.decodeParam(length - 1); } var status = e.params[7]; if (e.params[7][0] == "G") status = MSG_GONE; else if (e.params[7][0] == "H") status = MSG_HERE; e.user.display(getMsg(MSG_WHO_MATCH, [e.params[6], e.params[3], e.params[4], desc, status, e.decodeParam(2), e.params[5], hops]), e.code, e.user); updat... | updateTitle(e.user); | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var length = e.params.length; var ary = e.params[length - 1].match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = toUnic... |
if (!("whoUpdates" in this)) this.whoUpdates = new Object(); if (e.userHasChanges) { for (var c in e.server.channels) { var chan = e.server.channels[c]; if (chan.active && (e.user.canonicalName in chan.users)) { if (!(c in this.whoUpdates)) this.whoUpdates[c] = new Array(); this.whoUpdates[c].push(chan.users[e.user.ca... | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var length = e.params.length; var ary = e.params[length - 1].match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = toUnic... | |
if (e.params[7] == "G") | if (e.params[7][0] == "G") | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var length = e.params.length; var ary = e.params[length - 1].match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = toUnic... |
else if (e.params[7] == "H") | else if (e.params[7][0] == "H") | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var length = e.params.length; var ary = e.params[length - 1].match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = toUnic... |
var ary = e.meat.match(/(\d+)\s(.*)/); | var length = e.params.length; var ary = e.params[length - 1].match(/(\d+)\s(.*)/); | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var ary = e.meat.match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = ary[2]; } else { desc = e.meat; } ... |
desc = e.meat; | desc = e.params[length - 1]; | function my_352 (e){ //0-352 1-rginda_ 2-#chatzilla 3-chatzilla 4-h-64-236-139-254.aoltw.net //5-irc.mozilla.org 6-rginda 7-H var desc; var hops = "?"; var ary = e.meat.match(/(\d+)\s(.*)/); if (ary) { hops = Number(ary[1]); desc = ary[2]; } else { desc = e.meat; } ... |
this.addUsers(updates); | function my_366 (e){ if (client.currentObject == this) /* hide the tree while we add (possibly tons) of nodes */ client.rdf.setTreeRoot("user-list", client.rdf.resNullChan); client.rdf.clearTargets(this.getGraphResource(), client.rdf.resChanUser); for (var u in this.users) { thi... | |
if ("pendingNamesReply" in e.channel) { display (e.params[3], "366"); e.channel.pendingNamesReply = false; | if ("pendingNamesReply" in client.currentObject) { display (e.channel.unicodeName + ": " + e.params[3], "366"); client.currentObject.pendingNamesReply = false; | function my_366 (e){ if (client.currentObject == this) /* hide the tree while we add (possibly tons) of nodes */ client.rdf.setTreeRoot("user-list", client.rdf.resNullChan); client.rdf.clearTargets(this.getGraphResource(), client.rdf.resChanUser); for (var u in this.users) { thi... |
display (e.meat, "366"); | display (e.params[3], "366"); | function my_366 (e){ if (client.currentObject == this) /* hide the tree while we add (possibly tons) of nodes */ client.rdf.setTreeRoot("user-list", client.rdf.resNullChan); client.rdf.clearTargets(this.getGraphResource(), client.rdf.resChanUser); for (var u in this.users) { thi... |
if (!("messages" in this)) { this.display (getMsg("cli_ijoinMsg3", this.unicodeName), "INFO"); } | function my_cjoin (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", e.server.me, this); setCurrentObject(this); } else this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, ... | |
if ("joinTimer" in this) { clearTimeout(this.joinTimer); delete this.joinTimer; this.busy = false; updateProgress(); } | function my_cjoin (e){ if (!("messages" in this)) this.displayHere(getMsg(MSG_CHANNEL_OPENED, this.unicodeName), MT_INFO); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN", e.server.me, this); client.globalHistory.addPage... | |
setCurrentObject(e.channel); | dispatch("set-current-view", { view: e.channel }); | function my_cjoin (e){ if (!("messages" in this)) this.displayHere(getMsg(MSG_CHANNEL_OPENED, this.unicodeName), MT_INFO); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN", e.server.me, this); client.globalHistory.addPage... |
[e.user.properNick, e.user.name, e.user.host, | [e.user.unicodeName, e.user.name, e.user.host, | function my_cjoin (e){ if (!("messages" in this)) this.displayHere(getMsg(MSG_CHANNEL_OPENED, this.unicodeName), MT_INFO); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN", e.server.me, this); client.globalHistory.addPage... |
this._addUserToGraph (e.user); | this._addUserToGraph(e.user); if (!userIsMe(e.user)) this.addUsers([e.user]); | function my_cjoin (e){ if (!("messages" in this)) this.displayHere(getMsg(MSG_CHANNEL_OPENED, this.unicodeName), MT_INFO); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN", e.server.me, this); client.globalHistory.addPage... |
updateChannel (e.channel); | function my_cjoin (e){ if (userIsMe (e.user)) this.display ("YOU have joined " + e.channel.name, "JOIN", "!ME"); else this.display(e.user.properNick + " (" + e.user.name + "@" + e.user.host + ") has joined " + e.channel.name, "JOIN", e.user.nick); var ary =... | |
updateUserList() | function my_cjoin (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cjoinMsg", e.channel.unicodeName), "JOIN", e.server.me, this); setCurrentObject(this); } else { this.display(getMsg("my_cjoinmsg2", [e.user.properNick, e.user.name, ... | |
this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); | if (e.user) { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.unicodeName, e.reason]), "KICK", e.user, this); } else { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, MSG_SERVER, e.reason]), "KICK", (void 0), this); } | function my_ckick (e){ if (userIsMe (e.lamer)) { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); /* Try 1 re-join attempt if allowed. */ if ... |
if (userIsMe (e.user)) | if (e.user && userIsMe(e.user)) | function my_ckick (e){ if (userIsMe (e.lamer)) { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); /* Try 1 re-join attempt if allowed. */ if ... |
enforcerProper = e.user.properNick; enforcerNick = e.user.nick; | enforcerProper = MSG_SERVER; enforcerNick = MSG_SERVER; | function my_ckick (e){ if (userIsMe (e.lamer)) { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); /* Try 1 re-join attempt if allowed. */ if ... |
[e.lamer.properNick, e.channel.unicodeName, | [e.lamer.unicodeName, e.channel.unicodeName, | function my_ckick (e){ if (userIsMe (e.lamer)) { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); /* Try 1 re-join attempt if allowed. */ if ... |
this.removeUsers([e.lamer]); | function my_ckick (e){ if (userIsMe (e.lamer)) { this.display (getMsg(MSG_YOURE_GONE, [e.channel.unicodeName, e.user.properNick, e.reason]), "KICK", e.user, this); /* Try 1 re-join attempt if allowed. */ if ... | |
updateChannel (e.channel); | function my_ckick (e){ if (userIsMe (e.lamer)) this.display ("YOU have been booted from " + e.channel.name + " by " + e.user.properNick + " (" + e.reason + ")", "KICK", e.user.nick); else { var enforcerProper, enforcerNick; if (userIsMe (e.user)) ... | |
var msg = e.decodeParam(1) + " " + e.params.slice(2).join(" "); this.display (getMsg(MSG_MODE_CHANGED, [msg, e.user.properNick]), | var msg = e.decodeParam(1); for (var i = 2; i < e.params.length; i++) msg += " " + e.decodeParam(i); this.display (getMsg(MSG_MODE_CHANGED, [msg, e.user.unicodeName]), | function my_cmode (e){ if ("user" in e) { var msg = e.decodeParam(1) + " " + e.params.slice(2).join(" "); this.display (getMsg(MSG_MODE_CHANGED, [msg, e.user.properNick]), "MODE", e.user, this); } for (var u in e.usersAffected) e.usersAffected[u].updateGraphResource... |
updates.push(e.usersAffected[u]); } this.updateUsers(updates); | function my_cmode (e){ if ("user" in e) { var msg = e.decodeParam(1) + " " + e.params.slice(2).join(" "); this.display (getMsg(MSG_MODE_CHANGED, [msg, e.user.properNick]), "MODE", e.user, this); } for (var u in e.usersAffected) e.usersAffected[u].updateGraphResource... | |
this.display ("Mode " + e.params.slice(1).join(" ") + " by " + e.user.nick, "MODE"); | if (e.user) this.display ("Mode " + e.params.slice(1).join(" ") + " by " + e.user.nick, "MODE"); | function my_cmode (e){ this.display ("Mode " + e.params.slice(1).join(" ") + " by " + e.user.nick, "MODE"); for (var u in e.usersAffected) e.usersAffected[u].updateDecoratedNick(); } |
updateChannel (e.channel); | function my_cmode (e){ if (e.user) this.display ("Mode " + e.params.slice(1).join(" ") + " by " + e.user.nick, "MODE"); for (var u in e.usersAffected) e.usersAffected[u].updateDecoratedNick(); } | |
this.display (e.meat + " by " + | this.display ("Mode " + e.params.slice(1).join(" ") + " by " + | function my_cmode (e){ this.display (e.meat + " by " + e.user.nick, "MODE"); for (var u in e.usersAffected) e.usersAffected[u].updateDecoratedNick(); } |
var msg = e.params.slice(1).join(" "); | var msg = e.decodeParam(1) + " " + e.params.slice(2).join(" "); | function my_cmode (e){ if ("user" in e) { var msg = e.params.slice(1).join(" "); this.display (getMsg(MSG_MODE_CHANGED, [msg, e.user.properNick]), "MODE", e.user, this); } for (var u in e.usersAffected) e.usersAffected[u].updateGraphResource(); e.channel.updateHe... |
this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.properNick), | this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.unicodeName), | function my_cnick (e){ if (userIsMe (e.user)) { if (getTabForObject(this)) { this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.properNick), "NICK", "ME!", e.user, this); } this.parent.parent.updateHeader(); } else { this.display(getM... |
this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.properNick]), | this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.unicodeName]), | function my_cnick (e){ if (userIsMe (e.user)) { if (getTabForObject(this)) { this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.properNick), "NICK", "ME!", e.user, this); } this.parent.parent.updateHeader(); } else { this.display(getM... |
this.removeUsers([e.server.addUser(e.oldNick)]); this.addUsers([e.user]); | function my_cnick (e){ if (userIsMe (e.user)) { if (getTabForObject(this)) { this.displayHere(getMsg(MSG_NEWNICK_YOU, e.user.properNick), "NICK", "ME!", e.user, this); } this.parent.parent.updateHeader(); } else { this.display(getM... | |
updateNetwork(); } | function my_cnick (e){ if (userIsMe (e.user)) this.display ("YOU are now known as " + e.user.properNick, "NICK", "!ME"); else this.display (e.oldNick + " is now known as " + e.user.properNick, "NICK"); e.user.updateDecoratedNick(); } | |
updateUserList(); | function my_cnick (e){ if (userIsMe (e.user)) { this.display (getMsg("my_cnickMsg", e.user.properNick), "NICK", "ME!", e.user, this); updateNetwork(); } else this.display (getMsg("my_cnickMsg2", e.oldNick, e.user.properNick), "NICK", e.user, thi... | |
[e.user.properNick, e.channel.unicodeName, | [e.user.unicodeName, e.channel.unicodeName, | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_LEFT, e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
[e.user.properNick, e.channel.unicodeName]), | [e.user.unicodeName, e.channel.unicodeName]), | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_LEFT, e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
this.updateHeader(); | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_LEFT, e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... | |
updateChannel (e.channel); | function my_cpart (e){ if (userIsMe (e.user)) this.display ("YOU have left " + e.channel.name, "PART", "!ME"); else this.display (e.user.properNick + " has left " + e.channel.name, "PART"); this.list.remove (e.user.getDecoratedNick()); } | |
this.display (getMsg(MSG_SOMEONE_LEFT, [e.user.properNick, e.channel.unicodeName]), "PART", e.user, this); | if (e.reason) { this.display (getMsg(MSG_SOMEONE_LEFT_REASON, [e.user.properNick, e.channel.unicodeName, e.reason]), "PART", e.user, this); } else { this.display (getMsg(MSG_SOMEONE_LEFT, [e.user.properNick, e.channel.unicodeName]), "PART", e.user, this); } | function my_cpart (e){ this._removeUserFromGraph(e.user); if (userIsMe (e.user)) { this.display (getMsg(MSG_YOU_LEFT, e.channel.unicodeName), "PART", e.user, this); if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ ... |
openQueryTab(e.server, e.user.nick); | openQueryTab(e.server, e.user.unicodeName); | function my_cprivmsg(e){ if (!("messages" in this)) { var limit = client.prefs["newTabLimit"]; if (limit == 0 || client.viewsArray.length < limit) openQueryTab(e.server, e.user.nick); } this.display(e.decodeParam(2), "PRIVMSG", e.user, e.server.me);} |
this.display (e.meat, "PRIVMSG", e.user, e.server.me); | this.display (e.params[2], "PRIVMSG", e.user, e.server.me); | function my_cprivmsg (e){ if ("messages" in this) { playSounds(client.QUERY_BEEP); } else { playSounds(client.MSG_BEEP); if (client.NEW_TAB_LIMIT == 0 || client.viewsArray.length < client.NEW_TAB_LIMIT) { var tab = openQueryTab (e.server, e.user.n... |
this.display (getMsg(MSG_YOU_QUIT, [e.server.parent.name, e.reason]), | this.display (getMsg(MSG_YOU_QUIT, [e.server.parent.unicodeName, e.reason]), | function my_cquit (e){ if (userIsMe(e.user)) { /* I dont think this can happen */ this.display (getMsg(MSG_YOU_QUIT, [e.server.parent.name, e.reason]), "QUIT", e.user, this); } else { this.display (getMsg(MSG_SOMEONE_QUIT, [e.user.prop... |
[e.user.properNick, e.server.parent.name, | [e.user.unicodeName, e.server.parent.unicodeName, | function my_cquit (e){ if (userIsMe(e.user)) { /* I dont think this can happen */ this.display (getMsg(MSG_YOU_QUIT, [e.server.parent.name, e.reason]), "QUIT", e.user, this); } else { this.display (getMsg(MSG_SOMEONE_QUIT, [e.user.prop... |
this.removeUsers([e.user]); | function my_cquit (e){ if (userIsMe(e.user)) { /* I dont think this can happen */ this.display (getMsg(MSG_YOU_QUIT, [e.server.parent.name, e.reason]), "QUIT", e.user, this); } else { this.display (getMsg(MSG_SOMEONE_QUIT, [e.user.prop... | |
updateChannel (e.channel); | function my_cquit (e){ if (userIsMe(e.user)) /* I dont think this can happen */ this.display ("YOU have left " + e.server.parent.name + " (" + e.reason + ")", "QUIT", "!ME"); else this.display (e.user.properNick + " has left " + e.server.parent.name + " (" +... | |
[toUnicode(e.CTCPCode, this), toUnicode(e.CTCPData, this), e.user.properNick]), | [toUnicode(e.CTCPCode, this), toUnicode(e.CTCPData, this), e.user.unicodeName]), | function my_ctcprunk (e){ this.display(getMsg(MSG_FMT_CTCPREPLY, [toUnicode(e.CTCPCode, this), toUnicode(e.CTCPData, this), e.user.properNick]), "CTCP_REPLY", e.user, e.server.me, this);} |
this.display(getMsg(MSG_DCCCHAT_ABORTED, [this.user.displayName, this.localIP, this.port]), "DCC-CHAT"); | this.display(getMsg(MSG_DCCCHAT_ABORTED, this._getParams()), "DCC-CHAT"); | function my_dccabort(e){ this.display(getMsg(MSG_DCCCHAT_ABORTED, [this.user.displayName, this.localIP, this.port]), "DCC-CHAT");} |
if (!client.prefs["dcc.enabled"]) | if (!jsenv.HAS_SERVER_SOCKETS || !client.prefs["dcc.enabled"]) | function my_dccchat(e){ if (!client.prefs["dcc.enabled"]) return; //FIXME: Uh... cope. // // Pass the event over to the DCC Chat object. //e.set = "dcc-file"; //e.destObject = f; //e.destMethod = "onGotReject";} |
var u = client.dcc.addUser(e.user, e.host); var c = client.dcc.addChat(u, e.port); var str = MSG_DCCCHAT_GOT_REQUEST; var cmds = getMsg(MSG_DCC_COMMAND_ACCEPT, "dcc-accept " + c.id) + " " + getMsg(MSG_DCC_COMMAND_DECLINE, "dcc-decline " + c.id); var allowList = this.parent.parent.prefs["dcc.autoAccept.list"]; for (va... | function my_dccchat(e){ if (!client.prefs["dcc.enabled"]) return; //FIXME: Uh... cope. // // Pass the event over to the DCC Chat object. //e.set = "dcc-file"; //e.destObject = f; //e.destMethod = "onGotReject";} | |
e.set = "dcc-chat"; e.destObject = c; e.destMethod = "onGotRequest"; | function my_dccchat(e){ if (!client.prefs["dcc.enabled"]) return; //FIXME: Uh... cope. // // Pass the event over to the DCC Chat object. //e.set = "dcc-file"; //e.destObject = f; //e.destMethod = "onGotReject";} | |
this.display(getMsg(MSG_DCCCHAT_CLOSED, [this.user.displayName, this.localIP, this.port]), "DCC-CHAT"); | this.display(getMsg(MSG_DCCCHAT_CLOSED, this._getParams()), "DCC-CHAT"); | function my_dccdisconnect(e){ playEventSounds("dccchat", "disconnect"); this.display(getMsg(MSG_DCCCHAT_CLOSED, [this.user.displayName, this.localIP, this.port]), "DCC-CHAT");} |
this.display(getMsg(MSG_DCCFILE_ABORTED, [this.user.displayName, this.localIP, this.port]), "DCC-FILE"); | this.busy = false; updateProgress(); this.display(getMsg(MSG_DCCFILE_ABORTED, this._getParams()), "DCC-FILE"); | function my_dccfileabort(e){ this.display(getMsg(MSG_DCCFILE_ABORTED, [this.user.displayName, this.localIP, this.port]), "DCC-FILE");} |
this.display(getMsg(MSG_DCCFILE_OPENED, [this.user.displayName, this.localIP, this.port]), "DCC-FILE"); | this.displayHere(getMsg(MSG_DCCFILE_OPENED, this._getParams()), "DCC-FILE"); this.busy = true; this.progress = 0; updateProgress(); this._lastUpdate = new Date(); this._lastPosition = 0; | function my_dccfileconnect(e){ this.display(getMsg(MSG_DCCFILE_OPENED, [this.user.displayName, this.localIP, this.port]), "DCC-FILE");} |
this._lastSpeedTime = new Date(); | function my_dccfileconnect(e){ this.displayHere(getMsg(MSG_DCCFILE_OPENED, this._getParams()), "DCC-FILE"); this.busy = true; this.progress = 0; updateProgress(); this._lastUpdate = new Date(); this._lastPosition = 0;} | |
this.display(getMsg(MSG_DCCFILE_CLOSED, [this.user.displayName, this.localIP, this.port]), "DCC-FILE"); | this.busy = false; updateProgress(); this.updateHeader(); var tab = getTabForObject(this); if (tab) tab.setAttribute("label", this.viewName + " (DONE)"); this.display(getMsg(MSG_DCCFILE_CLOSED, this._getParams()), "DCC-FILE"); | function my_dccfiledisconnect(e){ this.display(getMsg(MSG_DCCFILE_CLOSED, [this.user.displayName, this.localIP, this.port]), "DCC-FILE");} |
var tab = getTabForObject(this); | var msg, tab = getTabForObject(this); | function my_dccfiledisconnect(e){ this.busy = false; updateProgress(); this.updateHeader(); var tab = getTabForObject(this); if (tab) tab.setAttribute("label", this.viewName + " (DONE)"); this.display(getMsg(MSG_DCCFILE_CLOSED, this._getParams()), "DCC-FILE");} |
this.display(getMsg(MSG_DCCFILE_CLOSED, this._getParams()), "DCC-FILE"); | if (this.state.dir == DCC_DIR_GETTING) { msg = getMsg(MSG_DCCFILE_CLOSED_SAVED, this._getParams().concat(this.localPath)); } else { msg = getMsg(MSG_DCCFILE_CLOSED_SENT, this._getParams()); } this.display(msg, "DCC-FILE"); | function my_dccfiledisconnect(e){ this.busy = false; updateProgress(); this.updateHeader(); var tab = getTabForObject(this); if (tab) tab.setAttribute("label", this.viewName + " (DONE)"); this.display(getMsg(MSG_DCCFILE_CLOSED, this._getParams()), "DCC-FILE");} |
updateTitle(); | function my_dccfileprogress(e){ var now = new Date(); var pcent = Math.floor(100 * this.position / this.size); // If we've moved 100KiB or waited 10s, update the progress bar. if ((this.position > this._lastPosition + 102400) || (now - this._lastUpdate > 10000)) { this.progress = pcent; ... | |
[pcent, this.position, this.size]), | [pcent, getSISize(this.position), getSISize(this.size), getSISpeed(this.speed)]), | function my_dccfileprogress(e){ var now = new Date(); var pcent = Math.floor(100 * this.position / this.size); // If we've moved 100KiB or waited 10s, update the progress bar. if ((this.position > this._lastPosition + 102400) || (now - this._lastUpdate > 10000)) { this.progress = pcent; ... |
":" + this.name); | ":" + escape(this.name)); | function my_graphres (){ if (!("rdfRes" in this)) { this.rdfRes = client.rdf.GetResource(RES_PFX + "CHANNEL:" + this.parent.parent.name + ":" + this.name); //dd ("created channel resource " + this.rdfRes.Value); }... |
var id = RES_PFX + "CHANNEL:" + this.parent.parent.name + ":" + escape(this.name); | var id = RES_PFX + "CHANNEL:" + this.parent.parent.unicodeName + ":" + escape(this.unicodeName); | function my_graphres (){ if (!("rdfRes" in this)) { var id = RES_PFX + "CHANNEL:" + this.parent.parent.name + ":" + escape(this.name); this.rdfRes = client.rdf.GetResource(id); } return this.rdfRes;} |
this.display (getMsg(MSG_INVITE_YOU, [e.user.properNick, e.user.name, | this.display (getMsg(MSG_INVITE_YOU, [e.user.unicodeName, e.user.name, | function my_invite (e){ this.display (getMsg(MSG_INVITE_YOU, [e.user.properNick, e.user.name, e.user.host, e.params[2]]), "INVITE");} |
e.user.host, e.meat]), "INVITE"); | e.user.host, e.params[2]]), "INVITE"); | function my_invite (e){ this.display (getMsg("my_Invite", [e.user.properNick, e.user.name, e.user.host, e.meat]), "INVITE");} |
if (word instanceof RegExp) | if (isinstance(word, RegExp)) | function my_list(word, file){ const NORMAL_FILE_TYPE = Components.interfaces.nsIFile.NORMAL_FILE_TYPE; if (("_list" in this) && !this._list.done) return false; this._list = new Array(); this._list.string = word; this._list.regexp = null; this._list.done = false; this._list.count = 0; if (... |
setTimeout(checkEndList, 1500, network); | setTimeout(checkEndList, 5000, network); | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
display (getMsg(MSG_LIST_REROUTED, this.name)); | display (getMsg(MSG_LIST_REROUTED, this.unicodeName)); | function my_list_init (){ function checkEndList (network) { if (network.list.count == network.list.lastLength) { network.on323(); } else { network.list.lastLength = network.list.count; network.list.endTimeout = setTimeout(checkEndL... |
if (!("list" in this)) | if (!("list" in this) || !("done" in this.list)) | function my_listrply (e){ if (!("list" in this)) this.listInit(); ++this.list.count; e.params[2] = toUnicode(e.params[2]); if (!(this.list.regexp) || e.params[2].match(this.list.regexp) || e.params[4].match(this.list.regexp)) { this.list.push([e.params[2], e.param... |
|| e.meat.match(this.list.regexp)) | || e.params[4].match(this.list.regexp)) | function my_listrply (e){ ++this.list.count; e.params[2] = toUnicode(e.params[2]); if (!(this.list.regexp) || e.params[2].match(this.list.regexp) || e.meat.match(this.list.regexp)) { this.list.push([e.params[2], e.params[3], e.meat]); }} |
this.list.push([e.params[2], e.params[3], e.meat]); | this.list.push([e.params[2], e.params[3], e.params[4]]); | function my_listrply (e){ ++this.list.count; e.params[2] = toUnicode(e.params[2]); if (!(this.list.regexp) || e.params[2].match(this.list.regexp) || e.meat.match(this.list.regexp)) { this.list.push([e.params[2], e.params[3], e.meat]); }} |
if ("pendingExceptList" in this) return; | function my_needops(e){ this.display(getMsg(MSG_CHANNEL_NEEDOPS, this.unicodeName), MT_ERROR);} | |
e.server.hostname); | [e.server.hostname, this.getURL(), e.server.getURL()]); | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); ... |
[this.name, e.server.hostname, e.server.port]); | [this.getURL(), e.server.getURL()]); | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); ... |
this.connecting = false; dispatch("sync-headers"); | dispatch("sync-header"); | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); ... |
updateProgress(); | function my_netdisconnect (e){ var msg; var reconnect = false; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg(MSG_CONNECTION_CLOSED, [this.getURL(), e.server.getURL()]); ... | |
reconnect = true; | function my_netdisconnect (e){ var connection = e.server.connection; var msg; if (typeof e.disconnectStatus != "undefined") { switch (e.disconnectStatus) { case 0: msg = getMsg("my_netdisconnectConnectionClosed", [this.name, connection.... | |
this.display (msg, "ERROR"); | this.connecting = false; dispatch("sync-header"); updateTitle(); this.display (msg, "ERROR"); | function my_neterror (e){ var msg; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = MSG_ERR_NO_SOCKET; break; case JSIRC_ERR_EXHAUSTED: msg = MSG_ERR_EXHAUSTED; ... |
msg = e.meat; | msg = e.params[e.params.length - 1]; | function my_neterror (e){ var msg; if (typeof e.errorCode != "undefined") { switch (e.errorCode) { case JSIRC_ERR_NO_SOCKET: msg = getMsg ("my_neterrorNoSocket"); break; case JSIRC_ERR_EXHAUSTED: msg = getMsg (... |
this.display (e.meat, "NOTICE", this, e.server.me); | this.display (e.params[2], "NOTICE", this, e.server.me); | function my_notice (e){ this.display (e.meat, "NOTICE", this, e.server.me); } |
display (getMsg(MSG_PING_REPLY, [e.user.properNick, delay]), "INFO", | display (getMsg(MSG_PING_REPLY, [e.user.unicodeName, delay]), "INFO", | function my_replyping (e){ var delay = formatDateOffset ((new Date() - new Date(Number(e.CTCPData))) / 1000); display (getMsg(MSG_PING_REPLY, [e.user.properNick, delay]), "INFO", e.user, "ME!");} |
[this.name, e.host, e.port, e.connectAttempt, | [this.getURL(), e.server.getURL(), e.connectAttempt, | function my_sconnect (e){ this.display (getMsg(MSG_CONNECTION_ATTEMPT, [this.name, e.host, e.port, e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO");} |
this.display (getMsg(MSG_CONNECTION_ATTEMPT, [this.getURL(), e.server.getURL(), e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO"); | if (-1 == this.MAX_CONNECT_ATTEMPTS) this.display (getMsg(MSG_CONNECTION_ATTEMPT_UNLIMITED, [this.getURL(), e.server.getURL(), e.connectAttempt, e.reconnectDelayMs / 1000]), "INFO"); else this.display (getMsg(MSG_CONNECTION_ATTEMPT, [this.getURL(), e.server.getURL(), e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO... | function my_sconnect (e){ this.busy = true; updateProgress(); if ("_firstNick" in this) delete this._firstNick; this.display (getMsg(MSG_CONNECTION_ATTEMPT, [this.getURL(), e.server.getURL(), e.connectAttempt, this.MAX_CONNECT_ATTEMPTS]), "INFO");} |
case "NOTICE": updateNetwork (e.network); | function my_showtonet (e){ var p = (e.params[2]) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case 004: str = e.params.slice(1).join (" "); break; case 372: case 375: case 376: if (this.IGNORE_MOTD) return; ... | |
updateStalkExpression(this); | function my_showtonet (e){ var p = (3 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); if ... | |
this.display (p + e.meat, e.code.toUpperCase()); | str = e.meat; | function my_showtonet (e){ var p = (e.params[2]) ? e.params[2] + " " : ""; switch (e.code) { case 372: case 375: case 376: if (this.IGNORE_MOTD) return; /* no break */ default: this.display (p + e.meat, e.code.toUpperCase()); ... |
this.display (p + str, e.code.toUpperCase()); | function my_showtonet (e){ var p = (e.params[2]) ? e.params[2] + " " : ""; switch (e.code) { case 372: case 375: case 376: if (this.IGNORE_MOTD) return; /* no break */ default: this.display (p + e.meat, e.code.toUpperCase()); ... | |
var p = (2 in e.params) ? e.params[2] + " " : ""; | var p = (3 in e.params) ? e.params[2] + " " : ""; | function my_showtonet (e){ var p = (2 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); if ... |
str = e.meat; | for (var v in client.viewsArray) { var source = client.viewsArray[v].source; var details = getObjectDetails(client.viewsArray[v].source); if ("network" in details && details.network == this) gotoIRCURL(source.getURL()); } str = e.params[2]; | function my_showtonet (e){ var p = (2 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); if ... |
str = e.meat; | var length = e.params.length; str = e.params[length - 1]; | function my_showtonet (e){ var p = (2 in e.params) ? e.params[2] + " " : ""; var str = ""; switch (e.code) { case "004": case "005": str = e.params.slice(3).join (" "); break; case "001": updateTitle(this); updateNetwork (this); if ... |
if ("pendingNamesReply" in e.channel) e.channel.display (e.params[4], "NAMES"); | if ("pendingNamesReply" in client.currentObject) display (e.channel.unicodeName + ": " + e.params[4], "NAMES"); | function my_topic (e){ if ("pendingNamesReply" in e.channel) e.channel.display (e.params[4], "NAMES");} |
e.channel.display (e.meat, "NAMES"); | e.channel.display (e.params[4], "NAMES"); | function my_topic (e){ if ("pendingNamesReply" in e.channel) e.channel.display (e.meat, "NAMES");} |
display(getMsg(MSG_USER_MODE, [e.params[1], e.params[2]]), MT_MODE); | display(getMsg(MSG_USER_MODE, [e.user.unicodeName, e.params[2]]), MT_MODE); | function my_umode (e){ if ("user" in e && e.user) e.user.updateHeader(); display(getMsg(MSG_USER_MODE, [e.params[1], e.params[2]]), MT_MODE);} |
this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.properNick]), | this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.unicodeName]), | function my_unick (e){ if (userIsMe(e.user)) { this.parent.parent.updateHeader(); updateTitle(); } else if ("messages" in this && this.messages) { this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.properNick]), "NICK", e.user, this); } this.updateHe... |
tab.setAttribute("label", this.properNick); | tab.setAttribute("label", this.unicodeName); | function my_unick (e){ if (userIsMe(e.user)) { this.parent.parent.updateHeader(); updateTitle(); } else if ("messages" in this && this.messages) { this.display(getMsg(MSG_NEWNICK_NOTYOU, [e.oldNick, e.user.properNick]), "NICK", e.user, this); } this.updateHe... |
e.user.properNick]), | e.user.unicodeName]), | function my_unkctcp(e){ this.displayHere(getMsg(MSG_UNKNOWN_CTCP, [e.CTCPCode, e.CTCPData, e.user.properNick]), "BAD-CTCP", e.user, "ME!");} |
e.user = new CIRCUser(e.server, e.params[2]); | e.user = new CIRCUser(e.server, null, e.params[2]); | function my_unknown (e){ if ("pendingWhoisLines" in e.server) { /* whois lines always have the nick in param 2 */ e.user = new CIRCUser(e.server, e.params[2]); e.destMethod = "onUnknownWhois"; e.destObject = this; return; } e.params.shift(); /* remove the code ... |
if (!(e.code in client.responseCodeMap) && e.meat.search (/^end of/i) != -1) | var length = e.params.length; if (!(e.code in client.responseCodeMap) && (e.params[length - 1].search (/^end of/i) != -1)) { | function my_unknown (e){ e.params.shift(); /* remove the code */ e.params.shift(); /* and the dest. nick (always me) */ /* if it looks like some kind of "end of foo" code, and we don't * already have a mapping for it, make one up */ if (!(e.code in client.responseCodeMap) && e.meat.search (/^end... |
this.display (e.params.join(" ") + ": " + e.meat, e.code.toUpperCase()); | this.display (e.params.join(" "), e.code.toUpperCase()); | function my_unknown (e){ e.params.shift(); /* remove the code */ e.params.shift(); /* and the dest. nick (always me) */ /* if it looks like some kind of "end of foo" code, and we don't * already have a mapping for it, make one up */ if (!(e.code in client.responseCodeMap) && e.meat.search (/^end... |
dd("WHOIS: " + nick + ", " + e.user); | nick = user.unicodeName; } | function my_whoisreply (e){ var text = "egads!"; var nick = e.params[2]; var user; if (e.user) user = e.user; dd("WHOIS: " + nick + ", " + e.user); switch (Number(e.code)) { case 311: text = getMsg(MSG_WHOIS_NAME, [nick, e.params[3], e.p... |
[nick, e.params[3], e.params[4], e.meat]); | [nick, e.params[3], e.params[4], e.params[6]]); | function my_whoisreply (e){ var text = "egads!"; var nick = e.params[2]; switch (Number(e.code)) { case 311: text = getMsg("my_whoisreplyMsg", [nick, e.params[3], e.params[4], e.meat]); break; case 319: var ary = stringT... |
var ary = stringTrim(e.meat).split(" "); | var ary = stringTrim(e.params[3]).split(" "); | function my_whoisreply (e){ var text = "egads!"; var nick = e.params[2]; switch (Number(e.code)) { case 311: text = getMsg("my_whoisreplyMsg", [nick, e.params[3], e.params[4], e.meat]); break; case 319: var ary = stringT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.