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

69 Commits

Author SHA1 Message Date
ailin-nemui
9d2429c027 test line joining 2018-11-09 10:57:37 +01:00
ailin-nemui
d93cd63243
Merge pull request #917 from dequis/wcwidth-wrapper
Add a wrapper of wcwidth() that picks the best implementation
2018-09-04 09:52:21 +02:00
Dominyk Tiller
04497ed69d
configure: fix Perl detection on macOS Mojave
Apple has significantly changed the way `perl` is structured in macOS
Mojave/10.14, which is due to ship stable this month. The `perl`
restructuring has been an issue for a while but I recently obtained
confirmation from Apple the changes were intentional & consequently not
something that was going to be walked back before Mojave reaches its
stable release.

As of 10.14 the Perl headers are moving inside the SDK, instead of
residing in `/System` directly. There's a flag to tell Clang to look
inside the SDK without projects having to explicitly locate the SDK &
fiddle with the location themselves, which is `-iwithsysroot`, and
that's what `perl` outputs now when `configure` checks
`perl -MExtUtils::Embed -e ccopts`:

```
  -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector  -iwithsysroot /System/Library/Perl/5.18/darwin-thread-multi-2level/CORE
```

The latter bit of that was previously
`-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE`. The
problem here is that `configure` filters out flags that start with a
lowercase `i` and consequently the Perl elements fail to build. This
tiny patch fixes that issue, restoring Perl support to `irssi` when
built on macOS 10.14.
2018-09-03 00:36:50 +01:00
ailin-nemui
b95ce3e812 add julia's utf8proc wcwidth implementation 2018-08-23 13:23:35 +02:00
ailin-nemui
0c1db8f2ae
Merge pull request #854 from irssi/ahf/otr
OTR support, take 2
2018-03-31 13:04:35 +02:00
ailin-nemui
191e0ac84e
Merge pull request #802 from ailin-nemui/test-796
Test for segfault on disconnect during signal processing
2018-03-20 10:30:39 +01:00
Alexander Færøy
7a4bfc1602 Better wording. 2018-02-27 00:04:56 +01:00
Alexander Færøy
016b42baea Add OTR support.
This patch adds support for the OTR protocol to irssi. This is an import
of the external irssi-otr project that we are now taking over
maintership for.

Major thanks to the original authors of Irssi-OTR: Uli Meis and David
Goulet. Thanks to the OTR community in #OTR on OFTC, thanks to everyone
who have helped testing the patches and submitted UI suggestions.
2018-02-26 23:32:57 +01:00
ailin-nemui
0b9beeb01d Merge tag '1.1.1' into integrate/1.1.1 2018-02-15 01:18:37 +01:00
Joseph Bisch
182673ed05 Add theme_load to fe-fuzz 2018-01-15 11:59:01 -05:00
Joseph Bisch
4512e2683a
Merge pull request #780 from josephbisch/fuzz-event-get-params
Add event_get_params to fe-fuzz
2018-01-15 10:53:21 -05:00
ailin-nemui
5bddfe7b73 add new test skeleton 2018-01-04 14:29:57 +01:00
ailin-nemui
d932e6e4b7 add test case for format_real_length 2017-12-07 12:06:20 +01:00
ailin-nemui
c20eddeb38 add glib testing TAP utilities 2017-12-07 12:06:20 +01:00
Will Storey
1328e1ba08 Add a test program to test mode parsing
This uses GLib's testing framework. It is to test the changes to the
mode parsing for #603.
2017-12-07 12:06:20 +01:00
ailin-nemui
ca3498d42d move some files into subdirs 2017-10-25 16:22:57 +02:00
Joseph Bisch
84fc92635a Add event_get_params to fe-fuzz 2017-10-24 13:27:11 -04:00
Edward Tomasz Napierala
cec68557aa /connect works - although only with IP addresses. 2017-07-29 23:52:23 +01:00
Edward Tomasz Napierala
56c94570b4 Implement /cap_enter.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29 23:52:23 +01:00
Edward Tomasz Napierala
f468008b25 Make autotools detect Capsicum.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29 23:52:23 +01:00
Edward Tomasz Napierala
2907a82b44 Fix vertical alignment in ./configure --help output.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29 12:32:15 +01:00
ailin-nemui
79bbca4644 Refactor regex and implement UTF8 mode for GRegex
- with non-unicode byte to Private Use Area A mapping
- move all ifdefs to iregex.h file only
2017-06-04 00:52:53 +02:00
ailin-nemui
c8a19e1124 detect Netbsd terminfo
fixes #694
2017-05-04 12:27:23 +02:00
Rodrigo Rebello
a720c3b5ef Get back to using pkg-config to check for OpenSSL
Commit 6300dfec7 removed the option to disable SSL support from the
configure script since it became a requirement, but it also removed the
use of pkg-config for finding the OpenSSL library and its dependencies.

