1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

61 Commits

Author SHA1 Message Date
Timo Sirainen
8fc1e0535c You can send message to different server with /MSG -<server tag> nick...
Tab-completion changes:
 - in empty line, it completed /MSG nick1 fine, but another tab press
   didn't give the next nick.
 - "/command <tab>" doesn't try to complete /command, but instead it tries
   to complete it's subcommand or first parameter.
 - /MSG completion now goes through nicks in ALL servers prefixing the nick
   with -<server tag> if needed.
 - /MSG -tag <tab> completes only nicks in "tag" server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 20:00:39 +00:00
Timo Sirainen
7e531cec7a Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 17:15:37 +00:00
Timo Sirainen
c248de0eca -options can now be completed with tabulator. There's also automatic
completion for them, like instead of /join -invite you can use just
/join -i.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 15:36:57 +00:00
Timo Sirainen
7718294fa0 "print text stripped" signal wasn't resent with MSGLEVEL_HILIGHT level.
This broke at least logging hilighted messages.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 19:11:25 +00:00
Timo Sirainen
2f53972523 Closing active window that had window items could crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 18:26:22 +00:00
Timo Sirainen
0dbfd281c9 Created signal_get_uniq_id() macro. Added some documentation about
signals to design.txt.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 23:39:23 +00:00
Timo Sirainen
69b8d4f81b Subcommand and command parameter completion works now also if you use
alias as the base command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:59:49 +00:00
Timo Sirainen
97bf5f5b39 Settings completion works with /TOGGLE also, it completes only boolean
settings. /SET completion works now even if '/' isn't in command chars.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:14:09 +00:00
Timo Sirainen
892afcb9e6 completing files in root directory put extra / character at the start
of the line


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:05:44 +00:00
Timo Sirainen
0bc084770c File name completion crashed if you tried to complete file in directory
that didn't exist or you didn't have read permission.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 21:59:30 +00:00
Timo Sirainen
49c4506bd8 Display /ALIAS list sorted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:25:39 +00:00
Timo Sirainen
e21e289b5d File completion updates:
- ~/ isn't expanded to /home/xxx/
 - . and .. don't show up in list anymore
 - .files won't be added to list unless you try to complete file name
   starting with .


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:05:14 +00:00
Timo Sirainen
a5d31a195d Changed option handling in /commands. Irssi will now complain about
unknown options and missing option arguments.

Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
a9a0f4fd64 Added file name completion for commands /CAT, /RUN, /SAVE, /REHASH and
/RAWLOG OPEN/SAVE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 16:10:29 +00:00
Timo Sirainen
0762fbc945 "command complete" -> "complete command" so that it won't conflict with
/complete command .. also changed "word complete" to "complete word".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@362 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 16:03:43 +00:00
Timo Sirainen
8fa6ca5e61 File name completion for /DCC SEND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 15:58:40 +00:00
Timo Sirainen
f0d6ef99dc Completion list is now sorted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:16:42 +00:00
Timo Sirainen
8c60237fbe Don't add same /command more than once to completion list.
Completion didn't work right when completing subcommands's subcommand.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:04:19 +00:00
Timo Sirainen
ea00d4c948 Forgot to add this.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:23:59 +00:00
Timo Sirainen
8ea2400269 Added /SET reuse_unused_windows setting, default is OFF
If window_close_on_part is ON, we don't anymore close the window if we
get kicked or connection gets lost. Also don't close DCC chat window if
the other side disconnects.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:22:56 +00:00
Timo Sirainen
234e95ef94 Rewrite Tab-completion to work with signals - now it should be easy to
add completion to whatever command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 11:53:45 +00:00
Timo Sirainen
df2ad566d8 Whops, last "fix" broke timestamp's time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 10:39:24 +00:00
Timo Sirainen
b810f0d545 Don't waste time calculating timestamp differeces if the
timestamp_timeout is 0.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 22:31:59 +00:00
Timo Sirainen
6140ab3704 Renamed /SET query_auto_close to autoclose_query.
Added /SET autocreate_own_query - it specifies if we want to create
query window when we send /MSG to someone.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 19:05:51 +00:00
Timo Sirainen
c892353bf4 "window changed" signal now gives the old window as it's second argument.
query_auto_close now resets the "last check" time when changing to some
other window FROM it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:41:45 +00:00
Timo Sirainen
4f9df44cb6 Logging wrote to message to file twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:33:41 +00:00
Timo Sirainen
661ad04688 /HILIGHT -channels didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@328 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:18:24 +00:00
Timo Sirainen
18f3c74d68 CTCP msgs/replies stops the "event privmsg" or "event notice" signals now
so you don't have to check for them anymore (unless you use
signal_add_first()..).

