Commit Graph

3403 Commits

Author SHA1 Message Date
Stepan Broz
ed1d5061a4 Make dcc_ip being a per-server value.
Moved dcc_ip from prefs to sess->server.
2019-05-28 14:33:39 -07:00
Patrick
468ce821fe Try building with lgtm 2019-05-22 12:41:50 +02:00
Martin Weinelt
87470f30a9 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-05-03 14:36:52 -07:00
Jared Shields
ba72cc7b6d Update servlist.c
Update servlist.c
2019-04-21 18:33:24 +00:00
cajuncooks
c1091c38b8 Extend input box GTK theme workaround to include Yaru
Fixes #2305
2019-02-25 19:13:24 -05:00
linuxdaemon
804f959a1d 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-01-30 19:46:13 -05:00
A_D
7abeb10cf1 python: plugin cleanup and refactor 2019-01-02 18:50:10 -05:00
linuxdaemon
a5a727122b python: Make sure help() doesn't cause hexchat to hang (#2290)
* Make sure `help()` doesn't cause hexchat to hang

Replace `pydoc.help` with a copy of `pydoc.Helper` with an empty
`StringIO` instead of stdin

* Handle BytesIO vs StringIO on 2.7
2018-12-27 14:46:02 -05:00
linuxdaemon
f7713a6a64 python: Make the plugins table dynamically sized (#2291)
Adjust the width of the columns depending on the length of the data in
each element
2018-12-26 17:15:25 -05:00
A_D
3ebfa83fdd python: Made sure to set sys.argv if it is not set. fixes #2282 2018-12-26 16:58:46 -05:00
Patrick Griffis
ed55330153 python: Fix console not eating commands 2018-12-05 19:45:30 -05:00
A_D
a2ff661d40 python: Various cffi fixes
- fixed /py exec behaviour
- fixed hexchat.unload_hook() failing when passed a hook id
- fixed get_list() calls in python3
2018-11-09 18:36:59 -05:00
Patrick Griffis
706f9bca82 python: Rewrite with CFFI 2018-11-09 18:36:59 -05:00
Mattia Rizzolo
6432694455 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>
2018-09-26 13:18:54 -04:00
Patrick Griffis
cf140f3ab0 Use prefix variable in pkgconfig file 2018-09-23 16:58:18 -04:00
Patrick Griffis
c7322f406c build: Silence some Meson warnings and bump requirement to 0.40.0 2018-09-01 16:50:31 -04:00
Patrick Griffis
18eae24acf Fix new stringop-truncation warnings 2018-09-01 16:35:48 -04:00
Patrick Griffis
c092af89a2 sysinfo: Fixup formatting 2018-09-01 13:01:30 -04:00
Patrick Griffis
2a8ab8bb7f sysinfo: Add support for /etc/os-release 2018-09-01 12:51:07 -04: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