193246 /list doesn't work on RFC2812 compliant IRC servers 114744 File->Close vs. View-Close 80125 Logging facility in Chatzilla. 198538 Chat views tab titles are lowcase 200188 PgDn/PgUp scroll left and right Chatzilla panes 199201 sound settings blocks stalked messages if WAV sound file ... 114104 messaging from private chat tab does not show the addressee 201324 Userlist not always kept sorted as requested 202644 Column sort behavior should parallel mailnews 184228 Spelling error in irc.js: "function net_conenct()". 206915 /join reports joining new channel in current window 209524 stalk word list cannot have length one 198823 Should be able to set Default Character Coding in Prefere... 200097 lowcase ``<nickname> has changed the topic to...'' 205792 important text notification does not properly differentia... 86526 chatzilla stores default prefs in prefs.js Thanks to ssieb, kazhik ans Silver for the patches. git-svn-id: svn://10.0.0.236/trunk@144030 18797224-902f-48f8-a5cc-f745e15eee43
98 lines
3.3 KiB
JavaScript
98 lines
3.3 KiB
JavaScript
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is JSIRC Test Client #3
|
|
*
|
|
* The Initial Developer of the Original Code is New Dimensions Consulting,
|
|
* Inc. Portions created by New Dimensions Consulting, Inc. are
|
|
* Copyright (C) 1999 New Dimenstions Consulting, Inc. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Robert Ginda, rginda@ndcico.com, original author
|
|
* Chiaki Koufugata, chiaki@mozilla.gr.jp, UI i18n
|
|
*/
|
|
|
|
function addCommands(commandObject)
|
|
{
|
|
|
|
function add (name, func)
|
|
{
|
|
var usage = getMsg (name + "Usage");
|
|
var help = getMsg(name + "Help");
|
|
commandObject.add (name, func, usage, help);
|
|
}
|
|
|
|
add ("about", "onInputAbout");
|
|
add ("attach", "onInputAttach");
|
|
add ("away", "onInputAway");
|
|
add ("cancel", "onInputCancel");
|
|
add ("charset", "onInputCharset");
|
|
add ("channel-charset", "onInputChannelCharset");
|
|
add ("clear", "onInputClear");
|
|
add ("client", "onInputClient");
|
|
add ("commands", "onInputCommands");
|
|
add ("ctcp", "onInputCTCP");
|
|
add ("css", "onInputCSS");
|
|
add ("delete", "onInputDelete");
|
|
add ("deop", "onInputDeop");
|
|
add ("desc", "onInputDesc");
|
|
add ("devoice", "onInputDevoice");
|
|
add ("disconnect", "onInputQuit");
|
|
add ("echo", "onInputEcho");
|
|
add ("eval", "onInputEval");
|
|
add ("exit", "onInputExit");
|
|
add ("help", "onInputHelp");
|
|
add ("headers", "onInputHeaders");
|
|
add ("hide", "onInputHide");
|
|
add ("infobar", "onInputInfobar");
|
|
add ("invite", "onInputInvite");
|
|
add ("join", "onInputJoin");
|
|
add ("j", "onInputJoin");
|
|
add ("join-charset", "onInputJoinCharset");
|
|
add ("kick", "onInputKick");
|
|
add ("leave", "onInputLeave");
|
|
add ("list", "onInputList");
|
|
add ("log", "onInputLog");
|
|
add ("me", "onInputMe");
|
|
add ("msg", "onInputMsg");
|
|
add ("name", "onInputName");
|
|
add ("names", "onInputNames");
|
|
add ("network", "onInputNetwork");
|
|
add ("networks", "onInputNetworks");
|
|
add ("nick", "onInputNick");
|
|
add ("notify", "onInputNotify");
|
|
add ("op", "onInputOp");
|
|
add ("part", "onInputLeave");
|
|
add ("ping", "onInputPing");
|
|
add ("query", "onInputQuery");
|
|
add ("quit", "onInputExit");
|
|
add ("quote", "onInputQuote");
|
|
add ("rlist", "onInputRlist");
|
|
add ("server", "onInputServer");
|
|
add ("squery", "onInputSquery");
|
|
add ("stalk", "onInputStalk");
|
|
add ("status", "onInputStatus");
|
|
add ("statusbar", "onInputStatusbar");
|
|
add ("testdisplay", "onInputTestDisplay");
|
|
add ("topic", "onInputTopic");
|
|
add ("tabstrip", "onInputTabstrip");
|
|
add ("unstalk", "onInputUnstalk");
|
|
add ("version", "onInputVersion");
|
|
add ("voice", "onInputVoice");
|
|
add ("who", "onInputSimpleCommand");
|
|
add ("whois", "onInputWhoIs");
|
|
add ("whowas", "onInputSimpleCommand");
|
|
|
|
}
|
|
|