/WINDOW MOVE command had some bugs.

CTCP reply to some channel didn't display the channel name.

Several code cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 22:57:53 +00:00
Timo Sirainen
919abb2c6f /EVAL will now expand \n and \t to newline and tab.
If you /SET expand_escapes ON and type \n or \t to text line, they
will be expanded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 22:58:17 +00:00
Timo Sirainen
10c92487a3 /SET close_window_on_part - should we close the window too when
/PARTing channel


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 20:21:12 +00:00
Timo Sirainen
153e95f728 Clear window's waiting_channels list if some other channel/query is
created in the window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 20:04:15 +00:00
Timo Sirainen
08af8081d0 if command is unknown, and cmdchar is found inside the command name, we
probably want to send the whole line to channel. for example when
pasting a path /usr/bin/xxx


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 23:40:47 +00:00
Timo Sirainen
f877d934b3 "Day changed" is now printed at right time, never after already printed
some messages after 00:00..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 18:56:03 +00:00
Timo Sirainen
03ca2e6d90 Don't display the msgs window by default anymore since query windows are
created by default also..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 18:12:28 +00:00
Timo Sirainen
3fd3a03402 Beeps should work(?). ANSI colors had some bugs, bolds weren't working and
blinking crashed irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 16:58:52 +00:00
Timo Sirainen
6ee0a40abb Window activity is now "msg to you" with lines containing hilighted text.
You can disable window activity notifies in some channels with
/SET noact_channels #chan1 #chan2 .. The activity is displayed if some
text had "msg to you" level.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 16:19:42 +00:00
Timo Sirainen
3980201361 /HILIGHT displayed levels twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 21:11:53 +00:00
Timo Sirainen
80c03f4572 fixed two minor memleaks. irc/bot directory isn't now build if you specify
--without-bot parameter to configure


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 20:54:33 +00:00
Timo Sirainen
086e433bc6 /LOG show reference number for each log, you can use it with /LOG START,
STOP and CLOSE commands instead of file name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 12:59:46 +00:00
Timo Sirainen
bf61b699da Awaylog is printed to screen when you set yourself unaway.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:15:51 +00:00
Timo Sirainen
d2df583801 /CAT <file name> [seek position]
If we don't want to print the file from beginning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:15:19 +00:00
Timo Sirainen
6233d6d9bf Leaving from some channel didn't update status bar.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:08:30 +00:00
Timo Sirainen
59d47df22d msgs window was irc server specific - messages from other irc servers were
displayed in active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 00:32:48 +00:00
Timo Sirainen
48b409ea14 /set max_textbuffer_lines changed to /set scrollback_lines and
/set scrollback_hours - this means that keep scrollback usually max.
x lines, but allow more if the text is newer than n hours.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:24:09 +00:00
Timo Sirainen
8f341a9308 timestamp_timeout setting is integer, not boolean
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-19 09:17:53 +00:00
Timo Sirainen
ae25925a1f Some logging fixes. Flood checking had a memory leak. Query had a small
memory leak. Text buffer fixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-18 08:46:56 +00:00
Timo Sirainen
c3a45ce00e bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 14:22:34 +00:00
Timo Sirainen
cbdaf7d06d Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
bb4d7566c2 iconfig's caching was a bit buggy - it didn't notice if some config node was
removed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 13:57:42 +00:00
Timo Sirainen
240df09c45 A few more bugfixes to make /window prev work.. :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 10:00:01 +00:00