From 9ca32ef31a2566af48c06f258722738df92366af Mon Sep 17 00:00:00 2001 From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- data/doctemplates/rfc2812.template | 86 +++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 43 deletions(-) (limited to 'data/doctemplates/rfc2812.template') diff --git a/data/doctemplates/rfc2812.template b/data/doctemplates/rfc2812.template index 596f58b3..6672b517 100644 --- a/data/doctemplates/rfc2812.template +++ b/data/doctemplates/rfc2812.template @@ -281,7 +281,7 @@ the only restriction on a channel name is that it SHALL NOT contain any spaces (' '), a control G (^G or ASCII 7), a comma (','). Space is used as parameter separator and command is used as a list item separator by the protocol). A colon (':') can also be used as a -delimiter for the channel tqmask. Channel names are case insensitive. +delimiter for the channel mask. Channel names are case insensitive. See the protocol grammar rules (section 2.3.1) for the exact syntax of a channel name.[br] [p] @@ -414,7 +414,7 @@ The extracted message is parsed into the components <prefix>, target = nickname / server msgtarget = msgto *( "," msgto ) msgto = channel / ( user [ "%" host ] "@" servername ) - msgto =/ ( user "%" host ) / targettqmask + msgto =/ ( user "%" host ) / targetmask msgto =/ nickname / ( nickname "!" user "@" host ) channel = ( "#" / "+" / ( "!" channelid ) / "&" ) chanstring [ ":" chanstring ] @@ -429,7 +429,7 @@ The extracted message is parsed into the components <prefix>, ip6addr = 1*hexdigit 7( ":" 1*hexdigit ) ip6addr =/ "0:0:0:0:0:" ( "0" / "FFFF" ) ":" ip4addr nickname = ( letter / special ) *8( letter / digit / special / "-" ) - targettqmask = ( "$" / "#" ) tqmask + targetmask = ( "$" / "#" ) mask ; see details on allowed masks in section 3.3.1 chanstring = %x01-07 / %x08-09 / %x0B-0C / %x0E-1F / %x21-2B chanstring =/ %x2D-39 / %x3B-FF @@ -493,7 +493,7 @@ is supplied in section 5 (Replies). [/td][/tr] [tr][td] -When wildcards are allowed in a string, it is referred as a "tqmask". +When wildcards are allowed in a string, it is referred as a "mask". [p] For string matching purposes, the protocol allows the use of two special characters: '?' (%x3F) to match one and only one character, @@ -503,7 +503,7 @@ characters can be escaped using the character '\' (%x5C). [pre] The Augmented BNF syntax for this is: - tqmask = *( nowild / noesc wildone / noesc wildmany ) + mask = *( nowild / noesc wildone / noesc wildmany ) wildone = %x3F wildmany = %x2A nowild = %x01-29 / %x2B-3E / %x40-FF @@ -638,7 +638,7 @@ the username, hostname and realname of a new user. The <mode> parameter should be a numeric, and can be used to automatically set user modes when registering with the server. This -parameter is a bittqmask, with only 2 bits having any signification: if +parameter is a bitmask, with only 2 bits having any signification: if the bit 2 is set, the user mode 'w' will be set and if the bit 3 is set, the user mode 'i' will be set. (See Section 3.1.5 "User Modes"). @@ -769,7 +769,7 @@ service. The service may only be known to servers which have a name matching the distribution. For a matching server to have knowledge of the service, the network path between that server and the server on which the service is connected MUST be composed of servers which -names all match the tqmask. +names all match the mask. The <type> parameter is currently reserved for future usage. @@ -1266,9 +1266,9 @@ PRIVMSG is used to send private messages between users, as well as to send messages to channels. <msgtarget> is usually the nickname of the recipient of the message, or a channel name. -The <msgtarget> parameter may also be a host tqmask (#<tqmask>) or server -tqmask ($<tqmask>). In both cases the server will only send the PRIVMSG -to those who have a server or host matching the tqmask. The tqmask MUST +The <msgtarget> parameter may also be a host mask (#<mask>) or server +mask ($<mask>). In both cases the server will only send the PRIVMSG +to those who have a server or host matching the mask. The mask MUST have at least 1 (one) "." in it and no wildcards following the last ".". This requirement exists to prevent people sending messages to "#*" or "$*", which would broadcast to all users. Wildcards are the @@ -1389,13 +1389,13 @@ Wildcards are allowed in the <target> parameter. [tr][td][pre] Command: LUSERS -Parameters: [ <tqmask> [ <target> ] ] +Parameters: [ <mask> [ <target> ] ] The LUSERS command is used to get statistics about the size of the IRC network. If no parameter is given, the reply will be about the -whole net. If a <tqmask> is specified, then the reply will only +whole net. If a <mask> is specified, then the reply will only concern the part of the network formed by the servers matching the -tqmask. Finally, if the <target> parameter is specified, the request +mask. Finally, if the <target> parameter is specified, the request is forwarded to that server which will generate the reply. Wildcards are allowed in the <target> parameter. @@ -1486,13 +1486,13 @@ published this way. [tr][td][pre] Command: LINKS -Parameters: [ [ <remote server> ] <server tqmask> ] +Parameters: [ [ <remote server> ] <server mask> ] With LINKS, a user can list all servernames, which are known by the server answering the query. The returned list of servers MUST match -the tqmask, or if no tqmask is given, the full list is returned. +the mask, or if no mask is given, the full list is returned. -If <remote server> is given in addition to <server tqmask>, the LINKS +If <remote server> is given in addition to <server mask>, the LINKS command is forwarded to the first server found that matches that name (if any), and that server is then required to answer the query. @@ -1545,7 +1545,7 @@ Parameters: <target server> <port> [ <remote server> ] The CONNECT command can be used to request a server to try to establish a new connection to another server immediately. CONNECT is a privileged command and SHOULD be available only to IRC Operators. -If a <remote server> is given and its tqmask doesn't match name of the +If a <remote server> is given and its mask doesn't match name of the parsing server, the CONNECT attempt is sent to the first match of remote server. Otherwise the CONNECT attempt is made by the server processing the request. @@ -1698,7 +1698,7 @@ information about any service which is connected to the network. [tr][td][pre] Command: SERVLIST -Parameters: [ <tqmask> [ <type> ] ] +Parameters: [ <mask> [ <type> ] ] The SERVLIST command is used to list services currently connected to the network and visible to the user issuing the command. The @@ -1756,20 +1756,20 @@ allowed to. [tr][td][pre] Command: WHO -Parameters: [ <tqmask> [ "o" ] ] +Parameters: [ <mask> [ "o" ] ] The WHO command is used by a client to generate a query which returns -a list of information which 'matches' the <tqmask> parameter given by -the client. In the absence of the <tqmask> parameter, all visible +a list of information which 'matches' the <mask> parameter given by +the client. In the absence of the <mask> parameter, all visible (users who aren't invisible (user mode +i) and who don't have a common channel with the requesting client) are listed. The same -result can be achieved by using a <tqmask> of "0" or any wildcard which +result can be achieved by using a <mask> of "0" or any wildcard which will end up matching every visible user. -The <tqmask> passed to WHO is matched against users' host, server, real -name and nickname if the channel <tqmask> cannot be found. +The <mask> passed to WHO is matched against users' host, server, real +name and nickname if the channel <mask> cannot be found. If the "o" parameter is passed only operators are returned according -to the <tqmask> supplied. +to the <mask> supplied. Numeric Replies: @@ -1792,13 +1792,13 @@ to the <tqmask> supplied. [tr][td][pre] Command: WHOIS -Parameters: [ <target> ] <tqmask> *( "," <tqmask> ) +Parameters: [ <target> ] <mask> *( "," <mask> ) This command is used to query information about particular user. The server will answer this command with several numeric messages -indicating different statuses of each user which matches the tqmask (if +indicating different statuses of each user which matches the mask (if you are entitled to see them). If no wildcard is present in the -<tqmask>, any information about that nick which you are allowed to see +<mask>, any information about that nick which you are allowed to see is presented. If the <target> parameter is specified, it sends the query to a @@ -2477,26 +2477,26 @@ to 399. indicate that it is summoning that user. 346 RPL_INVITELIST - "<channel> <invitetqmask>" + "<channel> <invitemask>" 347 RPL_ENDOFINVITELIST "<channel> :End of channel invite list" - When listing the 'invitations masks' for a given channel, a server is required to send the list back using the RPL_INVITELIST and RPL_ENDOFINVITELIST messages. A - separate RPL_INVITELIST is sent for each active tqmask. + separate RPL_INVITELIST is sent for each active mask. After the masks have been listed (or if none present) a RPL_ENDOFINVITELIST MUST be sent. 348 RPL_EXCEPTLIST - "<channel> <exceptiontqmask>" + "<channel> <exceptionmask>" 349 RPL_ENDOFEXCEPTLIST "<channel> :End of channel exception list" - When listing the 'exception masks' for a given channel, a server is required to send the list back using the RPL_EXCEPTLIST and RPL_ENDOFEXCEPTLIST messages. A - separate RPL_EXCEPTLIST is sent for each active tqmask. + separate RPL_EXCEPTLIST is sent for each active mask. After the masks have been listed (or if none present) a RPL_ENDOFEXCEPTLIST MUST be sent. @@ -2548,23 +2548,23 @@ to 399. the end. 364 RPL_LINKS - "<tqmask> <server> :<hopcount> <server info>" + "<mask> <server> :<hopcount> <server info>" 365 RPL_ENDOFLINKS - "<tqmask> :End of LINKS list" + "<mask> :End of LINKS list" - In replying to the LINKS message, a server MUST send replies back using the RPL_LINKS numeric and mark the end of the list using an RPL_ENDOFLINKS reply. 367 RPL_BANLIST - "<channel> <bantqmask>" + "<channel> <banmask>" 368 RPL_ENDOFBANLIST "<channel> :End of channel ban list" - When listing the active 'bans' for a given channel, a server is required to send the list back using the RPL_BANLIST and RPL_ENDOFBANLIST messages. A separate - RPL_BANLIST is sent for each active bantqmask. After the + RPL_BANLIST is sent for each active banmask. After the banmasks have been listed (or if none present) a RPL_ENDOFBANLIST MUST be sent. @@ -2719,7 +2719,7 @@ to 399. - reports the server uptime. 243 RPL_STATSOLINE - "O <hosttqmask> * <name>" + "O <hostmask> * <name>" - reports the allowed hosts from where user may become IRC operators. @@ -2731,10 +2731,10 @@ to 399. RPL_UMODEIS is sent back. 234 RPL_SERVLIST - "<name> <server> <tqmask> <type> <hopcount> <info>" + "<name> <server> <mask> <type> <hopcount> <info>" 235 RPL_SERVLISTEND - "<tqmask> <type> :End of service listing" + "<mask> <type> :End of service listing" - When listing services in reply to a SERVLIST message, a server is required to send the list back using the @@ -2869,11 +2869,11 @@ to 399. 412 ERR_NOTEXTTOSEND ":No text to send" 413 ERR_NOTOPLEVEL - "<tqmask> :No toplevel domain specified" + "<mask> :No toplevel domain specified" 414 ERR_WILDTOPLEVEL - "<tqmask> :Wildcard in toplevel domain" + "<mask> :Wildcard in toplevel domain" 415 ERR_BADMASK - "<tqmask> :Bad Server/host tqmask" + "<mask> :Bad Server/host mask" - 412 - 415 are returned by PRIVMSG to indicate that the message wasn't delivered for some reason. @@ -3180,7 +3180,7 @@ both will removed by use of a server KILL (See Section 3.7.1). [tr][td] There is no way to escape the escape character "\" (%x5C). While -this isn't usually a problem, it makes it impossible to form a tqmask +this isn't usually a problem, it makes it impossible to form a mask with a backslash character ("\") preceding a wildcard. [/td][/tr] -- cgit v1.2.1