Commit Graph

3475 Commits

Author SHA1 Message Date
DjLegolas
7b950eb021 Fixed proxy user/password buffer overflow
By using a dedicated buffer for sending the username and password for the SOCKS5 proxy, there will be no overflow when copying them to the buffer.
And therefore, RFC 1929 is fully supported.
2020-04-11 13:19:31 -07:00
kelek-
37192a9136 Updated the maximum length of the socks5 user and password to comply to RFC 1929, where both the password and the username length is definied as a maximum of 255 2020-04-11 13:19:31 -07:00
Patrick Griffis
3871fbaacb build: Fix potential undefined variable 2020-03-11 11:13:25 -07:00
Patrick Griffis
5deb695919 build: Better support building against python 3.8+
Closes #2441
2020-03-11 11:08:28 -07:00
Itsuki Toyota
bcff9a2ad8 Fetch latest .po files 2020-02-08 11:06:07 -08:00
James Clarke
9c44d7baf4 Avoid prioritising MODE queries for channels with hyphens in their name
If a user has a large number of channels containing hyphens in their
names, the initial MODE queries will have the same high priority as any
PINGs, and so will block the PINGs from being sent, causing the
connection to time out due to a lack of PONGs received.
2020-01-01 16:39:11 -08:00
Paul Wise
c361bdca6a Add a channel context menu item to focus channels 2019-12-30 18:14:53 -08:00
pkubaj
c522ccce7f Fix build on FreeBSD 2019-12-22 20:45:16 -08:00
Patrick Griffis
58cdff728d appdata: Add OARS information 2019-12-20 23:19:54 -08:00
Patrick Griffis
bfd6eea98f Bump version to 2.14.3 2019-12-20 23:19:32 -08:00
Patrick Griffis
eeada79a64 build: Fix some meson warnings 2019-12-20 22:24:30 -08:00
Patrick Griffis
202393a77c Follow more modern conventions for USER message
Closes #2399
2019-12-20 22:18:51 -08:00
Zach Bacon
d9809f2787 Add missing winuser.h include for mingw (#2403)
Without the include gcc will complain about WM_TIMECHANGE as undeclared.
2019-12-16 00:42:31 -08:00
Patrick
ea2f298a1a
readme: Remove build status badges
No longer using Travis for CI and honestly these don't provide much value
2019-12-08 12:56:18 -08:00
Patrick Griffis
7d9f3acfc9 Fix capability negotiation ending before sasl finishes with multi-line cap
Closes #2398
2019-11-24 13:01:48 -08:00
Simon Levermann
ad5be08a07 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-11-13 21:37:21 -08:00
Patrick Griffis
308838da32 Switch to Github Actions for Linux CI 2019-09-20 09:53:13 -07:00
nia
92014628d1 build: Make generated headers a dependency for users of common. 2019-07-17 11:50:16 -07:00
jacob1
586f089df6 Python: Fix error in hexchat.emit_print when passing time attribute 2019-06-24 07:37:20 -07:00
Patrick Griffis
a67eafc796 Revert "Create FUNDING.yml"
This reverts commit 5382401893.
2019-06-03 22:19:45 -07:00
Patrick
5382401893
Create FUNDING.yml 2019-06-03 21:43:17 -07:00
Stepan Broz
8bb768ef93 Fix a typo-error in src/common/hexchat.h:485 "haxchatprefs" -> "hexchatprefs" 2019-05-28 14:33:39 -07:00
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