1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

1518 Commits

Author SHA1 Message Date
Timo Sirainen
9cbf26d519 If we return with cmd_param_error() or cmd_return_error(), call
signal_stop() so if the command is bound multiple times (like core, which
does the functionality and fe-common which prints the texts) it won't print
the error message ever twice.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:21:37 +00:00
Timo Sirainen
242a9c17df after doing /INVITE nick #channel - instead of printing just "nick #channel",
print "Inviting nick to #channel"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:10:38 +00:00
Timo Sirainen
b90d2e9cc2 show_quit_once displayed the quit window always in active window. now
it's displayed in first window that contains a channel where the nick was.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:02:54 +00:00
Timo Sirainen
142025467e Setting window's prompt didn't check that the window was active -> some
other window's prompt could sometime appear in screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:48:05 +00:00
Timo Sirainen
7bd9e701fa updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:45:50 +00:00
Timo Sirainen
642a4525d4 updated aliases, added #irssi/efnet
/BANSTAT -> /BAN


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:44:55 +00:00
Timo Sirainen
a94e6e735c Fixes for servers that replied to WHO #a,#b with 403 message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:38:52 +00:00
Timo Sirainen
849c091ac4 Removed several header files that only had xxx_init(); xxx_deinit(); - moved
them to the .c file where they were called.

nicklist didn't notice nick changes right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 10:31:14 +00:00
Timo Sirainen
d769109f57 joining to multiple channels at once crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 09:48:06 +00:00
Timo Sirainen
b1e041435e missing query_init(), query_deinit()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 09:19:34 +00:00
Timo Sirainen
9471d16ba3 Query: sending msg displayed msg[nick] instead of the plain <nick>
Nick's address didn't show up in topic bar


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 08:05:51 +00:00
Timo Sirainen
79dbc156b6 Delete key works again
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:22:52 +00:00
Timo Sirainen
be0ccafd36 same user mode problem fixed with reconnects
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:19:57 +00:00
Timo Sirainen
d4195b31a2 crashed with servers that didn't automatically set any user mode
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:13:29 +00:00
Timo Sirainen
2b711f1383 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:43:45 +00:00
Timo Sirainen
9044f31921 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:37:31 +00:00
Timo Sirainen
00c2388666 fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:19:03 +00:00
Timo Sirainen
d29ca0b107 rest of the ~rewrite?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:10:09 +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
Timo Sirainen
d01b094151 ..still removing..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 07:50:02 +00:00
Timo Sirainen
4482d518b8 section can be NULL - which is same as "". Fixed several functions to allow
it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-14 12:49:02 +00:00
Timo Sirainen
53b248f6de Sorry for a big update - I still don't have internet connection at home
and this is what I've been doing a few weeks now.. :) You really shouldn't
upgrade to this version without keeping a backup of the working one, since
this will break everything and at least notify list is broken - probably
something else too.

* On the way to 0.8.0 .. Major rewriting/rearranging code. There's
  some changes in behaviour because I'm trying to make Irssi a bit
  more compatible with EPIC.

* libPropList isn't needed anymore - I'm using my own configuration
  library. This is mostly because different proplists worked a bit
  differently everywhere and several people had problems with it.
  It's also yet another extra library that you needed to compile
  Irssi. New configuration library has several advantages:

  You can add comments to configuration file and they also stay
  there when it's saved.

  It's not nearly as vulnerable as proplist. If some error occurs,
  instead of just not reading anything it will try to continue if
  possible. Also the error messages are written to irssi's text
  window instead of stdout.

  It can be managed more easily than proplist - setting/getting the
  configuration is a lot more easier.

* Coding style changes - I'm not using gint, gchar etc. anymore,
  they're just extra pain when moving code to non-glib projects and
  syntax hilighting doesn't work by default with most editors ;)

  Indentation style was also changed to K&R because of some political
  reasons ;) And I'm already starting to like it.. :) It forces me
  to split code to different functions more often and the result is
  that the code gets more readable.

  And finally I'm also using nst' all over the place.

+ /EVAL <commands> - Expand all the special variables from string and
  run it. Commands can be split with ; character. See
  docs/SPECIAL_VARS for more info.
+ Aliases are parsed just like /EVAL - arguments are in $0..$9.
+ Text formats are also parsed like /EVAL, arguments used to be in
  $1..$9, now they're in $0..$8 so it messes up existing themes..