This had the unfortunate consequence of breaking the correct detection
of library flags in many static linking scenarios. In some cases, for
example, OpenSSL might have been built with zlib, which requires `-lz`
to be passed to the linker when doing a static link of the irssi
executable. Thus, pkg-config becomes an invaluable tool in such
situations, since no guessing work is needed as the OpenSSL .pc file
provides all the necessary flags.

So, this commit re-inserts the PKG_CHECK_MODULES macro in the configure
script when looking for OpenSSL. The test using AC_CHECK_LIB remains,
but only as a last resort in case the one using pkg-config fails.

Also, because the macro AM_PATH_GLIB_2_0 contains an unconditional call
to PKG_PROG_PKG_CONFIG, the OpenSSL checks are moved so that they come
after the Glib ones in order to avoid doubly checking for the pkg-config
binary (PKG_CHECK_MODULES skips that check if it has been performed
before, but PKG_PROG_PKG_CONFIG does not).
2017-03-20 16:09:43 -03:00
Joseph Bisch
fe1ea4b80a
Fix fe-fuzz nits 2017-01-12 18:11:09 -05:00
Joseph Bisch
cf46907256
Add frontend for fuzzing
Use the following configure command:

$ ./configure --with-fuzzer --with-fuzzer-lib=/path/to/libFuzzer.a \
      CC=clang CXX=clang++

Places an irssi-fuzz in src/fe-fuzz/ after build.

Also can specify SANFLAGS to override the chosen sanitizer flags
(defaults to "-g -fsanitize=address -fsanitize-coverage=trace-pc-guard").
2017-01-07 20:01:07 -05:00
ailin-nemui
cbb931ed1d continue head 2017-01-05 13:14:15 +01:00
ailin-nemui
ea7826b0ec tag as 1.0.0 2017-01-05 13:10:08 +01:00
ailin-nemui
a96b1e4328 Merge tag '0.8.21' into integrate/0.8.21 2017-01-03 14:38:02 +01:00
ailin-nemui
7cac354161 tag as 0.8.21 2017-01-03 14:24:55 +01:00
ailin-nemui
01163710e7 Merge pull request #585 from ailin-nemui/win_seq
g_sequence backing for window list
2017-01-03 12:45:50 +01:00
Ailin Nemui
f5cbbebc2e switch for gregex and regex.h 2017-01-03 12:29:11 +01:00
LemonBoy
b5a727c87c Remove unused references to regex.h
Also remove the prototype for regex_match since it has been removed.
2017-01-02 17:50:14 +01:00
ailin-nemui
560283ba4e g_sequence backing for window list 2016-12-13 01:04:26 +01:00
François Revol
0d7b3877e4 Check for socket() in libnetwork for Haiku 2016-11-27 18:05:48 +01:00
Alexander Færøy
5a04430998
Kill support for DANE.
This patch removes support for DANE validation of TLS certificates.

There wasn't enough support in the IRC community to push for this on the
majority of bigger IRC networks. If you believe this should be
reintroduced into irssi, then please come up with an implementation that
does not rely on the libval library. It is causing a lot of troubles for
our downstream maintainers.
2016-10-22 22:04:33 +02:00
Alexander Færøy
6300dfec71
Always build irssi with TLS support.
This patch removes the optional checks for whether to build irssi with
TLS support or not. This will allow us to ship a default configuration
file where we connect to TLS enabled IRC servers out of the box.
2016-10-16 14:55:48 +02:00
ailin-nemui
ac73255483 Merge branch 'master' into integrate/0.8.20 2016-09-21 15:59:33 +02:00
ailin-nemui
13f4026ae0 tag as 0.8.20 2016-09-14 13:55:20 +02:00
ailin-nemui
9ee4803770 remove curses terminal and ncurses macro 2016-08-04 10:02:28 +02:00
ailin-nemui
affbf71f10 add silent flag to make, should stop GNU make from turning on -w 2016-05-11 11:43:08 +02:00
ailin-nemui
3376d324e1 improve perl @INC detection 2016-05-09 16:55:35 +02:00
ailin-nemui
bab60daa17 Merge tag '0.8.19' 2016-03-24 15:02:33 +01:00
ailin-nemui
c438315741 tag as 0.8.19 2016-03-23 00:24:25 +01:00
ailin-nemui
15f79a713f set version to 0.8.18a-head 2016-03-23 00:08:35 +01:00
ailin-nemui
9174ec584f Merge tag '0.8.18'
master now on 0.8.19-head
2016-02-29 22:45:54 +01:00
ailin-nemui
b91f3c3025 tag as 0.8.18 2016-02-08 21:18:04 +01:00
LemonBoy
70c7949cfe Update the configure script and INSTALL.
Now that HAVE_IPV6 is gone remove all the references from the
buildscript and documentation.
2016-01-27 14:42:50 +01:00
ailin-nemui
4af3a4731e continue head 2016-01-18 10:43:28 +01:00
ailin-nemui
38b1121989 Merge branch '0.8.18-beta1' into 0.8.18-beta2 2016-01-12 23:34:44 +01:00