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

2819 Commits

Author SHA1 Message Date
Timo Sirainen
2adba92338 fixed memory leaks with several functions.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 17:57:19 +00:00
Timo Sirainen
d68bbeb5ef don't use TIOCGWINSZ terminal size if it returns only 0x0.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 17:11:04 +00:00
Timo Sirainen
ed966c6921 changed log domain and changed few g_return_if_fails to g_asserts. the
domain change makes all glib warnings be printed into stderr instead of
trying to print them into irssi window which most probably would just
mysteriously crash.

also irssi doesn't now crash if it thinks screen height is 0 :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 17:07:37 +00:00
Timo Sirainen
9a435e68f9 make sure the statusbar item fills the space it's given, so it won't corrupt
the statusbar.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 16:05:30 +00:00
Timo Sirainen
9d9ac40cad /FORMAT whowas change: ircname -> was, maybe this will make automatic
whowas-on-whois replies a bit more noticeable.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2785 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 15:30:23 +00:00
Timo Sirainen
0a4cedd83d Added format_create_dest() + $dest->print() functions. here's also our first
magic perl variable - many thanks to Qrczak for helping with it :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 14:45:54 +00:00
Timo Sirainen
9c038783a4 timeout_add_once() didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 13:50:45 +00:00
Timo Sirainen
15eaa7cc88 Split nick and host for topic info format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 15:18:10 +00:00
Timo Sirainen
3ac451c608 some optimizations to not uselessly hide/show/move cursor - hope i didn't
break anything :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 14:48:11 +00:00
Timo Sirainen
22e9fa49dc "alias xx", not "aliases xx"..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 14:23:05 +00:00
Timo Sirainen
a74c8e4d55 added "alias added" and "alias removed" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 14:06:08 +00:00
Timo Sirainen
4a93232462 dcc reject bugfix went wrong, fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:20:02 +00:00
Timo Sirainen
583417d66e irssi didn't notice if DCC send connection died.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:19:13 +00:00
Timo Sirainen
ed1eb46eb4 /set hide_mirc_colors -> /set hide_colors, which also hides ANSI colors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2776 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 00:51:07 +00:00
Timo Sirainen
a26be5e37d moved timestamp_format into lookandfeel category
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 22:53:16 +00:00
Timo Sirainen
bd4f506b63 added format_get_length(), format_real_length() and strip_codes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 22:17:16 +00:00
Timo Sirainen
8e1233e395 removed the complaining about NULLs in string formats, they're more trouble
than worth I think.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 21:57:51 +00:00
Timo Sirainen
308779dd4d freeze/thaw before/after running glib main loop, so the cursor isn't moved
uselessly around.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 01:35:37 +00:00
Timo Sirainen
8df077426d server_setup_add() now emits signal "server setup updated"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 00:37:48 +00:00
Timo Sirainen
1acc2be4e3 broke CHAT_PROTOCOL_REC into struct + typedef.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 22:41:22 +00:00
Timo Sirainen
d11483db4d typofix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 20:40:36 +00:00
Timo Sirainen
c75099cbab closing /EXEC -interactive window may have crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 19:00:38 +00:00
Timo Sirainen
5b5cd255e9 don't send DCC REJECT when closing a connected DCC connection.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 18:47:49 +00:00
Timo Sirainen
1ae2d31cc8 window_bind_add() the query->server_tag, not server->tag as server can be
null and crash.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2766 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 18:32:50 +00:00
Timo Sirainen
903ca7b757 more fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 13:13:06 +00:00
Timo Sirainen
d8fdfd225c another terminfo fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 12:35:05 +00:00
Timo Sirainen
7574aa5b62 separated author email
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 13:08:04 +00:00
Timo Sirainen
ac61d08976 fixed /WHO handling
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 03:01:40 +00:00
Timo Sirainen
2c3d24e1da Removed servertest - it's really not needed and doesn't even work probably.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 02:48:22 +00:00
Timo Sirainen
7e9f47e8f9 /SET hilight_nick_matches - NO disables hilighting your own nick at
beginning of line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-08 10:59:47 +00:00
Timo Sirainen
24c4a2e86d link with -export-dynamic. normally glib includes the dynamic linking info,
but not in all systems.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-08 00:27:46 +00:00
Timo Sirainen
c1384d919b return value wasn't a good idea after all - added Irssi::timeout_add_once()
instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-07 23:40:21 +00:00
Timo Sirainen
0d76b65381 non-zero return value in timeout and input handlers now stops it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-07 23:03:30 +00:00
Timo Sirainen
dbca752971 /alias q query
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-07 16:10:00 +00:00
Timo Sirainen
9405dc2ce8 fixed buffer overflow - happened at least when hitting ^A after writing
enough text to input line. usually didn't crash..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-06 04:58:47 +00:00
Timo Sirainen
ea4be04a07 removed unused #defines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-05 15:39:40 +00:00
Timo Sirainen
24e4acc7cc removed colorless.theme since it's not autogenerated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-05 15:33:00 +00:00
Timo Sirainen
b7583c188e window_set_name() - when setting it to "", set it NULL instead.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-04 23:07:43 +00:00
Timo Sirainen
8a7bc3b667 don't leave active_win corrupted if last window is killed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-04 19:44:25 +00:00
Timo Sirainen
5d1e89fa77 updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-04 17:18:34 +00:00
Timo Sirainen
70d377b865 Added completion for /LOAD and /WINDOW ITEM MOVE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 22:39:06 +00:00
Timo Sirainen
f376e558f7 reversed the window->items change, it broke ^X
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 22:35:01 +00:00
Timo Sirainen
55c2554dba format_read_arglist() now prints the format name also when complaining about
parameters.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 15:55:26 +00:00
Timo Sirainen
8009aae044 tss@iki.fi -> cras@irssi.org
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01 22:52:51 +00:00
Timo Sirainen
d856e65e6d %# to whois format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2745 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01 22:52:31 +00:00
Timo Sirainen
73b099cef5 Removed the "GLib" text from glib_error format, to stop people thinking they
have something to do with glib itself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01 18:30:45 +00:00
Timo Sirainen
947c1bb1c6 /notice *, /ctcp * and /nctcp * crashed if there wasn't active window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 22:39:13 +00:00
Timo Sirainen
d79cfc6362 added -actcolor
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 11:05:29 +00:00
Timo Sirainen
9aa40d0e58 keep the window items sorted in window->items list, based on when they were
last active (just like windows list)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 00:30:53 +00:00
Timo Sirainen
91882b1a2b irc_send_cmd_split() printed glib warning if nick parameter didn't exist.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-29 19:39:57 +00:00