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

2417 Commits

Author SHA1 Message Date
Timo Sirainen
555e3e6395 Added an extra check to make sure nothing bad happens..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 12:40:09 +00:00
Timo Sirainen
92933dace3 Server parameter is sent now too with /WHO, though the format itself wasn't changed. patch by peder.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 11:38:46 +00:00
Timo Sirainen
db907c209f Don't add command to history if it's already in there as last entry. patch by peder.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-27 11:37:31 +00:00
Timo Sirainen
c15769685c Check that the nick doesn't get added twice to nicklist, seems to happen sometimes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-22 02:28:22 +00:00
Timo Sirainen
acffe7b322 /LOG OPEN -window accepts now -targets too to specify the refnum
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-21 15:13:05 +00:00
Timo Sirainen
361e79b0d6 added $versiontime
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-21 11:57:01 +00:00
Timo Sirainen
d87d8caece Some crashfixes with command history.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 21:52:16 +00:00
Timo Sirainen
9ddebe6bcf Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 13:29:20 +00:00
Timo Sirainen
9ed228551b "nick mode changed" signal was missing channel parameter
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 12:46:34 +00:00
Timo Sirainen
f6cd4478c3 And the final #include :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:18:35 +00:00
Timo Sirainen
c255a7b8ea Still some #include "servers.h"s ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:17:35 +00:00
Timo Sirainen
bf5b6c08c5 Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:14:49 +00:00
Timo Sirainen
4d1938d4ef Changed ircnet's max_query_chans to 5 from 10, so that it wouldn't take forever to receive WHO replies if you join to 10 channels..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2271 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19 15:58:23 +00:00
Timo Sirainen
c99205b512 Never allow adding CR or LF characters to input line, they could mess up everything.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19 15:25:16 +00:00
Timo Sirainen
080b491db9 Hidden entry texts shouldn't have gone to command history..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2269 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-19 00:42:22 +00:00
Timo Sirainen
e46446e950 Since I accidentally already committed some of the detach-code, here's the
rest of it. It doesn't really work, you can make irssi detached but you
can't attach to it anymore :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 23:01:12 +00:00
Timo Sirainen
ba09b3f299 if window-specific history is off, the command that closed the window should
go in the command history.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 22:13:18 +00:00
Timo Sirainen
4bc4da5c6b mode +d is now also treated as having argument (hybrid 7 / dancer realname ban)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 19:47:23 +00:00
Timo Sirainen
f126e1b2c3 irssi-dummy was still in Makefile
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 19:41:18 +00:00
Timo Sirainen
35d363136f Separate irssi-dummy binary was a bit stupid idea, now it can be started with -d command line parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 18:41:06 +00:00
Timo Sirainen
475aa27588 Added irssi-dummy binary which works like ircii's dummy mode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-17 16:27:20 +00:00
Timo Sirainen
5b5df3ebbe /VERSION printed time wrong, hopefully the last version fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 02:21:27 +00:00
Timo Sirainen
6720940e1a Leading zeros didn't work well in IRSSI_VERSION_TIME.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 01:41:29 +00:00
Timo Sirainen
5916b9dcb8 Still more version changes .. Irssi::version() now returns the version in
"date.time" format, so now it's also possible to "use Irssi 20011216.0149;".

Also fixed a memory leak for Irssi::parse_special().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:49:35 +00:00
Timo Sirainen
5f271da0a4 Print IRSSI_VERSION_TIME in /VERSION too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:39:24 +00:00
Timo Sirainen
7d722f6ca3 irssi --version now prints the IRSSI_VERSION_TIME as well
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:33:44 +00:00
Timo Sirainen
7bda808395 Added $versiontime and Irssi::version_time()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:26:09 +00:00
Timo Sirainen
3007e251a6 IRSSI_VERSION_DATE is now parsed from ChangeLog by configure. Also added
IRSSI_VERSION_TIME.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:15:05 +00:00
Timo Sirainen
80f2666d09 Removed "gui window goto" signal, it hasn't been used for ages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 21:22:48 +00:00
Timo Sirainen
4dff614333 Irssi::ignores() wasn't working, it looked at the server list..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 20:37:50 +00:00
Timo Sirainen
1410b3bc4c Removed this accidentally, you'll need to rm irssi-version.h;cvs update
irssi-version.h manually..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2253 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 19:37:36 +00:00
Timo Sirainen
1aed7cb956 IRSSI_VERSION_DATE is now a number, so you can do #iffing with it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 19:28:44 +00:00
Timo Sirainen
c0620e0804 max_query_chans = "10" removed from all networks except ircnet. Looks like
it's the only network where it works..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 18:24:21 +00:00
Timo Sirainen
5e65d39261 Updated to ignore the ident, and added optional parameter to specify the
minimum number of clones to show from host.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 13:22:38 +00:00
Timo Sirainen
68883efd3e Better support for actions and CTCPs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 13:10:51 +00:00
Timo Sirainen
26d9da61c8 net_listen(): when socket() failed because we tried to use IPv6, we should
have falled back to IPv4, but wrong errno was checked.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 22:19:54 +00:00
Timo Sirainen
740ab0d550 warning fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 22:04:28 +00:00
Timo Sirainen
496db0eefc Redirections were broken if server_redirect_event() didn't list the stop
event.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2246 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 16:11:13 +00:00
Timo Sirainen
369ce5d699 perl_timeout_add() didn't add the script pointer to the source record, so
unloading scripts didn't remove the timeouts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 15:59:35 +00:00
Timo Sirainen
6ec7d152b0 Fixed some asserts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 02:02:08 +00:00
Timo Sirainen
6774b4b30f Added reference counting to server record. At least now we don't accidentally
use a destroyed server record when some /command disconnects the server
(shouldn't happen really) or when irc_send_cmd() fails sending data to server
and disconnects the server (I don't know if this ever happens, but if it does,
it very well could have caused crashes)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 01:54:12 +00:00
Timo Sirainen
ebd09ede51 bugfix for previous fix :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 01:43:41 +00:00
Timo Sirainen
f8dd514805 e/I/O/q mode changes shouldn't change the visible channel mode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 00:42:25 +00:00
Timo Sirainen
86cb263f68 Added "setup saved" signal, updated "setup reread" to contain file name
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-13 19:15:00 +00:00
Timo Sirainen
5705e7b4f2 If window specific history was on and command changed a window, the command
was saved in wrong window's buffer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 20:31:45 +00:00
Timo Sirainen
617123b5d4 I always forget Perl 5.004 doesn't have PL_na .. so, now I've declared for
5.004, and changed all STRLEN n_a code to use PL_na instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 16:44:53 +00:00
Timo Sirainen
d4ee6fd604 User mode changes weren't visible.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 15:15:38 +00:00
Timo Sirainen
3f59c18082 Fixed a memory leak + some cleanups
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 02:02:47 +00:00
Timo Sirainen
d08830f9cb Added Irssi::settings_add_...(), patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-11 00:07:18 +00:00
Timo Sirainen
020861c698 Netsplit saved the NICK_REC, but didn't save the dynamically allocated strings
which were part of it. Removed it now and replaced it with saving only
op/halfop/voice status. Might have caused some crashes? (hopefully did :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 23:32:46 +00:00