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

38 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
df94b9a44c window_[add|remove]_item -> window_item_[add|remove]
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 19:08:21 +00:00
Timo Sirainen
45c9838141 Time formats didn't work in directory name of autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-25 16:30:56 +00:00
Timo Sirainen
e923b1651a /SCROLLBACK REDRAW - redraw the contents of current window according to
active formats, ie. changing theme changes scrollback.

It's still a bit buggy (can crash) with multiline formats, need to fix
it as soon as I figure out where the problem is..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 03:00:05 +00:00
Timo Sirainen
39630c3d58 windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] to
fe-windows.[ch]


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 16:27:14 +00:00
Timo Sirainen
a890edfd41 Don't close non-autologs when leaving channel / closing query.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@839 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-15 23:34:32 +00:00
Timo Sirainen
d1330fff6d Text printing changes. Formats are now optionally saved to each line so
later if you used /format it would change the old lines too. However
the actual line changing doesn't work yet :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-12 20:20:05 +00:00
Timo Sirainen
73858a2e5e Some fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 21:04:01 +00:00
Timo Sirainen
4dcbe05c0f Cleaned up printtext.c, split part of it to formats.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 20:14:19 +00:00
Timo Sirainen
8653c6ea36 /SET log_theme - you can now write to log files with different theme
than to screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 03:01:11 +00:00
Timo Sirainen
9b459cfe46 Fixed glib warning with autologging and queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:38:53 +00:00
Timo Sirainen
0977ab90e5 Logging fixes. Autologging with same named channels in different
networks should work correctly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-17 23:37:21 +00:00
Timo Sirainen
28f3e476da Complain only once with autologging if opening some log file failed
(locked by another irssi)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:53:25 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
6675cec459 mkpath() - behaves like mkdir -p. Autologging now uses it to create
log directories.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 15:50:50 +00:00
Timo Sirainen
ccf12d2bfc /LOG: Removed the -rotate option, it was pretty useless since adding
the % formats to file name already tells that the log should be
rotated.

Autologging supports log rotating now too, just add the wanted %
formats to /SET autolog_path


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 22:07:42 +00:00
Timo Sirainen
82d272799c Autologging fixes: Don't log WHOIS replies by default
(autolog_level = all -crap). And with /msg nick1,nick2 don't log to
file nick1,nick2.log but nick1.log and nick2.log separately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 20:13:49 +00:00
Timo Sirainen
c529fe0096 Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:19:22 +00:00
Timo Sirainen
360149891c Autologging: if we're already logging the item somewhere else, make sure
that log file is open.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 16:02:50 +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
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
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
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
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
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
4ca7184955 Fixed a crash
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-05 20:15:57 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
a5a66264de Perl working again, better than ever (unless there's bugs :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 08:07:42 +00:00
Timo Sirainen
c95034c6de ..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00