+ /SET [key [value]] - no more the '=' character. Boolean values
  also need to be changed with ON/OFF/TOGGLE values (not yes/no).
  Settings aren't saved to disk until you use /SAVE.
+ /TOGGLE <key> [ON/OFF] - same as /SET <key> TOGGLE


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-14 11:27:14 +00:00
Timo Sirainen
7f4eac0dd4 Moved all server connection information to SERVER_CONNECT_REC from
SERVER_REC and RECONNECT_REC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 22:35:56 +00:00
Timo Sirainen
6275dd69ad Several GLists moved to GSLists.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 17:57:32 +00:00
Timo Sirainen
8d6dd5f992 Removed as many warnings as possible when compiling with -ansi -pedantic
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 14:11:01 +00:00
Timo Sirainen
c701648ab3 Server reconnection tries always the first server in the list where
connection hasn't failed for the last half an hour.

If all have failed, just try connecting to any of them.

+several code cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-19 00:46:41 +00:00
Timo Sirainen
6b96becc79 Merged line-split from i2k. Several other cleanups.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 21:50:38 +00:00
Timo Sirainen
cc01075295 Merged in i2k's networking code
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 19:46:12 +00:00
Timo Sirainen
2b026b6d0f Merged some of i2k's signal handling code. All signals are now linked
to some module, so plugin_bind() was removed as useless.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 18:49:41 +00:00
Timo Sirainen
90fb674a9b Remove gui_timeout_add/remove, gui_input_add/remove and lib-nongui, use
Glib instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-18 12:52:51 +00:00
wiget
c48606a440 - fix perl related problems
- use libtool to build helping libraries


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-03-01 11:50:34 +00:00
Timo Sirainen
f5fc624781 Irssi 0.7.27 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-25 17:03:17 +00:00
Timo Sirainen
3d513eebfa Perl documentation and updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@129 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-24 23:43:49 +00:00
Timo Sirainen
4eb989ccb1 Updated perl support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-24 21:14:44 +00:00
Timo Sirainen
962e6fea11 Don't allow any setup file changes or log writing if another irssi
session is running.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-02-18 22:50:21 +00:00
Timo Sirainen
accc66c511 updates for new version:
+ configure displays a summary of things to compile
+ /set toggle_use_colors = yes|no, sets colors on/off in irssi-text
- Some kB/s messages displayed wrong values when resuming DCC
  transfers. Also, kB/s is now displayed with two decimals
- "Day changed to 00-10-2000" .. month was wrong. No Y2K bugs
  however ;)
- List of ircnets was displyed wrong in server dialog.
- Userhost replies didn't handle ircops right..
- Doesn't quit when receives SIGHUP - some window managers send it
  when restarting itself (Afterstep)
- Specifying "source host IP" didn't work (vhosts).
- Using ctrl-b etc. didn't move the cursor forward..
- Don't try to compile GTK parts of plugins if we don't even want
  build GTK irssi
- Doesn't crash when trying to create DCC dialog after being
  disconnected from IRC server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-01-12 22:10:30 +00:00
Timo Sirainen
b36b88af1b IRC Network specific settings: nick, username, realname,
max. kicks/modes/msgs per command.

Keeps track of "wanted nick", ie. the nick you specified in the setup
or to /server or /nick. When reconnecting to server it always tries the
wanted nick before falling back to alternate nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@98 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-12-19 19:00:11 +00:00
Timo Sirainen
f4dc754e3f Last changes for 0.7.19
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@77 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-20 14:00:24 +00:00
Timo Sirainen
2b16677044 Automatic text replaces, useful for things like :9 -> :) .. This
is actually almost same as completions, except they are activated
with different keys..

