rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
this.name = user.properNick; this.displayName = "DCC: " + this.filename; | this.unicodeName = user.unicodeName; this.viewName = "File: " + this.filename; | function CIRCDCCFileTransfer(parent, user, port, file, size){ // user == CIRCDCCUser object. // port == port as specified in CTCP DCC message. // file == name of file being sent/got. // size == size of said file. this.READ_TIMEOUT = 50; // Link up all our data. this.parent = parent; this... |
this.properNick = user.properNick; this.displayName = user.properNick; this.nick = user.nick; | this.id = parent.getNextID(); this.unicodeName = user.unicodeName; this.viewName = user.unicodeName; this.canonicalName = user.canonicalName; | function CIRCDCCUser(parent, user, remoteIP){ // user == CIRCUser object. // remoteIP == remoteIP as specified in CTCP DCC message. if ("dccUser" in user) { if (remoteIP) user.dccUser.remoteIP = remoteIP; return user.dccUser; } this.parent = parent; this... |
this.key = escape(this.nick) + ":" + remoteIP; | this.key = escape(this.canonicalName) + ":" + remoteIP; | function CIRCDCCUser(parent, user, remoteIP){ // user == CIRCUser object. // remoteIP == remoteIP as specified in CTCP DCC message. if ("dccUser" in user) { if (remoteIP) user.dccUser.remoteIP = remoteIP; return user.dccUser; } this.parent = parent; this... |
this.name = name; this.displayName = name; | this.unicodeName = name; this.viewName = name; this.canonicalName = name; this.encodedName = name; | function CIRCNetwork (name, serverList, eventPump){ this.name = name; this.displayName = name; this.servers = new Object(); this.serverList = new Array(); this.ignoreList = new Object(); this.ignoreMaskCache = new Object(); this.connecting = false; for (var i = 0; i < serverList.length; ++i)... |
this.serverList.push(new CIRCServer(this, server.name, server.port, | var isSecure = ("isSecure" in server) ? server.isSecure : false; this.serverList.push(new CIRCServer(this, server.name, server.port, isSecure, | function CIRCNetwork (name, serverList, eventPump){ this.name = name; this.displayName = name; this.servers = new Object(); this.serverList = new Array(); this.ignoreList = new Object(); this.ignoreMaskCache = new Object(); this.connecting = false; for (var i = 0; i < serverList.length; ++i)... |
if ("onInit" in this) this.onInit(); | function CIRCNetwork (name, serverList, eventPump){ this.name = name; this.serverList = serverList; this.eventPump = eventPump; this.servers = new Object();} | |
function CIRCServer (parent, hostname, port, password) | function CIRCServer (parent, hostname, port, isSecure, password) | function CIRCServer (parent, hostname, port, password){ var serverName = hostname + ":" + port; var s; if (serverName in parent.servers) { s = parent.servers[serverName]; } else { s = this; s.channels = new Object(); s.users = new Object(); } s.name = serverNam... |
s.name = serverName; | s.unicodeName = serverName; s.viewName = serverName; s.canonicalName = serverName; s.encodedName = serverName; | function CIRCServer (parent, hostname, port, password){ var serverName = hostname + ":" + port; var s; if (serverName in parent.servers) { s = parent.servers[serverName]; } else { s = this; s.channels = new Object(); s.users = new Object(); } s.name = serverNam... |
parent.servers[serverName] = s; | parent.servers[s.canonicalName] = s; | function CIRCServer (parent, hostname, port, password){ var serverName = hostname + ":" + port; var s; if (serverName in parent.servers) { s = parent.servers[serverName]; } else { s = this; s.channels = new Object(); s.users = new Object(); } s.name = serverNam... |
if ("onInit" in s) s.onInit(); | function CIRCServer (parent, connection, password){ var serverName = connection.host + ":" + connection.port; var s; if (serverName in parent.servers) { s = parent.servers[serverName]; } else { s = this; s.channels = new Object(); s.users = new Object(); } s.na... | |
function CIRCUser (parent, nick, name, host) | function CIRCUser(parent, unicodeName, encodedName, name, host) | function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = parent.toLowerCase(nick); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUs... |
var properNick = nick; nick = parent.toLowerCase(nick); if (nick in parent.users) | if (!encodedName && !unicodeName) throw "Hey! Come on, I need either an encoded or a Unicode name."; if (!encodedName) encodedName = fromUnicode(unicodeName, parent); var canonicalName = parent.toLowerCase(encodedName); if (canonicalName in parent.users) | function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = parent.toLowerCase(nick); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUs... |
var existingUser = parent.users[nick]; | var existingUser = parent.users[canonicalName]; | function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = parent.toLowerCase(nick); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUs... |
this.nick = nick; this.properNick = properNick; this.displayName = properNick; | this.encodedName = encodedName; this.canonicalName = canonicalName; this.unicodeName = unicodeName || toUnicode(encodedName, this.parent); this.viewName = this.unicodeName; | function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = parent.toLowerCase(nick); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUs... |
parent.users[nick] = this; | this.parent.users[this.canonicalName] = this; | function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = parent.toLowerCase(nick); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUs... |
function CIRCUser (parent, nick, name, host, desc) | function CIRCUser (parent, nick, name, host) | function CIRCUser (parent, nick, name, host, desc){ var properNick = nick; nick = nick.toLowerCase(); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; if (desc) ... |
if (desc) existingUser.desc = desc; | function CIRCUser (parent, nick, name, host, desc){ var properNick = nick; nick = nick.toLowerCase(); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; if (desc) ... | |
this.desc = desc; | function CIRCUser (parent, nick, name, host, desc){ var properNick = nick; nick = nick.toLowerCase(); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; if (desc) ... | |
if ("onInit" in this) this.onInit(); | function CIRCUser (parent, nick, name, host){ var properNick = nick; nick = nick.toLowerCase(); if (nick in parent.users) { var existingUser = parent.users[nick]; if (name) existingUser.name = name; if (host) existingUser.host = host; return existingUser; } this.parent ... | |
gDialog.sheetsTree.treeBoxObject.selection.clearSelection(); | ClearTreeSelection(gDialog.sheetsTree); | function CleanSheetsTree(sheetsTreeChildren){ // we need to clear the selection in the tree otherwise the onselect // action on the tree will be fired when we removed the selected entry gDialog.sheetsTree.treeBoxObject.selection.clearSelection(); var elt = sheetsTreeChildren.firstChild; while (elt) { var tmp = ... |
document.getElementById(elements[i].id).clear; | document.getElementById(elements[i].id).clear(); | function ClearAll(){ /* clear out all data */ var elements = document.getElementsByAttribute("id", "*"); for (var i=0; i < elements.length; i++) { if ((elements[i].nodeName == "textbox") || (elements[i].nodeName == "radiogroup") || (elements[i].id == "RootKey1") || (elements[i].... |
list.removeChild(list.firstChild); | list.removeItemAt(list.childNodes.length - 1); | function ClearAttachmentList() { // clear selection var list = document.getElementById('attachmentList'); list.clearSelection(); while (list.childNodes.length) list.removeChild(list.firstChild);} |
function ClearAttachmentMenu() { var popup = document.getElementById("attachmentPopup"); if ( popup ) { while ( popup.childNodes.length ) popup.removeChild(popup.childNodes[0]); } var attachBox = document.getElementById("attachmentBox"); if (attachBox) attachBox.setAttribute("collapsed", "true"); attachmentUrlArray.... | function ClearAttachmentMenu() { var popup = document.getElementById("attachmentPopup"); if ( popup ) { while ( popup.childNodes.length ) popup.removeChild(popup.childNodes[0]); } | function ClearAttachmentMenu(){ var popup = document.getElementById("attachmentPopup"); if ( popup ) { while ( popup.childNodes.length ) popup.removeChild(popup.childNodes[0]); } var attachBox = document.getElementById("attachmentBox"); if (attachBox) attachBox.setAttribute("collapsed", "true"); // ... |
sourceRecord.sourceText.sourceText[line - 1]) | sourceRecord.sourceText.lines[line - 1]) | function clearBreakpointByNumber (number){ var bpr = console.breakpoints.childData[number]; if (!bpr) { display (getMsg(MSN_ERR_BP_NOINDEX, number, MT_ERROR)); return 0; } bpr.enabled = false; display (getMsg(MSN_BP_CLEARED, [bpr.fileName, bpr.line, bp... |
delete sourceRecord.sourceText.sourceText[line - 1].bpRecord; | delete sourceRecord.sourceText.lines[line - 1].bpRecord; | function clearBreakpointByNumber (number){ var bpr = console.breakpoints.childData[number]; if (!bpr) { display (getMsg(MSN_ERR_BP_NOINDEX, number, MT_ERROR)); return 0; } bpr.enabled = false; display (getMsg(MSN_BP_CLEARED, [bpr.fileName, bpr.line, bp... |
gDialog.AddCSSAttributeNameInput.inputField.focus(); | SetTextboxFocus(gDialog.AddCSSAttributeNameInput); | function ClearCSSInputWidgets(){ gDialog.AddCSSAttributeTree.clearSelection(); gDialog.AddCSSAttributeNameInput.value =""; gDialog.AddCSSAttributeValueInput.value = ""; gDialog.AddCSSAttributeNameInput.inputField.focus();} |
currentAttachments = new Array(); | function ClearCurrentHeaders(){ currentHeaderData = {};} | |
function ClearEditMessageButton() { | function ClearEditMessageButton() { return; | function ClearEditMessageButton(){ var editBox = document.getElementById("editMessageBox"); if (editBox) editBox.setAttribute("collapsed", "true");} |
for (i = 0; i < this._lastSelectedRanges.length; ++i) { | for (var i = 0; i < this._lastSelectedRanges.length; ++i) { | clearFilter: function () { // Clear the Filter and the Tree Display document.getElementById("filter").value = ""; this._view._filtered = false; this._view._filterSet = []; // Just reload the list to make sure deletions are respected this._loadView(); this._updateRowCount(this._updateExclusio... |
gDialog.AddHTMLAttributeNameInput.inputField.focus(); | SetTextboxFocus(gDialog.AddHTMLAttributeNameInput); | function ClearHTMLInputWidgets(){ gDialog.AddHTMLAttributeTree.clearSelection(); gDialog.AddHTMLAttributeNameInput.value =""; gDialog.AddHTMLAttributeValueInput.value = ""; gDialog.AddHTMLAttributeNameInput.inputField.focus();} |
list.selectedIndex = -1; | function ClearList(list){ for( i = (list.length-1); i >= 0; i-- ) { list.remove(i); }} | |
SetUpJunkBar(null); SetUpRemoteContentBar(null); | gMessageNotificationBar.clearMsgNotifications(); | function ClearMessagePane(){ if(gHaveLoadedMessage) { gHaveLoadedMessage = false; gCurrentDisplayedMessage = null; if (GetMessagePaneFrame().location != "about:blank") GetMessagePaneFrame().location = "about:blank"; // hide the message header view AND the message pane... HideMessageHeaderPane();... |
SetUpJunkBar(null); | function ClearMessagePane(){ if(gHaveLoadedMessage) { gHaveLoadedMessage = false; gCurrentDisplayedMessage = null; if (GetMessagePaneFrame().location != "about:blank") GetMessagePaneFrame().location = "about:blank"; // hide the message header view AND the message pane... HideMessageHeaderPane(); }} | |
SetUpJunkBar(null); | gMessageNotificationBar.clearMsgNotifications(); | function ClearMessagePane(){ if(gHaveLoadedMessage) { gHaveLoadedMessage = false; gCurrentDisplayedMessage = null; if (GetMessagePaneFrame().location.href != "about:blank") GetMessagePaneFrame().location.href = "about:blank"; // hide the message header view AND the message pane... HideMessageHea... |
try { PREF.clearUserPref("network.cookie.enableForCurrentSessionOnly"); PREF.setIntPref("network.cookie.lifetimePolicy", 2); } catch (e) { } try { PREF.clearUserPref("network.cookie.warnAboutCookies"); PREF.setIntPref("network.cookie.lifetimePolicy", 1); } catch (e) { } | function clearObsoletePrefs(){ // removed 10/03/2003 try { PREF.clearUserPref("timebomb.first_launch_time"); } catch (e) {} // removed 10/16/2003 // migrate firebird cookie prefs, if they exist. try { PREF.clearUserPref("network.cookie.enable"); // No error: it means this pref was not the default one, ... | |
if (window.frames["printengine"].location != "about:blank") window.frames["printengine"].location = "about:blank"; | if (window.frames["content"].location != "about:blank") window.frames["content"].location = "about:blank"; | function ClearPrintEnginePane(){ if (window.frames["printengine"].location != "about:blank") window.frames["printengine"].location = "about:blank";} |
var tree = document.getElementById("directoryList"); | function clearTree() { var tree = document.getElementById("directoryList"); /* lets make an assumption that the tree children are at the end of the tree... */ if (tree.lastChild) tree.removeChild(tree.lastChild);} | |
if (tree.lastChild) tree.removeChild(tree.lastChild); | if (directoryTree.lastChild) directoryTree.removeChild(directoryTree.lastChild); | function clearTree() { var tree = document.getElementById("directoryList"); /* lets make an assumption that the tree children are at the end of the tree... */ if (tree.lastChild) tree.removeChild(tree.lastChild);} |
if (networkOrName instanceof CIRCNetwork) | if (isinstance(networkOrName, CIRCNetwork)) | function cli_connect(networkOrName, requireSecurity){ var network; var name; if (networkOrName instanceof CIRCNetwork) { network = networkOrName; } else { name = networkOrName; if (!(name in client.networks)) { display(getMsg(MSG_ERR_UNKNOWN_NETWORK, name), MT... |
function cli_connect(networkOrName) | function cli_connect(networkOrName, requireSecurity) | function cli_connect(networkOrName){ var network; var name; if (networkOrName instanceof CIRCNetwork) { network = networkOrName; name = network.name; } else { name = networkOrName; if (!(name in client.networks)) { display(getMsg(MSG_ERR... |
name = network.name; | function cli_connect(networkOrName){ var network; var name; if (networkOrName instanceof CIRCNetwork) { network = networkOrName; name = network.name; } else { name = networkOrName; if (!(name in client.networks)) { display(getMsg(MSG_ERR... | |
name = network.unicodeName; | function cli_connect(networkOrName){ var network; var name; if (networkOrName instanceof CIRCNetwork) { network = networkOrName; name = network.name; } else { name = networkOrName; if (!(name in client.networks)) { display(getMsg(MSG_ERR... | |
setCurrentObject(network); | dispatch("set-current-view", { view: network }); | function cli_connect(networkOrName){ var network; var name; if (networkOrName instanceof CIRCNetwork) { network = networkOrName; name = network.name; } else { name = networkOrName; if (!(name in client.networks)) { display(getMsg(MSG_ERR... |
network.connect(); | network.connect(requireSecurity); | function cli_connect(networkOrName){ var network; var name; if (networkOrName instanceof CIRCNetwork) { network = networkOrName; name = network.name; } else { name = networkOrName; if (!(name in client.networks)) { display(getMsg(MSG_ERR... |
netobj.connecting = true; | function cli_connet (netname, pass){ if (!(netname in client.networks)) { display (getMsg("cli_attachNoNet", netname), "ERROR"); return false; } var netobj = client.networks[netname]; if (!("messages" in netobj)) netobj.displayHere (getMsg("cli_attachOpened", netname), "INFO"); ... | |
if (getBoolPref("logging", false, netobj.localPrefs)) client.startLogging(netobj); | function cli_connet (netname, pass){ if (!(netname in client.networks)) { display (getMsg("cli_attachNoNet", netname), "ERROR"); return false; } var netobj = client.networks[netname]; if (!("messages" in netobj)) netobj.displayHere (getMsg("cli_attachOpened", netname), "INFO"); ... | |
var msgContainer = newInlineText ("", "msg"); msgContainer.setAttribute ("network", "{LOCAL}"); msgContainer.setAttribute ("msgtype", msgtype); | var msgRow = newInlineText ( {network : "{LOCAL}", msgtype: msgtype}, "msg", "html:tr"); | function cli_display (message, msgtype){ var ary = message.split ("\n"); var msgContainer = newInlineText ("", "msg"); msgContainer.setAttribute ("network", "{LOCAL}"); msgContainer.setAttribute ("msgtype", msgtype); var msg = newInlineText ("[" + msgtype + "]", "msg-type"); msg.setAttribute ("net... |
var msg = newInlineText ("[" + msgtype + "]", "msg-type"); msg.setAttribute ("network", "{LOCAL}"); msg.setAttribute ("msgtype", msgtype); msgContainer.appendChild(msg); | var msg = newInlineText ( {data: "[" + msgtype + "]", network: "{LOCAL}", msgtype: msgtype}, "msg-type", "html:td"); | function cli_display (message, msgtype){ var ary = message.split ("\n"); var msgContainer = newInlineText ("", "msg"); msgContainer.setAttribute ("network", "{LOCAL}"); msgContainer.setAttribute ("msgtype", msgtype); var msg = newInlineText ("[" + msgtype + "]", "msg-type"); msg.setAttribute ("net... |
var msg = newInlineText (ary[l], "msg-data"); msg.setAttribute ("network", "{LOCAL}"); msg.setAttribute ("msgtype", msgtype); msgContainer.appendChild(msg); msgContainer.appendChild (document.createElement ("html:br")); | msgData.appendChild(newInlineText (ary[l])); msgData.appendChild (document.createElement ("html:br")); | function cli_display (message, msgtype){ var ary = message.split ("\n"); var msgContainer = newInlineText ("", "msg"); msgContainer.setAttribute ("network", "{LOCAL}"); msgContainer.setAttribute ("msgtype", msgtype); var msg = newInlineText ("[" + msgtype + "]", "msg-type"); msg.setAttribute ("net... |
addHistory (this, msgContainer); | msgRow.appendChild (msgData); addHistory (this, msgRow); | function cli_display (message, msgtype){ var ary = message.split ("\n"); var msgContainer = newInlineText ("", "msg"); msgContainer.setAttribute ("network", "{LOCAL}"); msgContainer.setAttribute ("msgtype", msgtype); var msg = newInlineText ("[" + msgtype + "]", "msg-type"); msg.setAttribute ("net... |
client.display ("Unknown network '" + e.inputData + "'", "ERROR"); | client.currentObject.display ("Unknown network '" + e.inputData + "'", "ERROR"); | function cli_iattach (e){ var net; if (!e.inputData) { if (client.lastNetwork) { client.currentObject.display ("No network specified network, " + "Using '" + client.lastNetwork.name + "'", "NOTICE... |
var ary = e.inputData.match(/([^\s\:]+)\:?\s*(\d+)\s*$/); | var ary = e.inputData.match(/([^\s]+)\s*(\d+)\s*$/); | function cli_ibreak(e){ var i; if (!e.inputData) { /* if no input data, just list the breakpoints */ var bplist = console.breakpoints.childData; if (bplist.length == 0) { display (MSG_NO_BREAKPOINTS_SET); return true; } display (getMsg(M... |
var ary = e.inputData.match(/(\d+)|([^\s\:]+)\:?\s*(\d+)\s*$/); | var ary = e.inputData.match(/(\d+)|([^\s]+)\s*(\d+)\s*$/); | function cli_iclear (e){ var ary = e.inputData.match(/(\d+)|([^\s\:]+)\:?\s*(\d+)\s*$/); if (!ary) { console.displayUsageError(e.commandEntry); return false; } if (ary[1]) { /* disable by breakpoint number */ var idx = Number(ary[1]); return clearBreakpointByNumber (... |
client.currentObject.display ("Sorry, '" + e.command + | client.currentObject.display ("Sorry, '" + ary[0].name + | function cli_icommand (e){ var ary = client.commands.list (e.command); switch (ary.length) { case 0: client.currentObject.display ("Unknown command '" + e.command + "'.", "ERROR"); break; case 1: if ... |
var ary = e.inputData.match(/([^\s\:]+)\:?\s*(\d+)\s*$/); | var ary = e.inputData.match(/([^\s]+)\s*(\d+)\s*$/); | function cli_ifbreak(e){ if (!e.inputData) { /* if no input data, just list the breakpoints */ var bplist = console.breakpoints.childData; if (bplist.length == 0) { display (MSG_NO_FBREAKS_SET); return true; } display (getMsg(MSN_FBP_HEADER, bplist... |
client.currentObject.display ("", "HELP"); | function cli_ihelp (e){ var ary = client.commands.list (e.inputData); if (ary.length == 0) { client.currentObject.display ("No such command, '" + e.inputData + "'.", "ERROR"); return false; } var saveDir = client.PRINT_DIRECTION; client.PRINT_DIRECTI... | |
if (!("messages" in e.channel)) { e.channel.display (getMsg("cli_ijoinMsg3", e.channel.unicodeName), "INFO"); } setCurrentObject(e.channel); | function cli_ijoin (e){ if (!e.network || !e.network.isConnected()) { if (!e.network) client.currentObject.display (getMsg("cli_ijoinMsg"), "ERROR"); else client.currentObject.display (getMsg("cli_ijoinMsg2", e.network.name1), "ER... | |
if (e.channel) | if (!e.channel) | function cli_ime (e){ if (e.channel) { e.inputData = filterOutput (e.inputData, "ACTION", "!ME"); e.channel.act (e.inputData); } return true;} |
e.inputData = filterOutput (e.inputData, "ACTION", "!ME"); e.channel.act (e.inputData); | client.currentObject.display ("Me can only be used from channels.", "ERROR"); return false; | function cli_ime (e){ if (e.channel) { e.inputData = filterOutput (e.inputData, "ACTION", "!ME"); e.channel.act (e.inputData); } return true;} |
e.inputData = filterOutput (e.inputData, "ACTION", "!ME"); e.channel.act (e.inputData); | function cli_ime (e){ if (e.channel) { e.inputData = filterOutput (e.inputData, "ACTION", "!ME"); e.channel.act (e.inputData); } return true;} | |
if (!usr.messages) usr.display ("Chat with " + usr.nick + " opened.", "INFO"); setCurrentObject (usr); var msg = filterOutput(ary[2], "PRIVMSG", "!ME"); | function cli_imsg (e){ if (!e.network || !e.network.isConnected()) { client.currentObject.display ("You must be connected to a network " + "to use msg", "ERROR"); return false; } var ary = e.inputData.match (/(\S+)\s+(.*)/); if (ary == null) retur... | |
var usr = e.network.primServ.addUser(ary[1].toLowerCase()); | var usr = e.network.primServ.addUser(ary[1]); | function cli_imsg (e){ if (!e.network || !e.network.isConnected()) { client.currentObject.display (getMsg("cli_imsgMsg4"), "ERROR"); return false; } var ary = e.inputData.match (/(\S+)\s+(.*)/); if (ary == null) return false; var usr = e.network.primServ.addUser(ary[1].toLowerCase... |
client.currentObject.display (msg, "PRIVMSG", "ME!", usr); | usr.display (msg, "PRIVMSG", "ME!", usr); | function cli_imsg (e){ if (!e.network || !e.network.isConnected()) { client.currentObject.display (getMsg("cli_imsgMsg4"), "ERROR"); return false; } var ary = e.inputData.match (/(\S+)\s+(.*)/); if (ary == null) return false; var usr = e.network.primServ.addUser(ary[1].toLowerCase... |
var encodeName = fromUnicode(e.inputData + " "); encodeName = encodeName.substr(0, encodeName.length -1); chan = encodeName; | var encodedName = fromUnicode(e.inputData + " ", client.currentObject.charset); encodedName = encodedName.substr(0, encodedName.length -1); chan = encodedName; | function cli_inames (e){ var chan; if (!e.network) { client.currentObject.display (getMsg("cli_inamesMsg"), "ERROR"); return false; } if (e.inputData) { if (!e.network.isConnected()) { client.currentObject.display (getMsg("cli_inamesMsg2", ... |
chan = e.channel.name; | chan = e.channel.encodedName; | function cli_inames (e){ var chan; if (!e.network) { client.currentObject.display (getMsg("cli_inamesMsg"), "ERROR"); return false; } if (e.inputData) { if (!e.network.isConnected()) { client.currentObject.display (getMsg("cli_inamesMsg2", ... |
else CIRCNetwork.prototype.INITIAL_NICK = e.inputData; | CIRCNetwork.prototype.INITIAL_NICK = e.inputData; | function cli_inick (e){ if (!e.inputData) return false; if (e.server) e.server.sendData ("NICK " + e.inputData + "\n"); else CIRCNetwork.prototype.INITIAL_NICK = e.inputData; return true; } |
e.server.sendData ('NICK ' + e.inputData + '\\n'); | e.server.sendData ('NICK ' + e.inputData + '\n'); | client.onInputNick = function cli_inick (e){ if (!e.inputData) return false; if (e.server) e.server.sendData ('NICK ' + e.inputData + '\\n'); else CIRCNetwork.prototype.INITIAL_NICK = e.inputData; } |
if (!e.network) | if (!("network" in e) || !e.network) | function cli_inotify (e){ if (!e.network) { client.currentObject.display (getMsg("cli_inotifyMsg"), "ERROR"); return false; } var net = e.network; if (!e.inputData) { if (net.notifyList && net.notifyList.length > 0) { /* delete the lists and force a ISON chec... |
if (net.notifyList && net.notifyList.length > 0) | if ("notifyList" in net && net.notifyList.length > 0) | function cli_inotify (e){ if (!e.network) { client.currentObject.display (getMsg("cli_inotifyMsg"), "ERROR"); return false; } var net = e.network; if (!e.inputData) { if (net.notifyList && net.notifyList.length > 0) { /* delete the lists and force a ISON chec... |
if (!net.notifyList) | if (!("notifyList" in net)) | function cli_inotify (e){ if (!e.network) { client.currentObject.display (getMsg("cli_inotifyMsg"), "ERROR"); return false; } var net = e.network; if (!e.inputData) { if (net.notifyList && net.notifyList.length > 0) { /* delete the lists and force a ISON chec... |
client.currentObject.display ("Part can only be used from channels.", | client.currentObject.display ("Leave can only be used from channels.", | function cli_ipart (e){ if (!e.channel) { client.currentObject.display ("Part can only be used from channels.", "ERROR"); return false; } e.channel.part(); return true; } |
client.network.primServ.sendData (e.inputData + "\n"); | e.server.sendData (e.inputData + "\n"); | function cli_iquote (e){ if (!e.network || !e.network.isConnected()) { client.currentObject.display ("You must be connected to a network " + "to use quote.", "ERROR"); return false; } client.network.primServ.sendData (e.inputData + "\n"); return true... |
client.primNet.primServ.sendData (e.inputData + "\n"); | client.network.primServ.sendData (e.inputData + "\n"); | function cli_iquote (e){ client.primNet.primServ.sendData (e.inputData + "\n"); return true; } |
for (var name in client.networks) { if ("stalkExpression" in client.networks[name]) updateStalkExpression(client.networks[name]); } | function cli_istalk (e){ if (!e.inputData) { if (client.stalkingVictims.length == 0) { client.currentObject.display(getMsg("cli_istalkMsg"), "STALK"); } else { client.currentObject.display (getMsg("cli_istalkMsg2", client.stalkingVictims.join... | |
client.currentObject.display (e.channel.topic, "TOPIC"); | client.currentObject.display ("Topic: " + e.channel.topic, "TOPIC"); | function cli_itopic (e){ if (!e.channel) { client.currentObject.display ("Topic can only be used from channels.", "ERROR"); return false; } if (!e.inputData) { if (e.channel.topic) { client.currentObject.display (e.channel.to... |
return true; | function cli_itopic (e){ if (!e.channel) { client.currentObject.display ("Topic can only be used from channels.", "ERROR"); return false; } if (!e.inputData) { if (e.channel.topic) { client.currentObject.display (e.channel.to... | |
for (var name in client.networks) { if ("stalkExpression" in client.networks[name]) updateStalkExpression(client.networks[name]); } | function cli_iunstalk ( e ){ if (!e.inputData) return false; for (i in client.stalkingVictims) { if (client.stalkingVictims[i].match("^" + e.inputData +"$", "i")) { client.stalkingVictims.splice(i, 1); client.currentObject.display(getMsg("cli_iunstalkMsg", e.inputData... | |
client.currentObject.display ("**WARNING** Zoom is busted at this time :(", "WARNING"); | function cli_izoom (e){ if (!e.inputData) return false; if (!e.channel) { client.currentObject.display ("Zoom can only be used from channels.", "ERROR"); return false; } var nick = e.inputData.toLowerCase(); var cuser = e.channel.users[n... | |
if (client.networks[n].isConnected()) client.networks[n].quit(reason); | net = client.networks[n]; if (net.isConnected()) { netReason = (reason ? reason : net.prefs["defaultQuitMsg"]); netReason = (netReason ? netReason : client.userAgent); net.quit(netReason); } | function cli_quit (reason){ for (var n in client.networks) { if (client.networks[n].isConnected()) client.networks[n].quit(reason); }} |
view.displayHere(getMsg(MSG_LOGFILE_OPENED, getLogPath(view))); | if (!("logFileWrapping" in view) || !view.logFileWrapping) view.displayHere(getMsg(MSG_LOGFILE_OPENED, getLogPath(view))); view.logFileWrapping = false; | function cli_startlog (view){ function getNextLogFileDate() { var d = new Date(); d.setMilliseconds(0); d.setSeconds(0); d.setMinutes(0); switch (view.smallestLogInterval) { case "h": return d.setHours(d.getHours() + 1); case "d": ... |
view.logFile = fopen(view.prefs["logFileName"], ">>"); | var file = new LocalFile(view.prefs["logFileName"]); if (!file.localFile.exists()) { file.localFile.create(NORMAL_FILE_TYPE, 0666 & ~futils.umask); } view.logFile = fopen(file.localFile, ">>"); | function cli_startlog (view){ try { view.logFile = fopen(view.prefs["logFileName"], ">>"); } catch (ex) { view.displayHere(getMsg(MSG_LOGFILE_ERROR, view.logFile), MT_ERROR); view.logFile = null; view.prefs["log"] = false; return; } view.displayHere(getMsg(MSG_LOG... |
view.displayHere(getMsg(MSG_LOGFILE_ERROR, view.logFile), MT_ERROR); view.logFile = null; | function cli_startlog (view){ try { view.logFile = fopen(view.prefs["logFileName"], ">>"); } catch (ex) { view.displayHere(getMsg(MSG_LOGFILE_ERROR, view.logFile), MT_ERROR); view.logFile = null; view.prefs["log"] = false; return; } view.displayHere(getMsg(MSG_LOG... | |
view.displayHere(getMsg(MSG_LOGFILE_OPENED, getURLSpecFromFile(view.logFile.path))); | view.displayHere(getMsg(MSG_LOGFILE_OPENED, view.prefs["logFileName"])); | function cli_startlog (view){ try { view.logFile = fopen(view.prefs["logFileName"], ">>"); } catch (ex) { view.displayHere(getMsg(MSG_LOGFILE_ERROR, view.logFile), MT_ERROR); view.logFile = null; view.prefs["log"] = false; return; } view.displayHere(getMsg(MSG_LOG... |
view.nextLogFileDate = getNextLogFileDate(); | function cli_startlog (view){ const NORMAL_FILE_TYPE = Components.interfaces.nsIFile.NORMAL_FILE_TYPE; try { var file = new LocalFile(view.prefs["logFileName"]); if (!file.localFile.exists()) { // futils.umask may be 0022. Result is 0644. file.localFile.create(NORMAL_... | |
function cli_stoplog (view) | function cli_stoplog(view, wrapping) | function cli_stoplog (view){ if ("frame" in view) view.displayHere(getMsg(MSG_LOGFILE_CLOSING, getLogPath(view))); if (view.logFile) { view.logFile.close(); view.logFile = null; }} |
if ("frame" in view) | if ("frame" in view && !wrapping) | function cli_stoplog (view){ if ("frame" in view) view.displayHere(getMsg(MSG_LOGFILE_CLOSING, getLogPath(view))); if (view.logFile) { view.logFile.close(); view.logFile = null; }} |
view.logFileWrapping = Boolean(wrapping); | function cli_stoplog (view){ if ("frame" in view) view.displayHere(getMsg(MSG_LOGFILE_CLOSING, getLogPath(view))); if (view.logFile) { view.logFile.close(); view.logFile = null; }} | |
view.displayHere(MSG_LOGFILE_CLOSING); | view.displayHere(getMsg(MSG_LOGFILE_CLOSING, view.prefs["logFileName"])); | function cli_stoplog (view){ view.displayHere(MSG_LOGFILE_CLOSING); if (view.logFile) { view.logFile.close(); view.logFile = null; }} |
view.displayHere(getMsg(MSG_LOGFILE_CLOSING, getLogPath(view))); | if ("frame" in view) view.displayHere(getMsg(MSG_LOGFILE_CLOSING, getLogPath(view))); | function cli_stoplog (view){ view.displayHere(getMsg(MSG_LOGFILE_CLOSING, getLogPath(view))); if (view.logFile) { view.logFile.close(); view.logFile = null; }} |
function ClickOnOtherPanels(event, target) | function ClickOnOtherPanels(event) | function ClickOnOtherPanels(event, target){ debug("SelectChangeForOtherPanels(...)"); // Remove the selection in the "current" panels list var current_panels = document.getElementById('current-panels'); current_panels.clearItemSelection(); enable_buttons_for_current_panels(); if (target.getAttribute('container')... |
debug("SelectChangeForOtherPanels(...)"); | debug("ClickOnOtherPanels(...)"); var targetclass = event.target.getAttribute('class'); var treeitem = null; var force_open = true; if (targetclass == 'tree-cell-twisty') { treeitem = event.target.parentNode.parentNode.parentNode; force_open = false; } else { if (event.target.localName != "treecell" && event.targ... | function ClickOnOtherPanels(event, target){ debug("SelectChangeForOtherPanels(...)"); // Remove the selection in the "current" panels list var current_panels = document.getElementById('current-panels'); current_panels.clearItemSelection(); enable_buttons_for_current_panels(); if (target.getAttribute('container')... |
if (target.getAttribute('container') == 'true') { if (target.getAttribute('open') == 'true') { target.removeAttribute('open'); | if (treeitem.getAttribute('container') == 'true') { if (treeitem.getAttribute('open') == 'true') { if (force_open) { debug("close the container"); treeitem.removeAttribute('open'); } | function ClickOnOtherPanels(event, target){ debug("SelectChangeForOtherPanels(...)"); // Remove the selection in the "current" panels list var current_panels = document.getElementById('current-panels'); current_panels.clearItemSelection(); enable_buttons_for_current_panels(); if (target.getAttribute('container')... |
target.setAttribute('open','true'); } } else { link = target.getAttribute('link'); if (link && link != '') { debug("Has remote datasource: "+link); add_datasource_to_other_panels(link); target.setAttribute('container', 'true'); target.setAttribute('open', 'true'); | if (force_open) { debug("open the container"); treeitem.setAttribute('open','true'); } link = treeitem.getAttribute('link'); loaded_link = treeitem.getAttribute('loaded_link'); if (link != '' && !loaded_link) { debug("Has remote datasource: "+link); add_datasource_to_other_panels(link); treeitem.setAttribute('loaded_l... | function ClickOnOtherPanels(event, target){ debug("SelectChangeForOtherPanels(...)"); // Remove the selection in the "current" panels list var current_panels = document.getElementById('current-panels'); current_panels.clearItemSelection(); enable_buttons_for_current_panels(); if (target.getAttribute('container')... |
if (stateFlags & START) | if ((stateFlags & START) && (stateFlags & IS_NETWORK) && (stateFlags & IS_DOCUMENT)) | function client_statechange (webProgress, request, stateFlags, status){ const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener; const START = nsIWebProgressListener.STATE_START; const STOP = nsIWebProgressListener.STATE_STOP; var frame; if (stateFlags & START) { frame = get... |
dd("can't find frame for window") webProgress.removeProgressListener(this); return; | dd("can't find frame for window (start)"); try { webProgress.removeProgressListener(this); } catch(ex) { dd("Exception removing progress listener (start): " + ex); } | function client_statechange (webProgress, request, stateFlags, status){ const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener; const START = nsIWebProgressListener.STATE_START; const STOP = nsIWebProgressListener.STATE_STOP; var frame; if (stateFlags & START) { frame = get... |
else if (stateFlags == 786448) | else if ((stateFlags & STOP) && (stateFlags & IS_NETWORK)) | function client_statechange (webProgress, request, stateFlags, status){ const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener; const START = nsIWebProgressListener.STATE_START; const STOP = nsIWebProgressListener.STATE_STOP; var frame; if (stateFlags & START) { frame = get... |
dd("can't find frame for window"); webProgress.removeProgressListener(this); return; | dd("can't find frame for window (stop)"); try { webProgress.removeProgressListener(this); } catch(ex) { dd("Exception removing progress listener (stop): " + ex); } | function client_statechange (webProgress, request, stateFlags, status){ const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener; const START = nsIWebProgressListener.STATE_START; const STOP = nsIWebProgressListener.STATE_STOP; var frame; if (stateFlags & START) { frame = get... |
var cwin = getContentWindow(frame); if (cwin && "initOutputWindow" in cwin) { cwin.getMsg = getMsg; cwin.initOutputWindow(client, frame.source, onMessageViewClick); cwin.changeCSS(frame.source.getTimestampCSS("data"), "cz-timestamp-format"); cwin.changeCSS(frame.source.getFontCSS("data"), "cz-fonts"); scrollDown(frame,... | try { webProgress.removeProgressListener(this); } catch(ex) { dd("Exception removing progress listener (done): " + ex); } } | function client_statechange (webProgress, request, stateFlags, status){ const nsIWebProgressListener = Components.interfaces.nsIWebProgressListener; const START = nsIWebProgressListener.STATE_START; const STOP = nsIWebProgressListener.STATE_STOP; var frame; if (stateFlags & START) { frame = get... |
var allProps = ["id", "commonName", "rsvp", "role", "participantStatus", | var allProps = ["id", "commonName", "rsvp", "role", "participationStatus", | clone: function() { var a = new calAttendee(); var allProps = ["id", "commonName", "rsvp", "role", "participantStatus", "userType"]; for (var i in allProps) a[allProps[i]] = this[allProps[i]]; // clone properties! return a; }, |
if (this.mStartDate) m.mStartDate = this.mStartDate.clone(); if (this.mEndDate) m.mEndDate = this.mEndDate.clone(); if (this.mStampDate) m.mStampDate = this.mStampDate.clone(); | m.mStartDate = this.mStartDate.clone(); m.mEndDate = this.mEndDate.clone(); m.mStampDate = this.mStampDate.clone(); | clone: function () { var m = new calEvent(); this.cloneItemBaseInto(m); if (this.mStartDate) m.mStartDate = this.mStartDate.clone(); if (this.mEndDate) m.mEndDate = this.mEndDate.clone(); if (this.mStampDate) m.mStampDate = this.mStampDate.clone();... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.