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

4035 Commits

Author SHA1 Message Date
Emanuele Giaquinta
cba6199958 Cosmetic.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 11:45:23 +00:00
Emanuele Giaquinta
48d0135d3e Make some functions static.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 17:11:00 +00:00
Emanuele Giaquinta
8a5aa22ed8 Document command syntax.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 16:55:29 +00:00
Emanuele Giaquinta
770c906a1c Simplify.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 16:32:56 +00:00
Emanuele Giaquinta
8c64738cdc Add perl_signal_args_to_c() to convert signal parameters from Perl to C values,
and make Irssi::signal_emit/Irssi::signal_continue use it. Also make
perl_call_signal() turn NULLs into undef, so we can recover them in
perl_signal_args_to_c(), which is its inverse operation.
Patch by Lukas Mai.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 16:06:11 +00:00
Emanuele Giaquinta
0cea011470 Fix NETSPLIT_SERVER_REC substitution in get-signals.pl, reported by Lukas Mai.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 15:45:49 +00:00
Emanuele Giaquinta
8a1e8acfc4 Change get-signals.pl mime type to text/x-perl.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4951 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 15:39:12 +00:00
Emanuele Giaquinta
9ef51b0567 Simplify, isalnum && !isdigit == isalpha.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-07 23:30:00 +00:00
Emanuele Giaquinta
43bed5bb09 Simplify and remove dead code.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-07 15:49:04 +00:00
Emanuele Giaquinta
04a028d8c9 Simplify and remove dead code, MAIN_WINDOW_TEXT_HEIGHT(rec) >= WINDOW_MIN_SIZE
always holds.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 17:02:27 +00:00
Emanuele Giaquinta
fe9b63ef65 Always preserve the active mainwindow in mainwindows_resize_smaller,
prompted by report by Henri Kemppainen.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 12:36:41 +00:00
Emanuele Giaquinta
a644a200c1 Fix leak introduced in r1855.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 12:29:51 +00:00
Jilles Tjoelker
861781bac5 Add brief documentation for Irssi::signal_register() perl function.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4945 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 00:14:19 +00:00
Jilles Tjoelker
8994731d1b Add a notice to src/perl/perl-signals-list.h that it is autogenerated.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-05 23:59:49 +00:00
Emanuele Giaquinta
14b9462ae4 Factor computation of fg/bg.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-05 13:55:23 +00:00
Emanuele Giaquinta
6c0463fbf7 Manually inline cell_width.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-03 20:14:58 +00:00
Emanuele Giaquinta
a266ce8d97 Simplify.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-03 19:09:54 +00:00
Emanuele Giaquinta
a065f97f87 Recode outgoing irc quit messages.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02 16:13:15 +00:00
Emanuele Giaquinta
9459ac8127 Fix r1569, assign a proper mask to PRINT_FLAG_UNSET_LINE_START.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02 13:14:09 +00:00
Emanuele Giaquinta
cba15593f2 Aux-sort settings by key in settings_get_sorted.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 19:29:41 +00:00
Emanuele Giaquinta
997a25c522 Factor the code to send an irc action into a function.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:35:10 +00:00
Emanuele Giaquinta
3f9148d0e3 Add function to set minimum/maximum size for a statusbar item.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:18:59 +00:00
Emanuele Giaquinta
545b0d5de8 Add public header with interfaces to manage statusbar items, bug #535.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:12:52 +00:00
Emanuele Giaquinta
227e90e52b Simplify statusbar_item_default_handler by merging update_statusbar_bg and
reverse_controls and by using a GString.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 23:14:43 +00:00
Jilles Tjoelker
672022461a Improve SSL error display.
Display more detailed error messages about SSL and
fix assertion failure warnings on some SSL errors.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 22:48:39 +00:00
Emanuele Giaquinta
c335a16f71 Make needlessly global variable local where used.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 14:48:54 +00:00
Emanuele Giaquinta
75666168b7 Do not check for fcntl.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 14:33:14 +00:00
Jilles Tjoelker
ee34525905 Revert r4924, the comment is correct after all.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 19:38:00 +00:00
Emanuele Giaquinta
184e4071c1 Remove obsolete part of comment.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 18:01:04 +00:00
Emanuele Giaquinta
a8680fb7da Amend fix for bug #392, assume utf-8 encoding for an ascii string in
which no escape character occurs.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 10:45:58 +00:00
Emanuele Giaquinta
ccb8e04a01 Fix r4920 change.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4927 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 08:31:42 +00:00
Emanuele Giaquinta
d6be6b9cff Factor code to check if a string is ascii only into a function.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 23:01:45 +00:00
Jilles Tjoelker
3ddd984bfc Allow /ban, /unban, /kickban, /knockout if channel is not synced.
Requesting ban lists from an unsynced channel will ask
them from the server, banning a user whose u@h irssi
does not know will ban nick!*@* and only bans irssi
knows about can be removed.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4925 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 20:43:59 +00:00
Jilles Tjoelker
6fe433ca0b Remove obsolete/wrong part of comment (irc server cmdcount).
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 18:49:31 +00:00
Emanuele Giaquinta
41be9d6085 Update NEWS.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 09:54:23 +00:00
Jilles Tjoelker
89cd47bf3a Allow storing multiple "other" prefixes such as +q and +a.
Original patch by JasonX, somewhat changed by exg and me.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 00:16:51 +00:00
Emanuele Giaquinta
aefa7b47c1 Add foreign to automake options.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-24 23:44:50 +00:00
Emanuele Giaquinta
3f0743e749 Do not strip the comma in a mirc color if it is not followed by a digit, bug
#250.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-24 23:22:44 +00:00
Emanuele Giaquinta
be57a4e3e1 Remove apparently useless indirection through stub libtool library
files for libperl.a and DynaLoader.a when building perl support as
module.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-23 09:48:48 +00:00
Geert Hauwaerts
51d9d6947d Typo fix by Richard Hartmann (RichiH)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-22 12:43:39 +00:00
Emanuele Giaquinta
da86080d40 Move check on term_type outside of strlen_big5.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-18 09:59:54 +00:00
Emanuele Giaquinta
ba002bbc13 Revert r4912.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-18 09:21:36 +00:00
Emanuele Giaquinta
9e247274d1 Do not call skip_target on a non irc server in irc 'own_public'
handler, based on a patch by Gabor Adam Toth.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4915 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 16:28:09 +00:00
Emanuele Giaquinta
718d85ceab Do not check in irc cmd_away that the active item server is an irc
server, it prevents /away from working when the active item server is
not an irc one. The check is already performed in
irc_server_send_away, so /away -one is unchanged. Patch by Gabor Adam
Toth.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 16:09:44 +00:00
Emanuele Giaquinta
25358fa1ec Fix regression introduced in r4906, remove leading zeros from
IRSSI_VERSION_TIME value.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4913 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 15:38:33 +00:00
Emanuele Giaquinta
ca5f4ec1f9 Simplify sending of the first pasted line.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 09:19:27 +00:00
Wouter Coekaerts
136a1ec360 Update NEWS
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15 22:07:31 +00:00
Wouter Coekaerts
f5d38ab5a2 Handle indent in textbuffer_line2text. This fixes indentation in /lastlog and buf.pl.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15 22:04:57 +00:00
Emanuele Giaquinta
621761cff3 Handle bold/blink attributes like other attributes rather than mapping them to
the eighth bit of the color. The formats KBGCRMYW and the mirc colors are now
mapped to colors 8-15. fe-text translates colors 8-15 to bold/blink+0-7 if the
terminal supports only 8 colors.


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15 21:51:07 +00:00
Emanuele Giaquinta
efe2bad590 Do not update the version file if it is unchanged.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15 16:47:31 +00:00