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

182 Commits

Author SHA1 Message Date
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
1698500f80 $[.10]var truncates the var to 10 chars, but doesn't pad if var is
shorter than 10 chars


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-12 17:05:05 +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
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
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
14dbcd00bf "return 1" doesn't anymore stop signals in perl scripts. Fixed
Irssi::signal_stop() to properly stop the signal from going to other
perl scripts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:23:06 +00:00
Timo Sirainen
069d9f3f02 nick_match_msg() : check was case sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 23:49:19 +00:00
Timo Sirainen
b4f4a1a9dd In "Configuration file was modified ..." text, added "Use /SAVE or
/RELOAD to get rid of this message."


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1068 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 06:49:47 +00:00
Timo Sirainen
f3f80c1499 Allow stopping signal more than once without sending GLib warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:27:21 +00:00
Timo Sirainen
1e4c658a18 Removed the "signal" and "last signal" signals. Changed perl's
signaling system to work without them, it should now work faster and
better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1053 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-03 07:34:12 +00:00
Timo Sirainen
d58ea58abc net_accept(), net_getsockname() IPv6 fixes pointed out by pv2b :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 07:05:07 +00:00
Timo Sirainen
806e1f0765 removed the win32 EINPROGRESS define, that wouldn't work anyway
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 05:55:36 +00:00
Timo Sirainen
ebeb48d307 Query bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1048 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 19:29:05 +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
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
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
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
1257104980 comment update :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 21:56:25 +00:00
Timo Sirainen
1a536c204c Instead of trying to send data to server every 1/10th of second, send
it whenever there's space in buffer using g_input_add() with G_IO_WRITE


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:22:35 +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
99b29df17c put back ircnet -> chatnet backwards compatibility, this time modify
the config file to use chatnet so after .98 we could remove this


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:47:33 +00:00
Timo Sirainen
db2c620951 when changing config file to new format send "setup changed" signal at
startup so that some settings that were tried to be used before
settings_check() was called would be properly loaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:42:56 +00:00
Timo Sirainen
cf0c2a7fb6 removed backwards compatibility from ircnet -> chatnet change
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1006 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:40:59 +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
8cd67ba344 Destroy all settings and commands used by modules when they're unloaded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 04:14:47 +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
3011d2c01c removed useless chat_type checks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 01:37:12 +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
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
9681252b4c added $topic expando
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:41:01 +00:00
Timo Sirainen
9157c49b84 $T in empty window crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:15:57 +00:00
Timo Sirainen
210409bc0b '_' character wasn't treated as acceptable $variable_name character.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@986 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:11:36 +00:00
Timo Sirainen
877ec1793a Don't crash with /reconnect <unknown tag>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 22:58:59 +00:00
Timo Sirainen
e6cc73bd4b net_receive(), net_transmit(): error handling was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-08 20:13:21 +00:00
Timo Sirainen
d3e9880f48 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-08 15:47:18 +00:00
Timo Sirainen
a99e93ef5d NICK_REC can be now inherited
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 01:07:21 +00:00
Timo Sirainen
809fa17d82 Use hardcoded array for signals instead of dynamic (pretty useless, "10
is enough for everybody" :). Check sysname/sysrelease only once at
beginning and use those values rest of the time.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 01:06:35 +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
Timo Sirainen
346808789c net_gethostbyname_nonblock(): don't crash if net_gethosterror() returns
error message as NULL.

Initialize winsock with win32.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 19:43:12 +00:00
Timo Sirainen
d1eaeca255 Split expandos from special-vars.c to expandos.c. Added list of signals
to each expando that can might change it's value.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 00:53:04 +00:00
Timo Sirainen
5f941b8fa6 added signal_add_to_id()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 23:53:28 +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
e18d43cef7 cmd_get_params() didn't work correctly if we didn't want any paramers
but only options.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 20:35:44 +00:00
Timo Sirainen
c8a90566ca /RECONNECT without any parameters and when not connected to any server
reconnects to first server in reconnect list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:31:17 +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
a01275959d cmd_options_get_server() : allow NULL cmd argument
eval_special_string() : if any of the commands separated with ; used
the arguments ($0, $1, etc.) don't anymore append all the arguments
after other commands.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@903 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 22:58:45 +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