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

4837 Commits

Author SHA1 Message Date
dx
7b69b98812 Merge pull request #382 from ailin-nemui/staticperl
ensure staticlib perl works on 5.22
2015-12-14 10:27:39 -03:00
dequis
ce77842a98 Bracketed paste: fix nitpick from ahf's review
Thanks ahf
2015-12-13 13:56:09 -03:00
ailin-nemui
6e01a23134 ensure staticlib perl works on 5.22 (for now) 2015-12-13 01:09:13 +01:00
dx
4dd7f2b18f Merge pull request #378 from ailin-nemui/staticperl
deinit perl on staticperl builds
2015-12-12 12:40:38 -03:00
ailin-nemui
18c3ea24b6 Merge pull request #380 from dequis/makefile-cleanfiles
Makefile.am: Add default-config.h and default-theme.h to CLEANFILES
2015-12-12 11:29:40 +01:00
dequis
e6fa311590 Bracketed paste: Adjust paste line count if there's text after newlines
With bracketed paste, "a\nb" will result in two lines being pasted,
because it's a single thing, with an end marker which the timeout based
pastes don't have.

Due to the way term_gets() counts lines, that input will have
paste_line_count == 1. This can be misleading.

This code adjusts it by looking at the last character, and increasing
the count if it finds anything that isn't a newline.
2015-12-12 01:49:32 -03:00
dequis
38d372eccb Disable timeout-based paste detection if paste_use_bracketed_mode is on 2015-12-12 01:19:36 -03:00
dequis
0b1a912f82 Makefile.am: Add default-config.h and default-theme.h to CLEANFILES
Fixes issues when building from other directories when the source tree
was already configured before, as found in the comments of PR #375
2015-12-11 21:31:04 -03:00
dx
40e5dfa776 Merge pull request #375 from ailin-nemui/objdir-build
Fix Out-of-tree build
2015-12-11 21:30:30 -03:00
ailin-nemui
9dd2b7c616 deinit perl on staticperl builds 2015-12-10 14:02:59 +01:00
Todd A. Pratt
5d99a3d59a Merge branch 'master' of github.com:irssi/irssi 2015-12-09 20:48:21 -05:00
ailin-nemui
ff8ccaf08b module check irssi version
Add explicit checks into every module to match the ABI version defined
in common.h
2015-12-10 00:52:33 +01:00
ailin-nemui
4dc2bab4b4 Merge pull request #371 from LemonBoy/rampage
Rewrite some faulty logic handling the saved channels. Fixes #340
2015-12-09 23:07:48 +01:00
ailin-nemui
3468a32624 Merge pull request #376 from dequis/win32-ifdefs
Remove all WIN32 ifdefs (unifdef -UWIN32)
2015-12-09 23:04:25 +01:00
dequis
96766b7f05 Remove all WIN32 ifdefs (unifdef -UWIN32)
Just use cygwin.

This looks like it wasn't enough to do anything useful, and I don't
think anyone cares about supporting win32 the hard way.
2015-12-09 15:20:59 -03:00
dx
544d5a8bba Merge pull request #374 from ailin-nemui/dist-fix
add missing file to Makefile
2015-12-09 15:07:44 -03:00
LemonBoy
1749a7a5ab Minor adjustments.
Use g_strcmp0 instead of strcmp.
Explicit checks added for the g_strcmp0 clauses.
2015-12-09 16:16:03 +01:00
LemonBoy
971417caa3 Rewrite some faulty logic handling the saved servers. 2015-12-09 16:02:37 +01:00
LemonBoy
60c501625b Better function naming 2015-12-09 15:43:31 +01:00
ailin-nemui
0fcfd37b83 Fix Out-of-tree build
Symlink irssi-version.h into build dir, restoring 550df27558
2015-12-09 15:00:25 +01:00
ailin-nemui
20fe5d0c7f add missing file to Makefile 2015-12-09 14:23:15 +01:00
ailin-nemui
3eecb4e121 Merge pull request #131 from ailin-nemui/fe-exec-perl
Add bindings for exec-type window items to Perl
2015-12-09 12:33:53 +01:00
Ailin Nemui
3532fc4671 Add bindings for exec-type window items to Perl
These bindings were missing and resulted in non-hash non-undef active
entries when an interactive process is executing.
2015-12-09 12:05:48 +01:00
ailin-nemui
229c600e99 Merge pull request #174 from ailin-nemui/entry-prompt-colours
reimplement format and length logic for the entry prompt
2015-12-09 12:01:00 +01:00
ailin-nemui
57576bb75f Merge pull request #65 from ailin-nemui/perl-irc-poly
forward alternate_nick to Irc::Server attributes
2015-12-09 12:00:30 +01:00
ailin-nemui
ef6b7f91f5 Merge pull request #373 from mineo/dcc-doc
DCC close always requires a type
2015-12-09 11:58:23 +01:00
Wieland Hoffmann
ca96444784 DCC close always requires a type 2015-12-09 11:21:51 +01:00
LemonBoy
750df38e8c Rewrite some faulty logic handling the saved channels.
Issue #340 brought to our attention the fact that under certain
circumstances irssi would go on a wild rampage and carelessly overwrite
some saved channel records in the configuration file.
This happened because the code didn't take into account the case where
the channel index in setupchannels wouldn't match the one in the
configuration; this actually happens when the user removes a chatnet
without removing the associated channels.
2015-12-09 00:34:39 +01:00
ailin-nemui
b5cfa55d9b Merge pull request #370 from dequis/irc-cap-space
irc-cap: Don't send a space at the beginning of the CAP REQ parameter
2015-11-27 00:07:15 +01:00
dequis
82ce1de5b0 irc-cap: Don't send a space at the beginning of the CAP REQ parameter
Turns out it confuses inspircd, making it reply a NAK with empty
parameter. The rest is ACKed anyway. I've already whined at saberuk
and there's a pending pull request over there fixing this issue.

