rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "!"))
if (arrayIndexOf(this.channelTypes, e.params[1][0]) != -1)
function serv_mode (e){ e.destObject = this; /* modes are not allowed in +channels -> no need to test that here.. */ if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "!")) { e.channel = new CIRCChannel (this, e.params[1]); if ("user" in e && e.user) ...
if ((e.params[1][0] == "#") || (e.params[1][0] == "&"))
if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!"))
function serv_notice (e){ if (!("user" in e)) { e.set = "network"; e.destObject = this.parent; return true; } if ((e.params[1][0] == "#") || (e.params[1][0] == "&")) { e.channel = new CIRCChannel(this, e.params[1]); e.user = new CIRCChanUser (e.channel, e.user.n...
if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!"))
if (arrayIndexOf(this.channelTypes, e.params[1][0]) != -1)
function serv_notice (e){ if (!("user" in e)) { e.set = "network"; e.destObject = this.parent; return true; } if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!")) { e.channel = new CIRCChannel(this, e.para...
if (!this.connection.isConnected) { var ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.reason = "unknown"; this.parent.eventPump.addEvent (ev); return false; }
function serv_onsenddata (e){ var d = new Date(); if (!this.connection.isConnected) { var ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.reason = "unknown"; this.parent.eventPump.addEvent (ev); return false; } this.sendsThisRound...
if (!this.connection.isConnected) { dd ("Can't send to disconnected socket"); this.flushSendQueue(); return false; }
function serv_onsenddata (e){ var d = new Date(); this.sendsThisRound = 0; if (((d - this.lastSend) >= this.MS_BETWEEN_SENDS) && this.sendQueue.length > 0) { var s = this.sendQueue.pop(); if (s) { //dd ("queued send: " + s); ...
if (!this.isConnected)
if (!this.isConnected || (this.parent.state == NET_CANCELLING))
function serv_onsenddata (e){ if (!this.isConnected) { dd ("Can't send to disconnected socket"); this.flushSendQueue(); return false; } var d = new Date(); this.sendsThisRound = 0; // Wheee, some sanity checking! (there's been at least one case of lastSend // ending up in the *...
return true;
function serv_onsenddata (e){ var d = new Date(); if (!this.connection.isConnected) { var ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.reason = "unknown"; this.parent.eventPump.addEvent (ev); return false; } this.sendsThisRound...
else if (typeof ex != "undefined")
else
function serv_poll(e){ var lines; var ex; var ev; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.connection.host); if (jsenv.HAS_RHINO && (ex instanceof java.lang.Threa...
else line = ""
function serv_poll(e){ var lines; var ex; var ev; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.connection.host); if (jsenv.HAS_RHINO && (ex instanceof java.lang.Threa...
ev.server = this;
function serv_poll(e){ var lines; var ex; var ev; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.connection.host); if (jsenv.HAS_RHINO && (ex instanceof java.lang.Threa...
line = this.connection.readData(this.READ_TIMEOUT);
if (this.parent.state != NET_CANCELLING) line = this.connection.readData(this.READ_TIMEOUT);
function serv_poll(e){ var lines; var ex; var ev; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.hostname); if (jsenv.HAS_RHINO && (ex instanceof java.lang.ThreadDeath)) ...
var ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.reason = "error"; ev.exception = ex; this.parent.eventPump.addEvent (ev); return false;
ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.reason = "error"; ev.exception = ex; this.parent.eventPump.addEvent (ev); return false;
function serv_poll(e){ var lines; var ex; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.connection.host); if (jsenv.HAS_RHINO && (ex instanceof java.lang.ThreadDeath)) ...
var ev = new CEvent ("server", "data-available", this, "onDataAvailable");
ev = new CEvent ("server", "data-available", this, "onDataAvailable");
function serv_poll(e){ var lines; var ex; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.connection.host); if (jsenv.HAS_RHINO && (ex instanceof java.lang.ThreadDeath)) ...
return true;
function serv_poll(e){ var lines; var ex; try { line = this.connection.readData(this.READ_TIMEOUT); } catch (ex) { dd ("*** Caught exception " + ex + " reading from server " + this.connection.host); if (jsenv.HAS_RHINO && (ex instanceof java.lang.ThreadDeath)) ...
return true;
function serv_ppline(e){ var line = e.line; if (line == "") return false; var incomplete = (line[line.length] != '\n'); var lines = line.split("\n"); if (this.savedLine) { lines[0] = this.savedLine + lines[0]; this.savedLine = ""; } if (incomplete) this.sa...
e.params[2] = toUnicode(e.params[2]);
function serv_privmsg (e){ /* setting replyTo provides a standard place to find the target for */ /* replys associated with this event. */ if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!")) { e...
if ((e.params[1][0] == "#") || (e.params[1][0] == "&"))
if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!"))
function serv_privmsg (e){ /* setting replyTo provides a standard place to find the target for */ /* replys associated with this event. */ if ((e.params[1][0] == "#") || (e.params[1][0] == "&")) { e.channel = new CIRCChannel(this, e.params[1]); e.user ...
if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!"))
if (arrayIndexOf(this.channelTypes, e.params[1][0]) != -1)
function serv_privmsg (e){ /* setting replyTo provides a standard place to find the target for */ /* replys associated with this event. */ if ((e.params[1][0] == "#") || (e.params[1][0] == "&") || (e.params[1][0] == "+") || (e.params[1][0] == "!")) { e.cha...
e.params[1] = toUnicode(e.params[1]);
function serv_quit (e){ for (var c in e.server.channels) { if (e.server.channels[c].active && e.user.nick in e.server.channels[c].users) { var ev = new CEvent ("channel", "quit", e.server.channels[c], "onQuit"); ev.user = e.server.chan...
var msg; switch (status) { case NS_ERROR_CONNECTION_REFUSED: msg = "Connection to " + this.connection.host + ":" + this.connection.port + " refused."; break; case NS_ERROR_NET_TIMEOUT: msg = "Connection to " + this.connection.host + ":" + this.connection.port + " timed out."; break; case NS_ERROR_UNKNOWN_HOST: msg =...
function serv_sockdiscon(status){ this.connection.isConnected = false; var ev = new CEvent ("server", "disconnect", this, "onDisconnect"); ev.disconnectStatus = status; this.parent.eventPump.addEvent (ev); var msg; switch (status) { case NS_ERROR_CONNECTION_REFUSED: msg = ...
e.channel.topic = e.params[2];
e.channel.topic = toUnicode(e.params[2], e.channel.charset);
function serv_topic (e){ e.channel = new CIRCChannel (this, e.params[1]); e.channel.topicBy = e.user.nick; e.channel.topicDate = new Date(); e.channel.topic = e.params[2]; e.destObject = e.channel; e.set = "channel"; return true; }
e.user = new CIRCUser(this.parent, e.params[1])
e.user = new CIRCUser(this, e.params[1])
function serv_usermode (e){ e.user = new CIRCUser(this.parent, e.params[1]) e.user.modestr = e.params[2]; e.destObject = this.parent; e.set = "network"; // usermode usually happens on connect, after the MOTD, so it's a good // place to kick off the lag timer. this.updateLagTimer(); return true;}
}
},
serverDoesntSupportACL : function() { var typeLabel = document.getElementById("folderTypeLabel"); if (typeLabel) typeLabel.setAttribute("hidden", "true"); var permissionsLabel = document.getElementById("permissionsDescLabel"); if (permissionsLabel) permissionsLabel.setAttribute(...
var isMailAccount = parent.GetPageData().accounttype.mailaccount;
var pageData = parent.GetPageData(); var isMailAccount = pageData.accounttype.mailaccount;
function serverPageInit() { gOnMailServersPage = (document.documentElement.currentPage.id == "serverpage"); gOnNewsServerPage = (document.documentElement.currentPage.id == "newsserver"); if (gOnNewsServerPage) { var newsServer = document.getElementById("newsServer"); var pageData = parent.GetPageData(); tr...
setPageData(pageData, "identity", "smtpServerKey", smtpServer.key);
function serverPageInit() { gOnMailServersPage = (document.documentElement.currentPage.id == "serverpage"); gOnNewsServerPage = (document.documentElement.currentPage.id == "newsserver"); if (gOnNewsServerPage) { var newsServer = document.getElementById("newsServer"); var pageData = parent.GetPageData(); tr...
var smtpStatic = document.getElementById("smtpStaticText"); if (smtpServer && smtpServer.hostname && smtpStatic && smtpStatic.hasChildNodes()) { var staticText = smtpStatic.firstChild.nodeValue; staticText = staticText.replace(/@server_name@/, smtpServer.hostname); while (smtpStatic.hasChildNodes()) smtpStatic.removeCh...
var noSmtpBox = document.getElementById("noSmtp"); var haveSmtpBox = document.getElementById("haveSmtp"); var boxToHide; var boxToShow; if (smtpServer && smtpServer.hostname && smtpServer.redirectorType == null) { modifyStaticText(smtpServer.hostname, "1") var smtpTextBox = document.getElementById("smtphostname"); ...
function serverPageInit() { gOnMailServersPage = (document.documentElement.currentPage.id == "serverpage"); gOnNewsServerPage = (document.documentElement.currentPage.id == "newsserver"); if (gOnNewsServerPage) { var newsServer = document.getElementById("newsServer"); var pageData = parent.GetPageData(); tr...
hideShowSmtpSettings(smtpServer);
if (boxToHide) boxToHide.setAttribute("hidden", "true"); if (boxToShow) boxToShow.removeAttribute("hidden");
function serverPageInit() { gOnMailServersPage = (document.documentElement.currentPage.id == "serverpage"); gOnNewsServerPage = (document.documentElement.currentPage.id == "newsserver"); if (gOnNewsServerPage) { var newsServer = document.getElementById("newsServer"); var pageData = parent.GetPageData(); tr...
var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer");
var smtpServerName = trim(document.getElementById("smtphostname").value); var incomingServerName = trim(document.getElementById("incomingServer").value); var newsServerName = trim(document.getElementById("newsServer").value);
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) || (hostnameIsIllegal(smtpserver.value)))) || (gOnNewsServerPage && hostnameIsIllegal(newsServerName.value))) {
((hostnameIsIllegal(incomingServerName) && !gHideIncoming) || (hostnameIsIllegal(smtpServerName)))) || (gOnNewsServerPage && hostnameIsIllegal(newsServerName))) {
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
hostName = incomingServerName.value;
hostName = incomingServerName;
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
hostName = newsServerName.value;
hostName = newsServerName;
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
setPageData(pageData, "server", "hostname", incomingServerName.value);
setPageData(pageData, "server", "hostname", incomingServerName);
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
setPageData(pageData, "server", "smtphostname", smtpserver.value);
setPageData(pageData, "server", "smtphostname", smtpServerName);
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
setPageData(pageData, "newsserver", "hostname", newsServerName.value);
setPageData(pageData, "newsserver", "hostname", newsServerName);
function serverPageValidate() { var smtpserver = document.getElementById("smtphostname"); var incomingServerName = document.getElementById("incomingServer"); var newsServerName = document.getElementById("newsServer"); if ((gOnMailServersPage && ((hostnameIsIllegal(incomingServerName.value) && !gHideIncoming) ...
rv = "User ``" + s.me.properNick + "'' Attached to ";
rv = getMsg("cli_istatusMsg", s.me.properNick);
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
rv = "No longer attached to ";
rv = getMsg("cli_istatusMsg2");
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
rv += "``" + s.parent.name + "'' via ";
rv += getMsg("cli_istatusMsg3", s.parent.name);
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
rv += " (Primary Server.)\n";
rv += getMsg("cli_istatusPrimServ");
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
rv += "Connected for " + formatDateOffset ((new Date() - s.connection.connectDate) / 1000);
rv += getMsg("cli_istatusMsg4", formatDateOffset ((new Date() - s.connection.connectDate) / 1000));
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
rv += ", last ping was " + formatDateOffset ((new Date() - s.lastPing) / 1000) + " ago";
rv += getMsg("cli_istatusMsg5", formatDateOffset ((new Date() - s.lastPing) / 1000));
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
rv += ", server roundtrip (lag) is " + s.lag + " seconds.";
rv += getMsg("cli_istatusMsg6", s.lag);
function serverStatus (s) { var rv; var serverName = s.connection.host + ":" + s.connection.port; if (s.connection.isConnected) rv = "User ``" + s.me.properNick + "'' Attached to "; else rv = "No longer attached to "; if (s.parent.name !== s.connec...
set defaultString(a) { this.mSelectedFilter = a; },
set defaultString(a) { this.mDefaultString = a; },
set defaultString(a) { this.mSelectedFilter = a; },
booleanNodes[i].setAttribute("value", staticString);
booleanNodes[i].setAttribute("label", staticString);
set booleanAnd(val) { // whenever you set this, all nodes in booleanNodes // are updated to reflect the string if (this.internalBooleanAnd == val) return val; this.internalBooleanAnd = val; var booleanNodes = this.booleanNodes; if (!booleanNodes) return val;...
this._closedWindows = IniObjectSerializer.decode(aData);
this._closedWindows = aData;
set closedWindowData(aData) { this._closedWindows = IniObjectSerializer.decode(aData); },
this.mDirty = false;
set icalComponent(event) { this.modify(); if (event.componentType != "VEVENT") { event = event.getFirstSubcomponent("VEVENT"); if (!event) throw Components.results.NS_ERROR_INVALID_ARG; } this.setItemBaseFromICS(event); this.mapPropsFromICS(eve...
this.mUri = aUri;
set uri(aUri) { this.mMemoryCalendar.uri = this.mUri; this.mUri = aUri; this.refresh(); },
this.mAttrTree.treeBoxObject.invalidate();
set subject(aObject) { this.mSubject = aObject; var deck = document.getElementById("dkContent"); if (aObject.nodeType == Node.ELEMENT_NODE) { deck.setAttribute("selectedIndex", 0); this.setTextValue("nodeName", aObject.nodeName); this.setTextValue("nodeType", aObject.nodeType); ...
this.mAttrTree.treeBoxObject.invalidate();
set subject(aObject) { this.mSubject = aObject; var deck = document.getElementById("dkContent"); if (aObject.nodeType == Node.ELEMENT_NODE) { deck.setAttribute("selectedIndex", 0); this.setTextValue("nodeName", aObject.nodeName); this.setTextValue("nodeType", aObject.nodeType); ...
getCalendarManager().setCalendarPref(this, "READONLY", bool);
throw Components.results.NS_ERROR_NOT_IMPLEMENTED;
set readOnly(bool) { // You really don't want to set this as true, but in theory, you could getCalendarManager().setCalendarPref(this, "READONLY", bool); },
this.mTree.view = new ComputedStyleView(aObject);
this.mTreeView = new ComputedStyleView(aObject); this.mTree.view = this.mTreeView;
set subject(aObject) { this.mTree.view = new ComputedStyleView(aObject); this.mObsMan.dispatchEvent("subjectChange", { subject: aObject }); },
if (value != this._value) { this._pb.setCharPref(this._pref, this._serializable.serialize(value)); var ps = this._pb.QueryInterface(Ci.nsIPrefService); ps.savePrefFile(null); } return value;
return this.searchFilter.value = value;
set value(value) { if (value != this._value) { this._pb.setCharPref(this._pref, this._serializable.serialize(value)); var ps = this._pb.QueryInterface(Ci.nsIPrefService); ps.savePrefFile(null); } return value; }
if ( "checked" in aDataObject && element.getAttribute( "reversed" ) == "true" ) element.checked = !aDataObject.checked;
set_Checkbox: function ( aElementID, aDataObject ) { var element = wsm.contentArea.document.getElementById( aElementID ); wsm.generic_Set( element, aDataObject ); },
if( 'data' in aDataObject ) { element.selectedItem = element.getElementsByAttribute( "data", aDataObject.data )[0];
if( 'value' in aDataObject ) { element.selectedItem = element.getElementsByAttribute( "value", aDataObject.value )[0];
set_Menulist: function ( aElementID, aDataObject ) { var element = wsm.contentArea.document.getElementById( aElementID ); // set all generic properties wsm.generic_Set( element, aDataObject ); // set menulist specific properties if( 'data' in aDataObject ) ...
if( 'data' in aDataObject ) { element.selectedItem = element.getElementsByAttribute( "data", aDataObject.data )[0];
if( 'value' in aDataObject ) { element.selectedItem = element.getElementsByAttribute( "value", aDataObject.value )[0];
set_Radiogroup: function ( aElementID, aDataObject ) { var element = wsm.contentArea.document.getElementById( aElementID ); wsm.generic_Set( element, aDataObject ); if( 'data' in aDataObject ) { element.selectedItem = element.getElementsByAtt...
if (!sortColumn) sortColumn = kDefaultSortColumn; if (!sortDirection) sortDirection = kDefaultAscending;
function SetAbView(uri, searchView, sortColumn, sortDirection){ var actualSortColumn; if (gAbView && gCurDirectory == GetSelectedDirectory()) { // re-init the view actualSortColumn = gAbView.init(uri, searchView, GetAbViewListener(), sortColumn, sortDirection); } else { CloseAbView(); gCurDirectory = Get...
var value = document.getElementById(listID).selectedItem.data;
var value = document.getElementById(listID).selectedItem.value;
function SetAlign(listID, defaultValue, element, attName){ var value = document.getElementById(listID).selectedItem.data; if (value == defaultValue) element.removeAttribute(attName); else element.setAttribute(attName, value);}
if (value == defaultValue) element.removeAttribute(attName);
if (value == defaultValue) { gEditor.removeAttributeOrEquivalent(element, attName, true); }
function SetAlign(listID, defaultValue, element, attName){ var value = document.getElementById(listID).selectedItem.value; if (value == defaultValue) element.removeAttribute(attName); else element.setAttribute(attName, value);}
function SetBackColorString(xulElementID)
function SetBackColorString(xulElementID, allowPageBackground)
function SetBackColorString(xulElementID){ var xulElement = document.getElementById(xulElementID); if (xulElement) { var textVal; var selectedCountObj = new Object(); var tagNameObj = new Object(); var element = editorShell.GetSelectedOrParentTableElement(tagNameObj, selectedCountObj); if (tagNameOb...
else
else if (allowPageBackground)
function SetBackColorString(xulElementID){ var xulElement = document.getElementById(xulElementID); if (xulElement) { var textVal; var selectedCountObj = new Object(); var tagNameObj = new Object(); var element = editorShell.GetSelectedOrParentTableElement(tagNameObj, selectedCountObj); if (tagNameOb...
xulElement.setAttribute("value",textVal);
if (textVal) xulElement.setAttribute("value",textVal);
function SetBackColorString(xulElementID){ var xulElement = document.getElementById(xulElementID); if (xulElement) { var textVal; var selectedCountObj = new Object(); var tagNameObj = new Object(); var element = editorShell.GetSelectedOrParentTableElement(tagNameObj, selectedCountObj); if (tagNameOb...
this.mPrefService.SetBoolPref(aPrefName, aPrefValue);
this.mPrefService.setBoolPref(aPrefName, aPrefValue);
setBoolPref: function (aPrefName, aPrefValue) { try { this.mPrefService.SetBoolPref(aPrefName, aPrefValue); } catch(e) { } },
clearBreakpoint (fileName, line);
function setBreakpoint (fileName, line){ var ary = console._scripts[fileName]; if (!ary) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return false; } /* In case we've already got a breakpoint at this filename/ line, * clear it before we continue. This keeps us from hav...
console._breakpoints.push (bpList);
{ var found = false; for (var b in console._breakpoints) if (console._breakpoints[b].fileName == fileName && console._breakpoints[b].line == line) { console._breakpoints[b] = bpList; found = true; break; } if (!found) console._breakpoints.push (bpList); }
function setBreakpoint (fileName, line){ var ary = console._scripts[fileName]; if (!ary) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return false; } /* In case we've already got a breakpoint at this filename/ line, * clear it before we continue. This keeps us from hav...
if (console._sources[fileName]) console._sources[fileName][line - 1].isBreakpoint = true; else { function cb (data, url) { console._sources[fileName][line - 1].isBreakpoint = true; } loadSource(fileName, cb); }
function setBreakpoint (fileName, line){ var ary = console._scripts[fileName]; if (!ary) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return false; } /* In case we've already got a breakpoint at this filename/ line, * clear it before we continue. This keeps us from hav...
var sourceRecord = console.scripts[fileName];
var scriptRec = console.scripts[fileName];
function setBreakpoint (fileName, line){ var sourceRecord = console.scripts[fileName]; if (!sourceRecord) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return null; } var bpr = console.breakpoints.locateChildByFileLine (fileName, line); if (bpr) { display (getMs...
if (!sourceRecord)
if (!scriptRec)
function setBreakpoint (fileName, line){ var sourceRecord = console.scripts[fileName]; if (!sourceRecord) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return null; } var bpr = console.breakpoints.locateChildByFileLine (fileName, line); if (bpr) { display (getMs...
var ary = sourceRecord.childData;
var ary = scriptRec.childData;
function setBreakpoint (fileName, line){ var sourceRecord = console.scripts[fileName]; if (!sourceRecord) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return null; } var bpr = console.breakpoints.locateChildByFileLine (fileName, line); if (bpr) { display (getMs...
if (ary[i].containsLine(line) && ary[i].script.isLineExecutable(line))
if (ary[i].containsLine(line) && ary[i].script.isLineExecutable(line, PCMAP_SOURCETEXT))
function setBreakpoint (fileName, line){ var sourceRecord = console.scripts[fileName]; if (!sourceRecord) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return null; } var bpr = console.breakpoints.locateChildByFileLine (fileName, line); if (bpr) { display (getMs...
if (sourceRecord.isLoaded && sourceRecord.sourceText[line - 1])
if (scriptRec.sourceText.isLoaded && scriptRec.sourceText.sourceText[line - 1])
function setBreakpoint (fileName, line){ var sourceRecord = console.scripts[fileName]; if (!sourceRecord) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return null; } var bpr = console.breakpoints.locateChildByFileLine (fileName, line); if (bpr) { display (getMs...
sourceRecord.sourceText[line - 1].bpRecord = bpr;
scriptRec.sourceText.sourceText[line - 1].bpRecord = bpr;
function setBreakpoint (fileName, line){ var sourceRecord = console.scripts[fileName]; if (!sourceRecord) { display (getMsg(MSN_ERR_NOSCRIPT, fileName), MT_ERROR); return null; } var bpr = console.breakpoints.locateChildByFileLine (fileName, line); if (bpr) { display (getMs...
if(enable) window.setCursor("wait"); else window.setCursor("auto");
if ("setCursor" in window) { if (enable) window.setCursor("wait"); else window.setCursor("auto"); }
function SetBusyCursor(window, enable){ if(enable) window.setCursor("wait"); else window.setCursor("auto"); var numFrames = window.frames.length; for(var i = 0; i < numFrames; i++) SetBusyCursor(window.frames[i], enable);}
if(enable == true)
if("setCursor" in window)
SetBusyCursor(window, enable){ if(enable == true) { window.setCursor("wait"); debug("Directory: cursor=busy\n"); } else { window.setCursor("auto"); debug("Directory: cursor=notbusy\n"); } var numFrames = window.frames.length; for(var i = 0; i < numFrames; i++) { ...
window.setCursor("wait"); debug("Directory: cursor=busy\n"); } else { window.setCursor("auto"); debug("Directory: cursor=notbusy\n");
if(enable == true) { window.setCursor("wait"); debug("Directory: cursor=busy\n"); } else { window.setCursor("auto"); debug("Directory: cursor=notbusy\n"); }
SetBusyCursor(window, enable){ if(enable == true) { window.setCursor("wait"); debug("Directory: cursor=busy\n"); } else { window.setCursor("auto"); debug("Directory: cursor=notbusy\n"); } var numFrames = window.frames.length; for(var i = 0; i < numFrames; i++) { ...
setButtons: function(backButtonLabel, backButtonDisabled, nextButtonLabel, nextButtonDisabled, finishButtonLabel, finishButtonDisabled, cancelButtonLabel, cancelButtonDisabled,
setButtons: function(backButtonString, backButtonDisabled, nextButtonString, nextButtonDisabled, finishButtonString, finishButtonDisabled, cancelButtonString, cancelButtonDisabled,
setButtons: function(backButtonLabel, backButtonDisabled, nextButtonLabel, nextButtonDisabled, finishButtonLabel, finishButtonDisabled, cancelButtonLabel, cancelButtonDisabled, hideBackAndCancelButtons, extr...
extraButtonLabel, extraButtonDisabled) {
extraButtonString, extraButtonDisabled) {
setButtons: function(backButtonLabel, backButtonDisabled, nextButtonLabel, nextButtonDisabled, finishButtonLabel, finishButtonDisabled, cancelButtonLabel, cancelButtonDisabled, hideBackAndCancelButtons, extr...
bb.label = backButtonLabel || this._buttonLabel_back; bn.label = nextButtonLabel || this._buttonLabel_next; bf.label = finishButtonLabel || this._buttonLabel_finish; bc.label = cancelButtonLabel || this._buttonLabel_hide; be.label = extraButtonLabel || this._buttonLabel_hide;
this._setButton(bb, backButtonString); this._setButton(bn, nextButtonString); this._setButton(bf, finishButtonString); this._setButton(bc, cancelButtonString); this._setButton(be, extraButtonString);
setButtons: function(backButtonLabel, backButtonDisabled, nextButtonLabel, nextButtonDisabled, finishButtonLabel, finishButtonDisabled, cancelButtonLabel, cancelButtonDisabled, hideBackAndCancelButtons, extr...
be.hidden = extraButtonLabel == null;
be.hidden = extraButtonString == null;
setButtons: function(backButtonLabel, backButtonDisabled, nextButtonLabel, nextButtonDisabled, finishButtonLabel, finishButtonDisabled, cancelButtonLabel, cancelButtonDisabled, hideBackAndCancelButtons, extr...
extraButtonString, extraButtonDisabled) {
extraButton1String, extraButton1Disabled, extraButton2String, extraButton2Disabled) {
setButtons: function(backButtonString, backButtonDisabled, nextButtonString, nextButtonDisabled, finishButtonString, finishButtonDisabled, cancelButtonString, cancelButtonDisabled, hideBackAndCancelButtons, e...
var be = this.wiz.getButton("extra1");
var be1 = this.wiz.getButton("extra1"); var be2 = this.wiz.getButton("extra2");
setButtons: function(backButtonString, backButtonDisabled, nextButtonString, nextButtonDisabled, finishButtonString, finishButtonDisabled, cancelButtonString, cancelButtonDisabled, hideBackAndCancelButtons, e...
this._setButton(be, extraButtonString);
this._setButton(be1, extraButton1String); this._setButton(be2, extraButton2String);
setButtons: function(backButtonString, backButtonDisabled, nextButtonString, nextButtonDisabled, finishButtonString, finishButtonDisabled, cancelButtonString, cancelButtonDisabled, hideBackAndCancelButtons, e...
be.disabled = extraButtonDisabled;
be1.disabled = extraButton1Disabled; be2.disabled = extraButton2Disabled;
setButtons: function(backButtonString, backButtonDisabled, nextButtonString, nextButtonDisabled, finishButtonString, finishButtonDisabled, cancelButtonString, cancelButtonDisabled, hideBackAndCancelButtons, e...
be.hidden = extraButtonString == null;
be1.hidden = extraButton1String == null; be2.hidden = extraButton2String == null;
setButtons: function(backButtonString, backButtonDisabled, nextButtonString, nextButtonDisabled, finishButtonString, finishButtonDisabled, cancelButtonString, cancelButtonDisabled, hideBackAndCancelButtons, e...
this.wiz.canAdvance = !(nextButtonDisabled && finishButtonDisabled);
if (this.wiz.onLastPage) this.wiz.canAdvance = !finishButtonDisabled; else this.wiz.canAdvance = !nextButtonDisabled;
setButtons: function(backButtonLabel, backButtonDisabled, nextButtonLabel, nextButtonDisabled, finishButtonLabel, finishButtonDisabled, cancelButtonLabel, cancelButtonDisabled, hideBackAndCancelButtons, extr...
var remoteCommand = document.getElementById("reload_remote_calendars"); if (!hasRefreshableCal) { remoteCommand.setAttribute("disabled", true); } else { remoteCommand.removeAttribute("disabled"); }
function setCalendarManagerUI(){ var calendarList = document.getElementById("list-calendars-listbox"); var child; while ((child = calendarList.lastChild) && (child.tagName == "listitem")) { calendarList.removeChild(child); } var composite = getDisplayComposite(); var calmgr = getCalendarManager...
pp.name = name;
setCalendarPref: function(calendar, name, value) { var calendarID = this.findCalendarID(calendar); this.mDB.beginTransaction(); var pp = this.mDeletePref.params; pp.calendar = calendarID; this.mDeletePref.step(); this.mDeletePref.reset(); pp = this.mInsertPref.params...
if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').value; cardproperty.primaryEmail = doc.getElementB...
if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').value;
function SetCardValues(cardproperty, doc){ if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').valu...
var popup = document.getElementById('PreferMailFormatPopup'); if ( popup ) cardproperty.preferMailFormat = popup.data; cardproperty.workPhone = doc.getElementById('WorkPhone').value; cardproperty.homePhone = doc.getElementById('HomePhone').value; cardproperty.faxNumber = doc.getElementById('FaxNumber').value; cardprop...
cardproperty.primaryEmail = doc.getElementById('PrimaryEmail').value; cardproperty.secondEmail = doc.getElementById('SecondEmail').value;
function SetCardValues(cardproperty, doc){ if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').valu...
cardproperty.homeAddress = doc.getElementById('HomeAddress').value; cardproperty.homeAddress2 = doc.getElementById('HomeAddress2').value; cardproperty.homeCity = doc.getElementById('HomeCity').value; cardproperty.homeState = doc.getElementById('HomeState').value; cardproperty.homeZipCode = doc.getElementById('HomeZipCo...
var popup = document.getElementById('PreferMailFormatPopup'); if ( popup ) cardproperty.preferMailFormat = popup.value;
function SetCardValues(cardproperty, doc){ if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').valu...
cardproperty.jobTitle = doc.getElementById('JobTitle').value; cardproperty.department = doc.getElementById('Department').value; cardproperty.company = doc.getElementById('Company').value; cardproperty.workAddress = doc.getElementById('WorkAddress').value; cardproperty.workAddress2 = doc.getElementById('WorkAddress2').v...
cardproperty.workPhone = doc.getElementById('WorkPhone').value; cardproperty.homePhone = doc.getElementById('HomePhone').value; cardproperty.faxNumber = doc.getElementById('FaxNumber').value; cardproperty.pagerNumber = doc.getElementById('PagerNumber').value; cardproperty.cellularNumber = doc.getElementById('CellularNu...
function SetCardValues(cardproperty, doc){ if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').valu...
cardproperty.custom1 = doc.getElementById('Custom1').value; cardproperty.custom2 = doc.getElementById('Custom2').value; cardproperty.custom3 = doc.getElementById('Custom3').value; cardproperty.custom4 = doc.getElementById('Custom4').value; cardproperty.notes = doc.getElementById('Notes').value; }
cardproperty.homeAddress = doc.getElementById('HomeAddress').value; cardproperty.homeAddress2 = doc.getElementById('HomeAddress2').value; cardproperty.homeCity = doc.getElementById('HomeCity').value; cardproperty.homeState = doc.getElementById('HomeState').value; cardproperty.homeZipCode = doc.getElementById('HomeZipCo...
function SetCardValues(cardproperty, doc){ if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').valu...
CallSaveListeners();
function SetCardValues(cardproperty, doc){ if (cardproperty) { cardproperty.firstName = doc.getElementById('FirstName').value; cardproperty.lastName = doc.getElementById('LastName').value; cardproperty.displayName = doc.getElementById('DisplayName').value; cardproperty.nickName = doc.getElementById('NickName').valu...
return;
return true;
function setCharset (charset){ client.CHARSET = charset; if (!charset) { delete client.ucConverter; client.eventPump.removeHookByName("uc-hook"); return; } if (!("ucConverter" in client)) { const UC_CTRID = "@mozilla.org/intl/scriptableunicodeconverter"; cons...
if (!("ucConverter" in client))
var ex; try
function setCharset (charset){ client.CHARSET = charset; if (!charset) { delete client.ucConverter; client.eventPump.removeHookByName("uc-hook"); return; } if (!("ucConverter" in client)) { const UC_CTRID = "@mozilla.org/intl/scriptableunicodeconverter"; cons...
const UC_CTRID = "@mozilla.org/intl/scriptableunicodeconverter"; const nsIUnicodeConverter = Components.interfaces.nsIScriptableUnicodeConverter; client.ucConverter = Components.classes[UC_CTRID].createInstance(nsIUnicodeConverter);
if (!("ucConverter" in client)) { const UC_CTRID = "@mozilla.org/intl/scriptableunicodeconverter"; const nsIUnicodeConverter = Components.interfaces.nsIScriptableUnicodeConverter; client.ucConverter = Components.classes[UC_CTRID].getService(nsIUnicodeConverter); } client.ucConverter.charset = charset; if (!client.eve...
function setCharset (charset){ client.CHARSET = charset; if (!charset) { delete client.ucConverter; client.eventPump.removeHookByName("uc-hook"); return; } if (!("ucConverter" in client)) { const UC_CTRID = "@mozilla.org/intl/scriptableunicodeconverter"; cons...
client.ucConverter.charset = charset; if (!client.eventPump.getHook("uc-hook")) { client.eventPump.addHook ([{type: "privmsg", set: "server"}], ucConvertIncomingMessage, "uc-hook"); }
return true;
function setCharset (charset){ client.CHARSET = charset; if (!charset) { delete client.ucConverter; client.eventPump.removeHookByName("uc-hook"); return; } if (!("ucConverter" in client)) { const UC_CTRID = "@mozilla.org/intl/scriptableunicodeconverter"; cons...
if (!client.eventPump.getHook("uc-hook")) { client.eventPump.addHook ([{type: "parseddata", set: "server"}], ucConvertIncomingMessage, "uc-hook"); }
function setCharset (charset){ client.CHARSET = charset; if (!charset) { delete client.ucConverter; client.eventPump.removeHookByName("uc-hook"); return true; } var ex; try { if (!("ucConverter" in client)) { const UC_CTRID = "@mozil...
checkboxElement.setAttribute("value", aChkMsg);
checkboxElement.label = aChkMsg;
function setCheckbox(aChkMsg, aChkValue){ if (aChkMsg) { var checkboxElement = document.getElementById("checkbox"); unHideElementByID("checkboxContainer"); checkboxElement.setAttribute("value", aChkMsg); checkboxElement.checked = aChkValue > 0 ? true : false; }}
_addClickAndHoldListenersOnElement(backButton); _addClickAndHoldListenersOnElement(forwardButton);
if (forwardButton) _addClickAndHoldListenersOnElement(forwardButton);
function SetClickAndHoldHandlers(){ function _addClickAndHoldListenersOnElement(aElm) { aElm.addEventListener("mousedown", ClickAndHoldMouseDown, false); aElm.addEventListener("mouseup", MayStopClickAndHoldTimer, ...
initStatic(); if (client.STARTUP_NETWORK) client.onInputAttach ({inputData: client.STARTUP_NETWORK});
if (client.output) { dd ("Got output element."); initStatic(); if (client.STARTUP_NETWORK) client.onInputAttach ({inputData: client.STARTUP_NETWORK}); } else dd ("ARG! Couldn't get output element, try again later.");
function setClientOutput(doc) { client.output = doc.getElementById("output"); /* continue processing now: */ initStatic(); if (client.STARTUP_NETWORK) client.onInputAttach ({inputData: client.STARTUP_NETWORK}); }
if (client.startupNetwork) client.onInputAttach ({inputData: client.startupNetwork});
if (client.STARTUP_NETWORK) client.onInputAttach ({inputData: client.STARTUP_NETWORK});
function setClientOutput(doc) { client.output = doc.getElementById("output"); /* continue processing now: */ initStatic(); if (client.startupNetwork) client.onInputAttach ({inputData: client.startupNetwork});}