Nicklist popup menu is now configurable. It's now in the automation setup
dialog which is a bit wrong..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@74 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-07 01:18:15 +00:00
Timo Sirainen
e7e2b79f7c Keyboard configuration works
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@73 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-06 20:05:49 +00:00
Timo Sirainen
b09265682e "window server changed" -> "channel server changed"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@72 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-06 14:51:01 +00:00
Timo Sirainen
d23d35fc30 NLS support should work without gnome now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@71 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-11-03 20:05:16 +00:00
Timo Sirainen
260c792804 Changed setting code behaviour. setup_get_str(), setup_get_int() and
setup_get_bool() should be used instead of directly accessing setup
variables. This has the advantage of not requiring to build the whole irssi
every time when adding new configuration variable.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@64 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-26 21:34:58 +00:00
Timo Sirainen
e14fef979c Autoaccept dcc chat from given nick/address
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@62 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-20 21:09:48 +00:00
Timo Sirainen
04828d0a21 Autoget DCC if nick/mask is found from list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@61 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-20 18:57:52 +00:00
Timo Sirainen
08814b59ab str2list() updates - added separator argument and you'll need to free only
the first item on the list instead of all of them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@59 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-19 18:59:01 +00:00
Timo Sirainen
eb736e0e7a Fix for building with objdir
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@57 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-16 22:53:30 +00:00
Timo Sirainen
8f59b3ec6e Use command_bind() and command_unbind() for binding commands, they
automatically update /help


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@56 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-16 19:50:30 +00:00
Timo Sirainen
25098df8b6 "nick gone changed" signal is sent when gone status changes instead of
"nicklist changed" ..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@46 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-12 16:52:51 +00:00
Timo Sirainen
3603846e7c Each window can have it's own command history buffer
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@44 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-10 09:01:08 +00:00
Timo Sirainen
6ef49200e2 Lag detection displayed in statusbar, can also automatically disconnect
if too much lagged.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@43 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-10 08:26:47 +00:00
Timo Sirainen
dd6f49543d moved the strerror() implementation if it doesn't exist
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@41 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 18:56:57 +00:00
Timo Sirainen
85d0af725c Fixes to make irssi to work properly with several different irc servers/nets.
Some servers didn't allow WHO #a,#b,.., undernet servers reply with only one
End of WHO message, some servers that don't understand MODE #a,#b,.. reply
with "you're not on that channel". Also checking if irc server understands
channel excepition/invites is done at server connect from event 004.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@40 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 18:14:52 +00:00
Timo Sirainen
15dcd0a2c5 popt-gnome.h isn't used anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@39 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 18:04:21 +00:00
Timo Sirainen
ccfef94ec5 config_section() and config_list_section() changed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@38 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-09 17:59:42 +00:00
Timo Sirainen
95c6a0d9f6 libpopt is now distributed with irssi since it's small enough and I got
tired of installing it to every computer when I tried to run irssi..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@37 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-06 16:47:43 +00:00
Timo Sirainen
9ccee0a31b Command line argument handling works.
-c server [-p port] : connects to server at startup
 -n : don't autoconnect to any servers


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@33 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-03 14:37:29 +00:00
Timo Sirainen
25d7d58da9 Moved background pixmap settings to theme specific.
Fixed some memory leaks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@31 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-02 13:56:16 +00:00
Timo Sirainen
5b96b49e38 --without-bot to configure doesn't build irssi-bot
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@30 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-10-02 10:29:01 +00:00
Timo Sirainen
0d12891b58 More GtkIText changes. Most of the ZVT things are removed.
You can now change font and background. Background pixmaps also work,
they can be scrollable, shaded and scaled/tiled.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@28 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-27 16:54:39 +00:00
Timo Sirainen
8936bd1c88 Removed the "multichannel query" thing since it wasn't actually needed :)
Replaced it with server specific timeout between sending commands, after
raising it to 3 seconds all servers worked just fine.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@27 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-21 14:31:28 +00:00
Timo Sirainen
74d81cf7c7 New server specific option: "Send queries for all channels at once". It's
faster to use it but some servers (I've found only one so far..) hang the
connection with this.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@26 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-18 16:22:32 +00:00
Timo Sirainen
313c44eb2e You can specify what port to use with DCC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@25 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-17 14:42:29 +00:00
Timo Sirainen
feb15cbffd Related to channel query changes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@24 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-15 20:31:53 +00:00
Timo Sirainen
75e5c4a847 Netsplit code changes, should work now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@18 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-11 08:58:00 +00:00
Timo Sirainen
afee6cfa8f Autojoining to channels work with irssi-text too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@15 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-04 20:06:53 +00:00
Timo Sirainen
ce0a796a23 Initial revision
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-03 14:32:03 +00:00
Timo Sirainen
770ae4596d Initial revision
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3 dbcabf3a-b0e7-0310-adc4-f8d773084564
1999-09-03 14:27:29 +00:00