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

34 Commits

Author SHA1 Message Date
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
4c51bc9755 get_max_column_count() didn't work properly if items had wider items than
max_width.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 15:05:08 +00:00
Timo Sirainen
666f4b2463 get_max_column_count() didn't return correct value in save_column_widths
when it returned only one column.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 23:46:48 +00:00
Timo Sirainen
1b8705bd44 Make sure there's always at least one column even if there's items
wider than max. width allows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:01:18 +00:00
Timo Sirainen
a47ce2c449 Added strstr_full() and strstr_full_case()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:34:35 +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
7240717198 get_max_column_count(), columns_sort_list(): fixed to work properly
with empty list


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:09:11 +00:00
Timo Sirainen
4bcae4c071 get_max_column_count() didn't work properly when there was only one item
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1166 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:37:13 +00:00
Timo Sirainen
f5ea5348c0 get_max_column_count(): we didn't handle correctly a situation where
last column of the list was empty


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:27:09 +00:00
Timo Sirainen
e75ce196e8 get_max_column_count(), columns_sort_list(): helper functions for
printing column lists


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:43:38 +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
1c9f45b4a4 Use GIOChannel instead of sockets directly. Helps porting to win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 22:57:18 +00:00
Timo Sirainen
e7bfb7fe88 added g_timeval_cmp()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 23:12:42 +00:00
Timo Sirainen
cbf45ea6bf stristr() and stristr_full() didn't work correctly with empty needle
argument.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 01:14:49 +00:00
Timo Sirainen
2e96f68445 mkpath() crashed with paths that didn't start with /
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-25 20:54:24 +00:00
Timo Sirainen
d1d70fd5d7 s/enum GInputCondition/int/ - enums aren't supposed to orred together i
think.. at least MIPSpro gave warnings about it and it also feels wrong :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:29:32 +00:00
Timo Sirainen
8ce36c05ea several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 21:40:07 +00:00
Timo Sirainen
6e27475e98 Updated stristr() and stristr_full() to be a bit faster.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:25:46 +00:00
Timo Sirainen
df10f182c0 Some fixes for compiling with Win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-26 18:12:20 +00:00
Timo Sirainen
0ef25c9fb4 match_wildcards() failed if there was * at the end of the mask but
otherwise data matched (str* vs. str)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:47:32 +00:00
Timo Sirainen
0158782b02 Keyboard should never get stuck again when receiving huge amounts of
text from server that irssi doesn't handle fast enough.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 22:12:01 +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
3baf7fbd4c Some changes handling g_input_add() - maybe this helps to problems
where irssi sometimes eats all the cpu.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15 00:22:08 +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
1a655f3575 is_numeric() returns now FALSE if it was given empty string.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 11:54:54 +00:00
Timo Sirainen
c2397475c5 Cleaned up code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 20:18:05 +00:00
Timo Sirainen
dcc2e89b2e Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-10 23:00:56 +00:00
Timo Sirainen
39282a342f If joined channel had some low-ascii (color codes), they were displayed
wrong in statusbar and prompt. Also, if you're invited to some channel,
print the lowascii so that you can see them (^B, etc.)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:54:34 +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
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
4dd5c50390 match_wildcards() didn't work right if data contained '*' characters and
we were matching it to '*'..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:17:45 +00:00
Timo Sirainen
76605ad0ae Added bot plugin, it also has almost-functional botnet.
Changed configure.in's functionality so that you could tell what modules you
want to build in main irssi binary and it will create automatically the .c
files that need to call the module_init()/deinit() functions.

Fixed several minor things..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 11:30:47 +00:00
Timo Sirainen
93d6032151 - Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and
GNOME crap to compile irssi-text.
- Some fixes to compile with -ansi -pedantic


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 11:42: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