1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

896 Commits

Author SHA1 Message Date
Timo Sirainen
75ebab8089 Get the server tag to query from dcc->servertag, not dcc->server->tag, to
make it work correctly when accepting dcc chat when not connected to server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:26:40 +00:00
Timo Sirainen
f33c283317 /BIND -delete doesn't anymore leave empty {} blocks in configuration file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:20:37 +00:00
Timo Sirainen
b3779bc7a5 -ansicolors -mirccolors => -colors in /LOG OPEN syntax, since there's only -colors currently..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 15:31:40 +00:00
Timo Sirainen
4e9ff3d6d8 $winname expando didn't change on "window changed" signal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:25:26 +00:00
Timo Sirainen
dbe49236d2 Configurable statusbar - see default config file (irssi.conf) for example
how to configure it. Added %> format which clears to end of line using the
current bg color. Added support for multiple input lines (just the core, not
used anywhere yet).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:11:13 +00:00
Timo Sirainen
c988af4150 Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
don't try to access free'd data.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02 07:55:51 +00:00
Timo Sirainen
56331f78e0 Use the nick as target when printing notify messages, so they go to query windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 12:05:50 +00:00
Timo Sirainen
de0ab10145 /SET translation was broken - fixed by lam@e-gate.pl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 07:04:11 +00:00
Timo Sirainen
bb507a8b85 /SET translation now says if there were any errors
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22 11:25:08 +00:00
Timo Sirainen
e41f1dc73f bind_key format updated. Doesn't truncate the key now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-21 14:09:44 +00:00
Timo Sirainen
29d983093e PARAMS -> ARGS fix again..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:50:27 +00:00
Timo Sirainen
7814192f03 special vars: added PARSE_FLAG_ONLY_PARAMS. Theme loading now uses it so
you can use $C etc. in themes to print the active channel. printformat()
also expands it now correctly to the server/target where the message was
printed, not to the active window's server/target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 15:58:14 +00:00
Timo Sirainen
0abee30dc2 "Unknown chat network" error now tells to create it with /IRCNET ADD
(..which is a bit wrong with non-IRC..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-18 15:37:07 +00:00
Timo Sirainen
56b7f5ecbf Print the log's expanded file name when complaining about not being able to
create log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-17 13:04:23 +00:00
Timo Sirainen
50eae89a96 /BIND ^W-1 was treated as ^W + '-' + '1', not as ^W + '1'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:32:43 +00:00
Timo Sirainen
5360b3eaaf escape_target() didn't escape / chars properly, it just crashed irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:20:10 +00:00
Timo Sirainen
3432f02a05 It's now possible to stop single character /BINDs from printing to input
line. Hiascii characters didn't work properly with /BIND.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:15:17 +00:00
Timo Sirainen
8cab35aed3 Server notices shouldn't contain target field when printing it, it's always
you anyway.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:02:17 +00:00
Timo Sirainen
eb9f1eb985 autolog: target name is now always lowercased with irc protocol.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:47:31 +00:00
Timo Sirainen
5c45593f02 /WINDOW ITEM MOVE didn't work properly if there was space after parameter
(..which tab-completion added..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08 18:57:09 +00:00
Timo Sirainen
ff884ba0bb Print the server tag in "query started" messages with query->server_tag, not
query->server->tag since query->server can be NULL when restoring window
layout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 16:32:35 +00:00
Timo Sirainen
d1e0a0f44f Check that word isn't empty instead of just assuming it isn't. This one
probably caused several completion problems.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28 11:12:03 +00:00
Timo Sirainen
2dae72a698 removed accidental 'i' :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:54:54 +00:00
Timo Sirainen
5bf0edbb35 Added server tag to query_start format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:32:32 +00:00
Timo Sirainen
1c07041811 Added option /SET autolog_colors. Colors are now off by default for /WINDOW
LOGs too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-20 12:01:01 +00:00
Timo Sirainen
0d5e569195 Some internal changes how /SERVER command works. Added /SERVER PURGE
[<target>] command. The channel output is purged at /PART if the output
queue is larger than 10.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:19:06 +00:00
Timo Sirainen
6c022b0a5e Some support for lain ircd's /SETHOST - It /PART + /JOINs all channels, so
add all the joined channels to window binds temporarily so /PART doesn't
close the windows if /SET autoclose_windows is ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 12:33:29 +00:00
Timo Sirainen
ed93f91d96 Typofix - might have caused a crash if channel was destroyed with /WINDOW
CLOSE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:22:19 +00:00
Timo Sirainen
803d805016 Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].

NOTE: all modules now need to call register_module() in their init()
function.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
78b1e8d9d6 "IRC Net" -> "Network" in /SERVER LIST and /CHANNEL LIST
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 22:01:38 +00:00
Timo Sirainen
f370a3cc2e /INVITELIST prints "Invite list is empty" message and complains about not
being synced. Changed level to CLIENTNOTICE when printing the "no bans"
message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 14:00:57 +00:00
Timo Sirainen
4e3b1bba62 /LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
should be written to log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 13:51:49 +00:00
Timo Sirainen
53c13065d2 One more limit to "key" names - it can't start with a digit. This allows us
to use /BIND foo meta2-18~ etc. more easily.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:05:36 +00:00
Timo Sirainen
55be71a726 Bugfix to keyb. code :) And now the "key" names can contain only
alphanumeric + '_' characters, which makes /BIND foo meta-5~ work again
because 5~ are treated separately, not as one "key" name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:02:06 +00:00
Timo Sirainen
22e5f3a3fe Keyboard code fixes - meta-arrows etc. should work now correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 16:48:34 +00:00
Timo Sirainen
a444a3c92a /WINDOW CLOSE <first> didn't work if <last> too wasn't specified..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 13:05:57 +00:00
Timo Sirainen
22e1a6dacc /VERSION command and /SV alias now print the version date too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 00:50:22 +00:00
Timo Sirainen
98b82723a1 Added function expand_escapes() which handles now escaping /EVAL and input
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e
(ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:00:25 +00:00
Timo Sirainen
b667af72aa Restoring window layout shouldn't make the queries active.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:23:25 +00:00
Timo Sirainen
c86333393c Changed signal / function names for /LAYOUT stuff. /LAYOUT RESET now resets
the split windows too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:05:50 +00:00
Timo Sirainen
4737d16290 Fixed leaking window binds. They were added but rarely removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:08:47 +00:00
Timo Sirainen
9beaf82839 /SET autofocus_new_items ON - if newly created window items should be set
active automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:29:56 +00:00
Timo Sirainen
f124f07a4e /NOTIFY printed '!' character after nick if mask was given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 12:50:49 +00:00
Timo Sirainen
45bb5c3cee Restoring layout for split windows works betters now. Some sticky window
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands
/WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window
only inside split windows. mainwindows-save.c -> mainwindows-layout.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 12:41:10 +00:00
Timo Sirainen
dcf1bdb82c /UNIGNORE - skip spaces at end of line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04 01:36:39 +00:00
Timo Sirainen
ce0bd80b05 Added sticky window information to /WINDOW.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 22:54:08 +00:00
Timo Sirainen
daaf2756ca Minor cleanup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:50:34 +00:00
Timo Sirainen
79ae6fceb3 /WINDOW command now prints all information related to window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:04:39 +00:00
Timo Sirainen
279f149295 /TOGGLE didn't send "setup changed" signal
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 12:24:24 +00:00
Timo Sirainen
6c2f9c685a --enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.

filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
2d5edb8c4d /NAMES #channel_you're_not_joined doesn't print the "total of xx nick" line
anymore - it was always just full of 0 and people thought it was a bug (it's
a missing feature :).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 05:32:38 +00:00
Timo Sirainen
c4fe917be3 " <tab>" in query printed glib warnings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1677 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:38:31 +00:00
Timo Sirainen
bdde1d884c /NOTIFY, /NOTIFY -list: Added "The notify list is empty" message
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:46:34 +00:00
Timo Sirainen
2a44f98a51 Added "Closed query with nick" message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:41:01 +00:00
Timo Sirainen
d1d13a4b36 Escape % chars in logs so strftime() won't mess with them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:35:10 +00:00
Timo Sirainen
11072cc4d7 Removed unused signal_gui_print_text, added a g_return_if_fail(dest->window
!= NULL) to "print text" signal - window should be set or it is treated as
GUI print event.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:16:27 +00:00
Timo Sirainen
802ee7564c Fixed /RELOAD crashing without parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 00:27:23 +00:00
Timo Sirainen
9668285467 OK, no more forcing the reuse_unused_windows. It's up to the user to set it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:40:00 +00:00
Timo Sirainen
0fa4e20497 /SET reuse_unused_windows is now forced ON only if /SET autocreate_windows
is ON and autoclose_windows is OFF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:28:46 +00:00
Timo Sirainen
35ce180f10 --hostname and --nick options didn't have effect for autoconnected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1661 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:24:45 +00:00
Timo Sirainen
3fb7a4115d added destroy() function to WI_ITEM_REC. This fixes a potential crash when
"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-26 01:49:08 +00:00
Timo Sirainen
219d276b0a bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1654 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:38:46 +00:00
Timo Sirainen
f81291622f buffer overflow fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 19:16:21 +00:00
Timo Sirainen
fc4f81c751 SYNTAX: ACTION updated - target is required
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 17:40:56 +00:00
Timo Sirainen
559a5be42f fixed a small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-22 12:08:36 +00:00
Timo Sirainen
40ffd87ded Irssi::printformat() called printformat_window() to print the text which
lost server/target information. Added printtext_dest() function which it
uses now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-18 19:03:07 +00:00
Timo Sirainen
088358ca61 /NAMES -count now prints only the "total" line, not "users(#channel)" anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-17 18:22:24 +00:00
Timo Sirainen
7e630b22cf added another hilight kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 17:20:23 +00:00
Timo Sirainen
118b5f48a2 Hilight fixes - mode lines shouldn't be hilighted accidentally anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 19:03:27 +00:00
Timo Sirainen
27fcabbc19 Previous foreach fixes to /FOREACH WINDOW too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 18:21:44 +00:00
Timo Sirainen
c1ac5765b3 New /IGNOREs weren't immediately effective for nicks in channel. Some small
fixes for unignoring levels with /IGNORE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:50:26 +00:00
Timo Sirainen
79d1d7089a Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
c930f8f8e6 command option/parameter completion was case sensitive (ie. /MSG <tab>
didn't, work, /msg <tab> did)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1624 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 20:06:00 +00:00
Timo Sirainen
4425f87f98 /NAMES -count: print only the Total xxx nicks line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:22 +00:00
Timo Sirainen
fca13a0fba removed a useless "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:08 +00:00
Timo Sirainen
2ddba459c0 Moved location of config, theme and doc files. Added debian dir for building a .deb easily.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-05 23:16:18 +00:00
Timo Sirainen
3eca462859 Removed GLIB warning at certain condition with tab completion.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1606 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-03 22:21:40 +00:00
Timo Sirainen
f70160c503 /SET netsplit_nicks_hide_threshold must not be smaller than /SET
netsplit_max_nicks or no nicks were printed with netsplits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:11:43 +00:00
Timo Sirainen
f20a6b0198 If .theme suffix was given for /SET theme, irssi printed "theme changed to
xxx" message every time any setting was changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1596 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:10:48 +00:00
Timo Sirainen
84e8d9acfa whois_away had one extra space at the beginning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 19:03:55 +00:00
Timo Sirainen
b62615e32a Nick changes were printed twice in queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 22:40:24 +00:00
Timo Sirainen
77b72271c8 when theme is changed, it should print the message to status window, not to active window..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 17:43:53 +00:00
Timo Sirainen
d7342a6c4f removed useless #define
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1581 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 22:54:51 +00:00
Timo Sirainen
53975363ce Using different ports in one server for different chat networks didn't work
properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:47:31 +00:00
Timo Sirainen
5cb945cedf Don't autoclose windows with bound items.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:31:26 +00:00
Timo Sirainen
69c864f8d5 Added -delete option to /WINDOW THEME. /WINDOW THEME without parameters
prints the active theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:16:43 +00:00
Timo Sirainen
0db8e96019 Fixed window specific themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:05:04 +00:00
Timo Sirainen
75543048b5 Added -v / --version command line option. Moved POPT_AUTOHELP option to
fe-common from fe-text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 20:22:43 +00:00
Timo Sirainen
8ec78b0723 use signal_add_last() to bind the "message xxx" signals when printing them,
so that scripts/modules can stop the signal without affecting the rest of
the functionality.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:29:16 +00:00
Timo Sirainen
f5a161bee9 added whois abstract to themes. should make it easier to change whois output
in theme


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:04:54 +00:00
Timo Sirainen
6362ab86f6 "print text finished" -> "gui print text finished". Added %[options] format
for printing text. The syntax for options is [+-]<option>[+-]<option>...
Currently supports options 't' = timestamp, 'T' = server tag, 's' =
line_start, 'S' = line_start_irssi. -s or -S means don't print the
line_start. For example %[-st+T] would never print line_start or timestamp
to line, but would always print server tag to line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 21:28:00 +00:00
Timo Sirainen
3f2b189a4c /WINDOW SERVER -sticky / -unsticky crashed if the tag wasn't given and
there was no active server in window


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 23:12:43 +00:00
Timo Sirainen
0192a6fb97 Multiple /LAYOUT SAVEd queries in same window didn't get restored to the
same window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:15:38 +00:00
Timo Sirainen
4da53bb5f4 When disconnecting from server when you had queries without active server
irssi printed some glib errors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:14:48 +00:00
Timo Sirainen
a128998010 Joins to channel now adds the nick to completion list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:45:47 +00:00
Timo Sirainen
54242cdac5 own nick changed were printed as if it was done by someone else
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:38:36 +00:00
Timo Sirainen
81268205ca The automatic query rename wrote the "nick changed" messages to channels
windows too. Now it's done only in the query window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:31:15 +00:00
Timo Sirainen
5aa56a08f9 beep check: don't beep with NO_ACT message level rather than NOHILIGHT since
NOHILIGHT is sent with public messages and someone may want to beep when
they're received.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 20:21:03 +00:00
Timo Sirainen
3609f6f243 Added support for bahamut @+#channel notices. Removed notice_public_ops
format, notice_public is just fine if the channel just contains @ or @+
at the beginning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 19:50:16 +00:00
Timo Sirainen
4ee6270965 'Y' answer shouldn't be case-sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 20:20:22 +00:00
Timo Sirainen
fc3918b0f0 dcc, flood and notifylist aren't compiled as loadable modules anymore,
no-one wants that and irssi crashes in AIX because of it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:39:45 +00:00
Timo Sirainen
28899856a4 removed "print text stripped" signal, the stripped text is now sent in
"print text" signal's third parameter


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-31 22:35:49 +00:00
Timo Sirainen
7cab17c2c9 Added formats to /SET texts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-26 19:20:45 +00:00
Timo Sirainen
3e825325b8 nick completion: don't add the same nick to completion list twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:38:07 +00:00
Timo Sirainen
47f272da98 nonstrict completion bugfixes, my mistakes :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:33:35 +00:00
Timo Sirainen
40f47a0a5f /SET completion_strict OFF - specifies if the tab nick completion should
ignore non-alphanumeric characters. Alieases are now completed in command
completion. Patch by fuchs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1513 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:29:31 +00:00
Timo Sirainen
c2b2d45bd6 Getting rid of gettext, moved some _(..) texts to themes and left some error
messages hard coded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:13:59 +00:00
Timo Sirainen
fe5c94b050 Small speedup when pressing unbound keys.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 17:07:40 +00:00
Timo Sirainen
e792c23d54 /IGNORE: -word -> -full, like it's with /HILIGHT.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 15:35:43 +00:00
Timo Sirainen
33baf1d618 /LOAD notifies that dynamic modules aren't supported instead of being quiet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 15:20:15 +00:00
Timo Sirainen
3bd6666aea Don't crash if config file had keyboard = { .. } in it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1491 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 19:53:56 +00:00
Timo Sirainen
0ec7e8ed58 netjoins should display the @, + etc. before the nick again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:42:05 +00:00
Timo Sirainen
749e70cad6 more config file handling fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:23:58 +00:00
Timo Sirainen
bffe51861f fixed config file handling
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1485 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:04:14 +00:00
Timo Sirainen
1f23c05ee7 CHANNEL_REC->get_join_data() - Returns the information needed to call
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 16:08:48 +00:00
Timo Sirainen
d44b803c3c Don't place any window items to windows which have name. Window level
doesn't have any effect to it anymore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1481 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:32:57 +00:00
Timo Sirainen
897a1ffa86 /LOG OPEN: it was checking /JOIN's options and printed errors if any /LOG
OPEN -option was used..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:26:22 +00:00
Timo Sirainen
9cc1675e1d /NAMES needs only one argument, fixes "/NAMES -ops #a " where irssi thought
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-05-11 14:18:18 +00:00
Timo Sirainen
c7274cb00e /IGNORE now defaults to ALL level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:19:16 +00:00
Timo Sirainen
f3f8eb620a added "dcc request send" signal - irssi now prints "DCC CHAT/SEND request
sent to nick".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:55:18 +00:00
Timo Sirainen
cb28685574 "dcc error file not found" -> "dcc error file open". Print the actual error
message based on errno, don't just assume the file wasn't found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:43:59 +00:00
Timo Sirainen
c61edaf7c9 always round up the kB value so we won't have 0kB file sizes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 11:52:32 +00:00
Timo Sirainen
4c42e7d894 /SET hide_server_tags
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-10 19:54:48 +00:00
Timo Sirainen
4c8ad5a4c5 some fixes, saving is still broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-08 18:05:53 +00:00
Timo Sirainen
711c17b746 keyboard handling rewrite
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-06 19:28:15 +00:00
Timo Sirainen
0cb1752123 related changes to textbuffer update..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:54:06 +00:00
Timo Sirainen
ece1ac9dee ']' missing from /SET syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-09 16:16:09 +00:00
Timo Sirainen
8b61b9679c log->temp -> !log->temp .. closed non-autologs instead of autologs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-28 22:38:52 +00:00
Timo Sirainen
3f0498eb20 When closing autologs, don't crash if some other temporary log is open, like
awaylog.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-26 02:02:50 +00:00
Timo Sirainen
7ed4e7ee7c don't crash with themes without replaces block. don't crash with themes with
highascii characters.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-24 16:03:05 +00:00
Timo Sirainen
2426cc20c7 Parting channels and disconnecting from servers didn't close the autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-21 00:21:45 +00:00
Timo Sirainen
8a9fcb53fc Send notify out messages with HILIGHT level too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 02:00:17 +00:00
Timo Sirainen
6e57a9e94e /HILIGHT -full didn't work, and -word was treated as -word + -full. Updated
/HELP hilight.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 06:58:13 +00:00
Timo Sirainen
002960765f fixed small hilight memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:34:42 +00:00
Timo Sirainen
d9008ae249 %F = blinking on/off. several fixes to make blinking work better. some
hilight fixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:32:32 +00:00
Timo Sirainen
c3da7fa8ab Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
hilight_act_color now use %codes for specifying color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
6806a0b7df Irssi now asks if you want to remove unknown settings from configuration
file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 23:57:24 +00:00
Timo Sirainen
9a7524ae75 emphasis works with actions now
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 22:14:50 +00:00
Timo Sirainen
db7c60b9a5 /WINDOW CLOSE [<first> [<last>] - you can close multiple windows once now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 21:05:40 +00:00
Timo Sirainen
7aa9a8e626 ^O reset only colors, not underlines etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 17:34:28 +00:00
Timo Sirainen
87777968c3 Beginnings of configurable statusbar. The existing items can be configured
in default.theme.

If some abstract isn't set in theme, it fallbacks to the one in
default.theme now. This should help with old themes, and maybe themes
that don't change something should just keep those parts commented out..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:26:12 +00:00
Timo Sirainen
1d453ed92c %n+bg color change doesn't anymore set foreground black. changed theme's
default_bold_color to default_real_color.

Activity list printed first item with white always. Color redrawed itself
every second.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 19:43:32 +00:00
Timo Sirainen
7ced2beab4 added format_real_length()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 10:34:04 +00:00
Timo Sirainen
4a4bf68727 /DCC CLOSE CHAT <unknown> signal: we were checking for "GET" here, not
"CHAT"..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:48:41 +00:00
Timo Sirainen
f5d67dcb5c Command history: allow "next history" to jump back to last msg in
history if we already went over it with "prev history" once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:45:56 +00:00
Timo Sirainen
484f62f757 added server_change_nick() function for servers.[ch]. Lots of fixes for
support to multiple identical nicks. Should work now properly :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 10:30:41 +00:00
Timo Sirainen
0530039b9f /SET names_max_width - buffer overflowed if it was too small..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 09:04:53 +00:00
Timo Sirainen
b23e544d57 /NAMES didn't stop the signal properly so /NAMES list was printed twice
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:01 +00:00
Timo Sirainen
4c7b07ed3f IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory and
at connect() time it's decided which one should be used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 01:47:13 +00:00
Timo Sirainen
d0a4404bdf /NAMES: -ops -halfops -voices -normal options added. /NAMES without
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-04 00:14:00 +00:00
Timo Sirainen
c5cccfcdaa fe-common/irc/flood removed. Some autoignore / ignore -time updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:27:07 +00:00
Timo Sirainen
6ae8ab5766 not needed anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1329 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:20:26 +00:00
Timo Sirainen
1a61f989e1 When /SET autoclose_windows is ON, don't destroy windows if they have
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-03 22:03:00 +00:00
Timo Sirainen
ab5166033c I knew removing those checks from "channel created" and "query created"
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 21:57:31 +00:00
Timo Sirainen
f71afe835a /JOIN #channel and /QUERY nick won't anymore automatically move
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 21:51:57 +00:00
Timo Sirainen
9a5b97164e Always save theme to ~/.irssi/ no matter where it was read from.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:16:40 +00:00
Timo Sirainen
7118830573 window_set_active() doesn't anymore send "window changed" signal if
window is being set to NULL.

Restoring /LAYOUT SAVEd split windows crashed at startup because of
this. Maybe it shouldn't change the window to NULL? Well, at least I
got it to work at all... :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:11:43 +00:00
Timo Sirainen
bc0069c02f ignore_get_key() moved to fe-common, fixed printing "*" ignore key.
Doesn't print unignore messages when /RELOADing config.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:55:06 +00:00
Timo Sirainen
4f2be94115 /BANTYPE -> /SET ban_type. /BAN: -type option added to override default
ban type.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:48:23 +00:00
Timo Sirainen
25a013e4c8 "channel created", "query created" .. don't abort adding window item
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-03-03 19:56:11 +00:00
Timo Sirainen
f9474e2c3d DCC actions have now ACTIONS level as well as the DCCMSGS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:40:50 +00:00
Timo Sirainen
5c436a20a6 HILIGHT level didn't work with logs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:40:25 +00:00
Timo Sirainen
46d93a3f4b /SET beep_when_window_active + some cleanups
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:30:21 +00:00
Timo Sirainen
fcd8810b6c Removed all beep handling from text printing. If you want to beep just
send "beep" signal.

/LAST -clear crashed if window contained only lastlog lines. Some other
minor cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:22:09 +00:00
Timo Sirainen
6f5adbf96c /SET -clear didn't work with booleans
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1307 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 16:14:28 +00:00
Timo Sirainen
72daabc5f6 kb -> kB
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-02 18:20:54 +00:00
Timo Sirainen
f7aae08152 /WINDOW PREV -> /WINDOW PREVIOUS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27 08:39:04 +00:00
Timo Sirainen
39e2a4225c Printing channel bans print them now with target parameter set, so with
status window they get printed to channel window instead of status window.
Same for End of b/e/I lists. A few other cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 21:29:42 +00:00
Timo Sirainen
acf0dd879e /HELP can now display help of non-commands if the file just exists in
help directory


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 20:51:26 +00:00
Timo Sirainen
e2ff4550ea Word highlighting was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1286 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 10:52:29 +00:00
Timo Sirainen
62a7faf5b2 strip_real_length(): initialize last_color_pos and last_color_len to
-1. Word hilighting crashed if there was no colors set in the line..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 08:35:53 +00:00
Timo Sirainen
fc17069cec Autoignore fixes by fuchs (not tested, hope it works ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 06:09:48 +00:00
Timo Sirainen
a2a6c7e293 Make a temporary window bind if you get kicked from channel. Never
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-22 05:49:30 +00:00
Timo Sirainen
930ccf5238 /SAVEWINDOWS -> /LAYOUT SAVE. Added /LAYOUT RESET. Initialize GLib log
-> Irssi windows _after_ windows are created..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 19:19:24 +00:00
Timo Sirainen
7103fc87b8 /FOREACH server|channel|query|window <command>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 18:41:45 +00:00
Timo Sirainen
4a35a41c85 Support for several unrealircd WHOIS replies, patch by Mark Glines
<paranoid@deathsdoor.com>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 18:32:15 +00:00
Timo Sirainen
4718edf055 added format_get_length() for getting length of text part in a format
string. gui_printtext() now works like printtext_string() so %s won't
accidentally crash it. /SET prompt can now have %formats.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 04:21:15 +00:00
Timo Sirainen
481f4bc327 /SET resolve_prefer_ipv6 - should we prefer IPv6 or IPv4 addresses in
host name resolving. /SERVER ADD: added options -4 and -6. Fixed crash
at startup if server didn't have chat network set. "Connecting to xxx
[ip]" is now displayed before calling connect(), so if it fails we'll
still get the IP it's trying to connect to.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 16:23:28 +00:00
Timo Sirainen
7a6c3f0b7c Errors reading/writing config and theme files are now handled properly
and printed to screen


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 01:54:14 +00:00
Timo Sirainen
25845074d6 Reload theme after /SET theme if it was modified.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 01:12:47 +00:00
Timo Sirainen
43323fd24c multi identical nick fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 00:33:51 +00:00
Timo Sirainen
8f98e4b608 /SERVER: if there's no servers, print "Not connected to any servers"
instead of just being quiet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 14:50:53 +00:00
Timo Sirainen
374df6c5f1 /TOGGLE without parameters now complains not having enough parameters..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 07:16:32 +00:00
Timo Sirainen
4550204783 Moved /HELP to fe-help.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:44:15 +00:00
Timo Sirainen
f453e84436 /NETSPLIT prints nicks now sorted and prints @ or + before channel if
user was opped/voiced before split.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:33:39 +00:00
Timo Sirainen
c1c7674ae2 Highlight colors can now have background color set with fg,bg. Works
with activity list too, useful for example blinking.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:25:24 +00:00
Timo Sirainen
1117638b52 Moved autoconnects and command line parameter parsing from irc to core.
Added not_initialized parameter to chat protocols that are created
using chat_protocol_get_unknown(). /CONNECT doesn't crash now with
non-initialized protocols but instead complains about them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:50:08 +00:00
Timo Sirainen
1ee25967d8 window_bind_remove_unsticky(): crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1246 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:26:32 +00:00
Timo Sirainen
6a469c46bb Support for multiple identical nicknames.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 22:46:25 +00:00
Timo Sirainen
be6ba53fa4 Config file: ircnets -> chatnets, added type = "chat protocol" to
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-17 19:44:22 +00:00
Timo Sirainen
e5f1216797 log_write_rec(): added level parameter. writing /LASTLOG to log files
doesn't anymore print the current timestamp at the start of line since
/LASTLOG messages have their original timestamp already.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:08:31 +00:00
Timo Sirainen
abe4ddb52a /LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.

Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:35:35 +00:00
Timo Sirainen
8d86fc75ef added fe-dcc.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 20:49:45 +00:00
Timo Sirainen
5e3a3e88a8 added fe-exec.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 16:07:35 +00:00
Timo Sirainen
f4aef7c706 Added PROCESS_REC to fe-exec.h and perl support for it. "exec new" and
"exec remove" sends PROCESS_REC as first argument. Added "exec input"
signal to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-13 19:26:43 +00:00
Timo Sirainen
429ce5a2b3 Removed SYNTAX: LOG LIST - the commands is /LOG
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-11 00:15:32 +00:00
Timo Sirainen
355e7dd841 theme->default_color is now used again, added default_bold_color which
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do
anything with curses..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 10:19:47 +00:00
Timo Sirainen
98a73539ae /EXEC -interactive: Creates a query-like window item. Text written to
it is sent to executed process, like /EXEC -in.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 09:54:51 +00:00
Timo Sirainen
ddf6810b0e Changed window->waiting_channels ("servertag name" format) to
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 09:12:53 +00:00
Timo Sirainen
7c21fb84ee /SET hilight_act_color - default color to use for highlighting in
activity line


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 08:44:19 +00:00
Timo Sirainen
194dd60f36 /SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.
Forced max. 6 columns limit to /HELP


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:54:09 +00:00
Timo Sirainen
89abfaf9cf sticky_refnum is now saved and restored
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 03:12:22 +00:00
Timo Sirainen
980d6ca3fd /WINDOW SERVER: added -sticky and -unsticky options. If window server
is sticky, it will never be automatically changed, and it cannot be
changed to anything else without -unsticky option. Should be useful for
people who want status or msgs windows for each server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1196 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 03:10:30 +00:00
Timo Sirainen
54870f51fd window_item_set_active(): window->active_server was set wrong if there
was multiple items in window from different servers.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 02:13:13 +00:00
Timo Sirainen
e4f7d55ce9 DCC cleanups - split DCC_REC to CHAT|GET|SEND_DCC_RECs. Plugins should
now be able to add whatever new DCC types.

Nick changes affect DCC chats. /WHOIS without parameters works properly
in DCC CHAT queries.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 02:02:26 +00:00
Timo Sirainen
118f9a11eb DCC chat nicks are in /MSG completion list now if chat isn't in query.
Sending actions to non-query DCC chats now display the target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 22:00:51 +00:00
Timo Sirainen
1dfd86fe95 /SET opermode - set this mode when you get ircop status.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 09:24:25 +00:00
Timo Sirainen
45ad955d9e /ACTION didn't print the target when there was no query/channel where
to print the action


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 22:10:57 +00:00
Timo Sirainen
70322d695f Don't autolog CTCPs by default (so CTCP floods don't create lots of
useless files)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:56:51 +00:00
Timo Sirainen
7612cf4773 added fe-channels.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 23:29:39 +00:00
Timo Sirainen
e2acaaa067 Added gui_printtext() function for printing text in printtext() format
to screen in specified position.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 19:29:38 +00:00
Timo Sirainen
4dd1d73f80 Print own mode changes immediately to screen without the 2sec wait.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 21:21:19 +00:00
Timo Sirainen
9044226d6e Print the color hilight with two digits so it won't accidentally use the
next char if it's numeric.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:53:09 +00:00
Timo Sirainen
8acf2cd5f9 /nctcp crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-29 12:39:13 +00:00
Timo Sirainen
e09be2c7b4 /SET activity_hide_targets now hides them even if level is MSGS. Only
activity of highlighted text is not hidden.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:31:45 +00:00
Timo Sirainen
3db17abb4d /SET hilight_levels -> hilight_level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:11:34 +00:00
Timo Sirainen
3927ef9713 /HELP, /NAMES: using now the column helper function in misc.c. /NAMES
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-28 15:46:00 +00:00
Timo Sirainen
4339c9a7ed WINDOW_REC: added width and height variables
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:44:29 +00:00
Timo Sirainen
669c2c18d8 Removed own_wall msg format, using now the same as @#channel messages.
Added printing of ctcps, notices, actions and /WALLs to
fe-irc-messages.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 10:16:43 +00:00
Timo Sirainen
5e3aa6f077 Emphasis are now expanded with own public/private messages. Added some
checks when not to expand: before _word_ must be space or beginning of
the line, next char after _word_ must not be '_' or '*'.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 09:31:45 +00:00
Timo Sirainen
56abbcd2e3 Ignoring updates. Added support for nickmatch cache. One ignore can't
have both except and normal levels. Nick ignoring checks now with both
old and new nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 07:22:22 +00:00
Timo Sirainen
6c32ffdc4f Print notify joins, unaways and unidles with HILIGHT level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 04:07:52 +00:00
Timo Sirainen
a4cdb86128 /SET timestamp_format now specifies format of $Z. timestamp msg format
now uses $Z instead of that horrible $[-2.0]3:$[-2.0]4 that no-one
understood :) It's still possible to use the old method too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 04:03:56 +00:00
Timo Sirainen
90e0d79d2a Added TXT_WINDOW_LEVEL, changed most of the /WINDOW commands to print
output to active window, not status window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:52:29 +00:00
Timo Sirainen
f382abee30 %N does now same as %n, except in .theme files it always does the
terminal default color while %n sets the "previous color".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:41:17 +00:00
Timo Sirainen
cff8ba0c92 /SET beep_on_msg -> /SET beep_msg_level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:19:19 +00:00
Timo Sirainen
5e8d21e68d /SET beep_on_msg -> beep_msg_level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:19:06 +00:00
Timo Sirainen
f6e9160bc9 Netjoin mode printing: handle +v and +h like +o was handled (joins:
@opnick +voicenick %halfopick)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:17:55 +00:00
Timo Sirainen
00492856da Spaces at the start of line confused the completion some.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:04:44 +00:00
Timo Sirainen
4cbabe2a83 nicklist_find() now finds only full nicks, nicklist_find_mask() finds
nick masks. This fixes *a* and similiar emphasis where irssi tried to
find nick mask *a* instead of nick *a*.

Also, emphasis with highascii didn't work unless emphasis_multiword was
set ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 01:45:31 +00:00
Timo Sirainen
db03c25952 nickmatch-cache wasn't initialized if there wasn't hilights = { ... }
block in config file


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-26 18:52:01 +00:00
Timo Sirainen
ff5961dd09 Removed MSGS from hilight_level, not very useful IMHO
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22 20:17:25 +00:00
Timo Sirainen
c3a6417c0f strip_real_length() : bolds, underlines, etc. one character styling
left it to infinite loop


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22 19:35:07 +00:00
Timo Sirainen
391a7e5710 Highlighting updates. -word renamed to -full. Added new -word option
meaning to highlight only the found word in line. Removed -nonick
option but added -line which means pretty much the same. -actcolor
specifies what color to show in activity list, default is the same as
-color. Also uses the nick cache to match nickmasks faster.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 04:14:24 +00:00
Timo Sirainen
ce6e5a12f9 DCC cleanups - half rewrite. New features: file names with spaces work
properly, you can have multiple dcc chats with same people (or more
useful, same nick in different ircnets), /DCC CHAT|GET|RESUME with no
arguments accepts the last request, notifies if dcc request was sent to
channel, warns about connecting to lowports, /SET dcc_autoget_lowports
specifies if autogetting should work with lowports, complains of
invalid dcc ctcps instead of ignoring. And fixed /SET dcc_autorename
OFF which didn't work before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:30:59 +00:00
Timo Sirainen
c180c61816 memmove() -> g_memmove()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 01:03:18 +00:00
Timo Sirainen
078b63ccbe added channel parameter to quit/nick messages
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 19:18:39 +00:00
Timo Sirainen
0d62878d6e Fixed some signedness warnings and memdebug.h should compile now fine
with -ansi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 23:36:11 +00:00
Timo Sirainen
51a4e8bcb9 Use | instead of + when playing with ansi colors. Doesn't change
anything really, except if someone now wants to change ansi colors to
some bright colors it's easier..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:57:39 +00:00
Timo Sirainen
6f370cf6ff /HELP without any parameters read data outside it's buffer
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:33:30 +00:00
Timo Sirainen
43186de148 Minor speed enhancement
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:31:53 +00:00
Timo Sirainen
93ba91b8ed Added my_asctime()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:16:39 +00:00
Timo Sirainen
d427f74143 Check the return value of strftime() properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:02:03 +00:00
Timo Sirainen
3582973c93 Added "exec new" and "exec remove" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1110 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 23:28:05 +00:00
Timo Sirainen
8cb5ebc0a3 /SET activity_levels, hilight_levels, noact_channels ->
activity_msg_levels, activity_hilight_levels, activity_hide_targets.
Added /SET hilight_levels to specify the default level for /HILIGHTs


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1109 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 14:04:11 +00:00
Timo Sirainen
1a3c700838 Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 10:15:34 +00:00
Timo Sirainen
091e06387b /SET theme - complains if theme isn't found. Setting theme's name to
"xxx.theme" now works, too many people tried it with the .theme suffix :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 09:14:21 +00:00
Timo Sirainen
d256f71a00 Highlighting cleanups. Added /HILIGHT -priority option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:06:45 +00:00
Timo Sirainen
f8f1f814a5 query_find() didn't check for queries with no active server
Some DCC CHAT format fixes


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1097 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 18:56:56 +00:00
Timo Sirainen
d6ee17e8cd /LOAD without parameters prints loaded modules
GLib warnings/criticals are now printed with printformat(), not into
standard output messing up the screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 17:25:21 +00:00
Timo Sirainen
1de2aade40 In core/module-formats.h: IRCTXT_ -> TXT_
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-07 19:42:59 +00:00
Timo Sirainen
e46e2b5e09 When using a /command that has only subcommands, print the list of the
subcommands instead of just "unknown command" text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 13:53:58 +00:00
Timo Sirainen
afc9800964 "MODE #channel b" list wasn't printed correctly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 10:11:29 +00:00
Timo Sirainen
9745db6925 Fixes for printing errors in themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:58:15 +00:00
Timo Sirainen
f8f6d7670a Template packing: After $variables the color could be anything, don't
even try to guess it.

Some changes to templates in theme. Nick mode is now separate argument.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:48:56 +00:00
Timo Sirainen
dd68c2fa5f Removed window parameter from window_item_remove() and
window_item_destroy()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:58:28 +00:00
Timo Sirainen
28465db59c theme updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:57:06 +00:00
Timo Sirainen
ba4b59d134 When msg list is full, remove old messages, not new messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 15:39:36 +00:00
Timo Sirainen
0a44c31101 /HELP: Set indent to 0 when printing text. syntax.pl now changes tabs
to 9 spaces at the start of lines in help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 09:43:38 +00:00
Timo Sirainen
19d111eff4 printtext_string() fix, should actually work now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:34:39 +00:00
Timo Sirainen
86aa2d514d Added printtext_string() which works like printtext(), except it prints
text from a string, so that %s, %d, etc. don't work. Changed perl's
Irssi::print() use this instead as well as /HELP printer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:30:01 +00:00
Timo Sirainen
5eaec93b29 Removed wrong SYNTAX: NOTICE, it's already correctly in irc/core
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:26:06 +00:00
Timo Sirainen
64dcb756b6 /BIND comment updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:22:58 +00:00
Timo Sirainen
93c0086d41 Complain about errors in theme file
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:01:01 +00:00
Timo Sirainen
596ef586b2 Added keyboard_entry_redirect() function to keyboard.[ch] which sends
the signal "gui entry redirect" signal. Added possibility to keep the
entry hidden.

/OPER [<nick> [<password>]] - syntax changed. If password isn't given,
it's asked.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:01:51 +00:00
Timo Sirainen
d844880515 /UNBAN <ref#> works. /BAN list shows reference numbers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:28:26 +00:00
Timo Sirainen
60df6d7be8 fixed minor memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:13:29 +00:00
Timo Sirainen
69f3b3f159 /LIST: don't require -yes option if there's 1000 channels or less.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:49:48 +00:00
Timo Sirainen
131825ea0e /WINDOW NUMBER: fixed small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:35:33 +00:00
Timo Sirainen
db66d47e26 "No such nick xx" is printed now with nick argument so it could get
printed to query window with xx


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 19:15:24 +00:00
Timo Sirainen
3ef279fd1c /SET windows_auto_renumber - should window refnums be packed when some
window is destroyed


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:32:48 +00:00
Timo Sirainen
4613196cd2 /WINDOW NUMBER: -sticky option added. Closing windows before a sticky
window won't change refnum of the sticky window and windows after it


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:30:23 +00:00
Timo Sirainen
8b5475f789 int:1 -> unsigned int:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:13:54 +00:00
Timo Sirainen
c2ea82642d Some query changes. They should now work properly with /SAVEWINDOWS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:13:55 +00:00
Timo Sirainen
21865aa8de MODULE_DATA(item) -> window_item_window(item) - forgot to change these
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:07:08 +00:00
Timo Sirainen
2ae679be08 added "message own_public" and "message own_private" events that are
sent when /msg command is used. this way we don't need to parse the
/msg's options everywhere. also efnet @#channels support works now better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 16:57:25 +00:00
Timo Sirainen
219c83ae6a window_item_create(): when there's multiple choices where the window
item could be placed, the first window is now selected instead of the
last accessed one of them (which most people think of as a random
window).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:57:55 +00:00
Timo Sirainen
4a33801669 Added/moved several "typedef struct _XXX XXX;" to common.h so that
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
2001-01-01 07:45:54 +00:00
Timo Sirainen
078a10900f don't do emphasis on nicks in channel (<nick1> _nick2_: hello won't underline)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 04:22:31 +00:00
Timo Sirainen
ab0c12b74c removed FIXME text :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:43:11 +00:00
Timo Sirainen
f372f6d327 pidwait: send status as second agument.
Implemented EPIC-compatible /EXEC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:42:47 +00:00
Timo Sirainen
84d672ee42 If msg comes from unknown channel (like when you just closed some
channel window and server sends the last msg to the channel) irssi now
prints the msg to active window instead of sending glib warning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 00:11:24 +00:00
Timo Sirainen
db5e7f3731 emphasis moved to fe-messages. added a few checks so that non-words
aren't treated as emphasis


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:04:33 +00:00
Timo Sirainen
06a6428d83 security fixes from 0.7.97.2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:48:42 +00:00
Timo Sirainen
2e9487d42a /SERVER REMOVE: port parameter should be optional
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:36:00 +00:00
Timo Sirainen
01d4c070e3 Don't check queries whose address isn't known yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:27:23 +00:00
Timo Sirainen
4957c7b98b don't display ignored quit messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1012 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 11:12:52 +00:00
Timo Sirainen
b16f473e9b don't autochange nicks from dcc connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1011 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 10:40:41 +00:00
Timo Sirainen
f61bde7d3c Autologging: '/' -> '_' - don't even accidentally try to log to
#../../../file if you happen to join to such channel..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1009 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 17:15:14 +00:00
Timo Sirainen
634dfd41e8 quit messages shouldn't crash :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1008 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 14:00:26 +00:00
Timo Sirainen
bbc33bff5e /SET prompt, /SET prompt_window - Specifies the text in prompt.
'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:39:22 +00:00
Timo Sirainen
aac80846b8 Settings are now stored in module-specific blocks. Irssi complains
about all unknown settings that are found inside those blocks.

Left backwards compatibility kludge which should be removed in 0.7.98.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 05:44:45 +00:00
Timo Sirainen
fc491c5f8d Some minor query fixes. Nick changes are also detected by checking if
query with another nick from same address if found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 02:20:22 +00:00
Timo Sirainen
6e19541f46 Improved nick_match_msg() - it shouldn't give wrong matches as easily
anymore. Also supports multiple targets in one line (nick1,nick2: hello)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 01:20:21 +00:00
Timo Sirainen
057ec3b8a8 Print quit messages from nick in query windows also
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 00:26:21 +00:00
Timo Sirainen
eafb6fe82f Theme saving to home dir didn't work correctly if globaldir already had
the same theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 00:04:51 +00:00
Timo Sirainen
2e033b5c6d Error message was missing from theme_save_failed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-16 23:36:42 +00:00
Timo Sirainen
2937e72a68 fixed $topic uninit
added $winref


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:51:52 +00:00
Timo Sirainen
8d98e80a6b -querychans option for servers and ircnets which specifies how many
channels to query in one line with MODE/WHO commands after joined to a
number of channels. Default is 10 which works usually, with some very
stupid servers (just found one) this has to be set to 1 however.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 19:12:49 +00:00
Timo Sirainen
9f2f1dc70a Server events: switched order of data and server parameters. it's now
SERVER_REC *server, const char *data, .. hope this doesn't cause too
many problems :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 21:12:52 +00:00