And, of course, this is cleaner.
2015-11-26 19:50:58 -03:00
dx
99193e9971 Merge pull request #357 from LemonBoy/fix-99+1
Correctly alias 'channel' to '#channel'
2015-11-26 19:25:16 -03:00
Geert Hauwaerts
c10188e45e Merge pull request #368 from incertia/random-fixes
Random fixes (improve INSTALL)
2015-11-25 19:49:25 +01:00
Will Song
54153e6d88
revise INSTALL to be more clear regarding which script to use 2015-11-25 12:25:55 -06:00
Will Song
c52e6ebc99
change ./configure to ./autogen.sh because ./configure does not exist in
a fresh clone of the repository
2015-11-25 11:55:18 -06:00
Will Song
6ac6fcec46
ignore MYMETA.* generated by scripts in project root 2015-11-25 11:53:48 -06:00
dx
7ffc755448 Merge pull request #367 from ailin-nemui/perl_warn
more perl inheritance warning fixes
2015-11-25 10:11:53 -03:00
ailin-nemui
11ad4da0e3 more perl inheritance warning fixes 2015-11-25 12:16:42 +01:00
dx
80141622ed Merge pull request #365 from ailin-nemui/perl_nick
fix nick class hierarchy
2015-11-23 21:02:48 -03:00
dx
4c816c287a Merge pull request #364 from ailin-nemui/no_cap_sasl
stop cap_sasl
2015-11-23 20:56:33 -03:00
ailin-nemui
a941329b41 fix nick class hierarchy 2015-11-24 00:40:19 +01:00
ailin-nemui
877ff075bd stop cap_sasl 2015-11-24 00:30:12 +01:00
dx
0ca0c882a5 Merge pull request #360 from LemonBoy/backport-patch
Save a patch from the Flyspray oblivion, plus a nice unrelated commit to make everyone (un)happy
2015-11-23 13:08:13 -03:00
ailin-nemui
f9654a7e0c Merge pull request #359 from LemonBoy/dcc-assert
Let ignore_check do its work when server is NULL
2015-11-23 10:05:05 +01:00
ailin-nemui
3ed21a5303 Merge pull request #361 from LemonBoy/awaylog-format
Use the expanded filename when picking the awaylog
2015-11-22 23:02:04 +01:00
LemonBoy
0171b1a634 Use the expanded filename when picking the awaylog
This fixes a long-standing bug where 'fname' was being feed to cat
instead of 'real_fname', causing it to quit with a 'No such file or directory'
error.

FS#377
2015-11-22 21:59:28 +01:00
LemonBoy
50fae4212e Use 'isblank()' instead of a custom macro 2015-11-22 21:33:44 +01:00
Fabian Kurz
011eda7d9e Correct a wrong use of the 'paste_buffer' variable
The function "static void paste_buffer_join_lines(GArray *buf)" in
"src/fe-text/gui-readline.c" is supposed to join lines from the GArray
pointed to by *buf under certain circumstances.

In the code of the function "buf" is actually used for getting the length
of the GArray, but to get a pointer to the data, "paste_buffer->data" is
used; paste_buffer is defined in the scope of the whole file.

This delivers the desired result, because this function is only called
once, with "paste_buffer" as the argument. If paste_buffer_join_lines()
will ever be used with a different argument, it will fail.
2015-11-22 21:24:05 +01:00
LemonBoy
8701cbc972 Let ignore_check do its work when server is NULL
A NULL-check has been added to the ignore_match_server macro, making the
function safe from a pointer perspective.
Fixes #193 in the meanwhile.
2015-11-22 17:20:00 +01:00
LemonBoy
d7ef9c590f Correctly alias 'channel' to '#channel'
Use the same approach used in 'irc_channels_join'.
Remove 'irc_nick_strip' since it was unused.
2015-11-19 15:31:32 +01:00
ailin-nemui
fbb838b3b0 Merge pull request #350 from LemonBoy/fix-99
Strip trailing whitespace from commands
2015-11-18 22:01:29 +01:00