Commit Graph

3401 Commits

Author SHA1 Message Date
Adam Williamson
ef1aad01bf Python plugin: Call EndInterpreter when deinit'ing the plugin
This fixes https://github.com/hexchat/hexchat/issues/2237 , a
commonly-encountered bug when using Hexchat 2.14 on Python 3.7.
Thanks to @ncoghlan for the fix.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-12-20 22:29:14 -08:00
Patrick Griffis
8e60546aea build: Fix some meson warnings 2019-12-20 22:28:16 -08:00
Patrick Griffis
29591e2b67 Follow more modern conventions for USER message
Closes #2399
2019-12-20 22:28:10 -08:00
Patrick Griffis
7da0a3aa2c Fix capability negotiation ending before sasl finishes with multi-line cap
Closes #2398
2019-12-20 22:27:58 -08:00
Simon Levermann
6a7a134170 Ignore some non-interesting filesystem types
Generally, how much space we have in squashfs, or tmpfs shouldn't
interest us. This becomes more relevant in distros like Ubuntu, where
snaps are a thing, and each snap mounts their own FS in a squashfs that
is always full, thus falsifying the output of sysinfo.
2019-12-20 22:27:52 -08:00
nia
60c9263d49 build: Make generated headers a dependency for users of common. 2019-12-20 22:27:19 -08:00
Stepan Broz
4ab756af7b Make dcc_ip being a per-server value.
Moved dcc_ip from prefs to sess->server.
2019-12-20 22:27:01 -08:00
Martin Weinelt
92f58b4420 servlist: add hackint irc network
- requires the use of TLS to connect on port 6697
- supports and encourages authentication via SASL PLAIN and EXTERNAL
2019-12-20 22:26:52 -08:00
Jared Shields
b9d1efc2c2 Update servlist.c
Update servlist.c
2019-12-20 22:26:46 -08:00
cajuncooks
79f7ff888f Extend input box GTK theme workaround to include Yaru
Fixes #2305
2019-12-20 22:26:34 -08:00
linuxdaemon
3588c519c3 Remove : from various trailing parameters (#2301)
Partial fix for #2271 

This isn't an exhaustive list, but it's everything I could find. The bug still exists in the parser though, this is just a workaround for the moment
2019-12-20 22:26:28 -08:00
Mattia Rizzolo
ce528b6af8 Fix compilation failure on non-linux, non-darwin, non-windows systems.
'gnu' => Hurd
'gnu/' => all the gnu/* stuff like gnu/kfreebsd

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2019-12-20 22:26:15 -08:00
Patrick Griffis
a26cc20d21 Use prefix variable in pkgconfig file 2019-12-20 22:26:08 -08:00
Patrick Griffis
3099c652bb build: Silence some Meson warnings and bump requirement to 0.40.0 2019-12-20 22:25:57 -08:00
Patrick Griffis
edc7ad83e3 Fix new stringop-truncation warnings 2019-12-20 22:25:50 -08:00
Patrick Griffis
996b29ccca sysinfo: Fixup formatting 2019-12-20 22:25:43 -08:00
Patrick Griffis
6a8b7013af sysinfo: Add support for /etc/os-release 2019-12-20 22:25:36 -08:00
Patrick Griffis
8665501c77 Bump version to 2.14.2 2018-08-29 16:41:08 +00:00
Patrick Griffis
7659caada1 win32: Reflect gvsbuild changes 2018-08-29 16:10:21 +00:00
Ivan
fd47adf595 Fix inconsistent behavior (re)connecting on SSL 2018-08-16 22:06:36 +00:00
Patrick Griffis
cadc51ede9 build: Add with-appdata option
This is mostly useful to avoid a newer gettext dependency
for translating the appdata file but it is also just useless
data for some distros without any app store.

Closes #2219
2018-07-26 09:53:29 -04:00
jkhsjdhjs
57478b6575 Fix sending PASS with spaces or starting with :
Closes #2186
Closes #1550
2018-05-08 16:27:18 -04:00
Patrick Griffis
5c5aacd9da Fix another bad translation 2018-04-04 19:21:53 -04:00
Patrick Griffis
93cc105a40 travis: Avoid locale problems 2018-04-04 19:14:59 -04:00
Patrick Griffis
33300630a3 tests: Explicitly open files as utf-8 for travis 2018-04-03 16:38:53 -04:00
Patrick Griffis
fd2167d856 Fix tests on Ubuntu 2018-04-03 16:30:38 -04:00
Patrick Griffis
08fb808ea4 Update translations 2018-04-03 16:14:25 -04:00
Patrick Griffis
c70c1e1896 travis: Run tests 2018-04-03 16:09:25 -04:00
Patrick Griffis
5cd70622aa Validate all translations contain valid text events 2018-04-03 16:08:27 -04:00
Rainer Müller
5ca767f7f8 Fix plugins on macOS
The switch to the meson build system broke plugins on macOS. GNU libtool
builds shared libraries with ".dylib" and shared modules (plugins) with
the extension ".so", but meson is using ".dylib" for both.

Although overriding the name_suffix for shared_module() in meson is
possible, this would be messy for other platforms as there is no way to
query the default. Therefore it seems like we have to go with ".dylib"
for now on macOS.

However, G_MODULE_SUFFIX is defined to ".so", because glib follows what
GNU libtool does. Therefore define a separate preprocessor macro that
has the correct extension.

See: https://github.com/mesonbuild/meson/issues/1160
2018-03-31 01:29:05 +00:00
Rainer Müller
111441302c build: perl as a dependency in meson.build
With the switch to meson, the problem previously fixed in #1822 came
back. The build system might pick up the installed hexchat-config.h
instead of using the header in the source directory, as the compiler
arguments would be in the order of "-I${prefix}/include -I..".

It seems that the c_args in meson are always put to the front of the
compiler arguments, in order to be able to override any include paths
from dependencies. However, this was not the intention here, so perl
should also be modeled as a dependency. This ensures that the arguments
with local include directories come first.
2018-03-26 17:09:36 +00:00
Rainer Müller
ed6f544572 build: Add option to specify path to perl binary 2018-03-23 09:14:45 +00:00
Manuel Schneider
ee85129a9b Deiconify window on tray click. Closes #2136 2018-03-20 11:32:02 +00:00
Patrick Griffis
93f926bf12 build: Re-add support for the legacy perl api
This was accidentally left behind, expose it beind an option as
with the old build system but default to false now. Enough time
has passed and only distros that care about it can enable it.
2018-03-18 11:09:53 -04:00
Patrick Griffis
da56297c5a build: Correctly set plugin licenses 2018-03-17 01:37:46 -04:00
Patrick Griffis
5d8b4719a8 build: Fix id in plugin metainfo files 2018-03-17 01:26:12 -04:00
Patrick Griffis
8a875afad0 build: Add metainfo files for addons 2018-03-17 01:21:50 -04:00
Patrick Griffis
dc483b2342 Remove shift+click to close tab binding
It is an odd binding that conflicts with typical behavior
where shift click selects multiple items and there is
already the middle click shortcut to close tabs quickly.

Closes #918
2018-03-16 20:33:52 -04:00
Patrick Griffis
28a3d42ad1 Bump to 2.14.1 2018-03-13 22:26:31 -04:00
Patrick Griffis
eb942fc274 Revert "xtext: Always use Pango to get correct glyph width on Unix"
This reverts commit d3f1ab7813.

The performance even on Linux is just too poor in many cases.
2018-03-13 21:18:16 -04:00
Mattia Rizzolo
27acca0f5b fix typo in comment
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2018-03-13 23:38:36 +00:00
Patrick Griffis
ececf2f640 Fix fscanf() usage without size limit
Closes #2137
2018-03-11 19:08:26 -04:00
Patrick Griffis
d72249d91f build: Remove -pie from global ldflags
According to `hardening-check` the cflag is enough for `hexchat`
and this was causing breakage in plugins

Closes #2132
2018-03-10 20:49:35 -05:00
Patrick Griffis
2286990a6f Bump to 2.14.0 2018-03-10 17:02:52 -05:00
Patrick Griffis
6ec523423a Fix /ignore not accepting full hosts
Fixes #1828
2018-03-09 21:34:44 -05:00
Patrick Griffis
77c8fe1421 win32: Update Python downloads 2018-03-09 20:26:42 +00:00
Patrick Griffis
740352ceab Remove mpcinfo plugin
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
2018-03-09 20:26:41 +00:00
Patrick Griffis
541b9ca744 win32: Update to build against gvsbuild 2018-03-09 20:26:41 +00:00
Patrick Griffis
e9b9ff9f38 Various fixes for mingw 2018-03-09 18:23:25 +00:00
Mark Jansen
9b8a7eaa01 win32: Respond to WM_TIMECHANGE by updating the CRT timezone info
Closes #2090
Fixes #1851
2018-03-09 13:24:08 -05:00