summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-channels.c
AgeCommit message (Collapse)Author
2002-04-09/JOIN #existing_channel jumps to the window where it's joined.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2660 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31Don't set channel->server = NULL when disconnecting, so scripts can stillTimo Sirainen
use it in eg. "channel destroyed". Patch by Qrczak git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15/PART in SILC destroys the channel immediately, so we'll need to checkTimo Sirainen
that it's not destroyed when doing it in /CYCLE.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2620 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10/CYCLE tried to do /PART twice.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10/CYCLE reason didn't workTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15Some /NAMES fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2441 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13added user counts parameters to /NAMES header (not used by default), ↵Timo Sirainen
header/footer is printed with CLIENTCRAP, not CRAP level. patch by zinx@magenet.net git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2439 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07Don't crash in /NAMES list if /SET names_max_width was too smallTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added WINDOW_REC declaration to common.h, removed unneeded #include ↵Timo Sirainen
"servers.h" from fe-windows.h which broke several files, added the #include in them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09Better support for halfops, patch by yathen@web.deTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20Added /FORMAT names_prefix to print prefix at the beginning of each /NAMESTimo Sirainen
list line. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18Added new formats for ops/halfops/voices in /NAMES list.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2067 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05/CHANNEL xxx - don't crash if not connected to server.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26added destroy() function to WI_ITEM_REC. This fixes a potential crash whenTimo Sirainen
"window item destroy" signal was being used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-17/NAMES -count now prints only the "total" line, not "users(#channel)" anymoreTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14/NAMES -count: print only the Total xxx nicks lineTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11CHANNEL_REC->get_join_data() - Returns the information needed to callTimo Sirainen
SERVER_REC->channels_join() for this channel. Usually just the channel name, but may contain also the channel key. If we receive PART-message to channel that hasn't received a JOIN yet, don't destroy the channel. It's probably because we did quickly /PART + /JOIN. Moved /CYCLE to fe-common/core, it doesn't close the window for the cycled channel anymore if you had autoclosing on. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11/NAMES needs only one argument, fixes "/NAMES -ops #a " where irssi thoughtTimo Sirainen
the channel was "#a " and instead of "#a".. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1478 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04/SET names_max_width - buffer overflowed if it was too small..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04/NAMES didn't stop the signal properly so /NAMES list was printed twiceTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04/NAMES: -ops -halfops -voices -normal options added. /NAMES withoutTimo Sirainen
parameters now prints nicklist in active channel, /NAMES ** shows all nicks in all channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03When /SET autoclose_windows is ON, don't destroy windows if they haveTimo Sirainen
some level set (like /join -w + /part in status window) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03I knew removing those checks from "channel created" and "query created"Timo Sirainen
signals broke something :) -window option to /JOIN and /QUERY. This time don't check for any item with same server/name, but check that the item itself doesn't have window set yet. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03/JOIN #channel and /QUERY nick won't anymore automatically moveTimo Sirainen
channel/query to active window but send a notice to user how to move it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03"channel created", "query created" .. don't abort adding window itemTimo Sirainen
even if there already exists another with same name. not sure if this breaks something but at least doing that breaks some things, like /join #a and /query #a after that :) }CVS: ---------------------------------------------------------------------- git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22Make a temporary window bind if you get kicked from channel. NeverTimo Sirainen
allow any window items to go to windows with sticky binds. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17Config file: ircnets -> chatnets, added type = "chat protocol" toTimo Sirainen
chatnet config. Moved reading chatnets to core. Lots of other multiprotocol updates. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10Changed window->waiting_channels ("servertag name" format) toTimo Sirainen
bound_items containing WINDOW_BIND_REC structures. If you now use /SAVEWINDOWS, the item will _always_ be restored to saved window even if there was already some other item. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.Timo Sirainen
Forced max. 6 columns limit to /HELP git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28/HELP, /NAMES: using now the column helper function in misc.c. /NAMESTimo Sirainen
moved to core and is printed immediately instead of sending /NAMES request to server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07In core/module-formats.h: IRCTXT_ -> TXT_Timo Sirainen
Added "message irc ctcp" signal to print CTCPs git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06Removed window parameter from window_item_remove() andTimo Sirainen
window_item_destroy() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02window_[add|remove]_item -> window_item_[add|remove]Timo Sirainen
added window_item_destroy(), window_item_remove() doesn't destroy the item anymore window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02"window item remove" signal: destroy the channel/query record _last_Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02/WINDOW ITEM GOTO <name> - sets <name> window item active in current windowTimo Sirainen
/WINDOW ITEM MOVE <number>|<name> - moves window item to another window /JOIN #already_joined_channel - same as /WINDOW ITEM MOVE <name> git-svn-id: http://svn.irssi.org/repos/irssi/trunk@916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] toTimo Sirainen
fe-windows.[ch] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28Cleaned up printtext.c, split part of it to formats.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02Updates.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564