Commit Graph

3450 Commits

Author SHA1 Message Date
Antonio Prcela
2305a0b0fe
Open links properly if ending with " 2021-03-12 09:40:40 +01:00
Sbgodin
090fd29acf python: Fix exception with list_pluginpref()
__decode cannot work (with Python3) because prefs_str has no attribute 'decode'.

Related to https://github.com/hexchat/hexchat/issues/2531
2021-03-07 15:20:58 -05:00
Mike Skec
cc04916137 url.c: add gemini & gopher parsing 2021-03-07 11:59:04 -05:00
Patrick Griffis
964ae72fa8 Better handle various ctime() calls failing 2021-03-03 15:39:02 -06:00
Tim Gates
87eb728147 docs: fix simple typo, wory -> worry
There is a small typo in src/fe-text/fe-text.c.

Should read `worry` rather than `wory`.
2020-11-22 10:25:50 -06:00
BakasuraRCE
078af20e8b fishlim: Implement correct handling of long and UTF-8 messages 2020-10-16 23:19:10 +02:00
BakasuraRCE
bd3f3fa5f7 fishlim: Remove needless header 2020-10-16 23:19:10 +02:00
BakasuraRCE
df818ad7d9 fishlim: Remove compiler warnings 2020-10-16 23:19:10 +02:00
BakasuraRCE
c7844c775a fishlim: Remove needless functions for tests 2020-10-16 23:19:10 +02:00
BakasuraRCE
4758d3705d fishlim: Fix result 2020-10-16 23:19:10 +02:00
BakasuraRCE
bbbc2aad1b fishlim: Fix cast 2020-10-16 23:19:10 +02:00
Patrick Griffis
7a275812c0 Revert word array length change
It turns out that the rfc sets a limit of 15 arguments and the
server (irccloud) sending that many in ISUPPORT was updated to
split it into multiple lines.
2020-09-21 11:22:50 -07:00
Patrick Griffis
453cb7ca79 Increase max number of words a line can be split into
This may have unintended side-effects but 32 is a very low value
and I was seeing real world bugs being caused by this. Specifically
an ISUPPORT line with more features than this could store.
2020-09-17 15:50:28 -07:00
John Levon
163608d7fd
Use pango_font_metrics_get_height() to calculate font height (#2500) 2020-09-07 18:53:31 +02:00
Paul Wise
71eb79fee4 Hide Focus Channel when the selected channel is already focussed
When the channel is focussed, the menu item does nothing so
it isn't useful to have it in the menu.

Fixes: commit c361bdca6a
See-also: https://github.com/hexchat/hexchat/pull/2255#issuecomment-475841824
2020-08-05 18:12:31 +02:00
jesopo
aec72593f2 SASL EXTERNAL doesn't necessitate a certificate 2020-07-22 10:34:19 -07:00
Bakasura
c5a798beec
FiSHLiM: Support for CBC mode + more commands (#2347) 2020-07-13 16:27:27 -07:00
Jan Harasym
2f376953f3
Add "DarkScience" to default server list. (#2474) 2020-05-31 17:59:06 -07:00
Patrick Griffis
53952feddd Fix parsing of 313
Closes #2472
2020-05-26 16:50:04 -07:00
Patrick
f9adf88eca
Remove 2ch from network list
It split into multiple networks; Both are very small and can't even match our modern guidelines like supporting TLS. I'll just use this as an opportunity to clean up the list a bit.

Closes #2465
2020-05-14 23:15:14 -07:00
delthas
82a424fc8a win32: Fix undefined symbol for builds with -with-plugin=false
Windows builds without plugins can use notification-windows.c, which
uses module_load in its notification_backend_init function.

module_load was previously guarded with a USE_PLUGIN ifdef, but we do
need this function for Windows builds even if plugins are disabled.

This fixes a critical build issue for all Windows builds without
plugins.
2020-05-02 20:38:17 -07:00
delthas
c2cdf0d2a1 win32: Disable ASLR for Windows debug builds
GDB is usually able to debug executables with ASLR by temporarily
disabling ASLR when running that executable. This is only supported on
Linux. On Windows, GDB cannot debug ASLR executables.

This removes the dynamicbase linker flag on Windows for debug builds in
order to be able to debug that executable later.

Hardening an executable with ASLR is important for release builds, but
for debug builds being able to debug is much more important.
2020-04-19 16:13:18 -07:00
delthas
83daed8706 win32: Fix building executables with invalid entrypoints
Windows builds of the GTK frontend use the pie flag to compile
hexchat.exe. Windows needs an explicit entrypoint when compiling with
--pie, otherwise an invalid executable is created.

This sets the entrypoint of the executable on Windows (as it is
currently set in the Visual Studio project files).

This fixes a critical build issue which prevents all Windows builds
using Meson from working.
2020-04-19 16:12:42 -07:00
delthas
5d5838e712 win32: Replace include of winuser.h with windows.h
winuser.h should never be included directly. windows.h should be included instead.

This fixes a critical build issue added in c5d47fc which makes all MinGW builds fail.

See #2403.
2020-04-19 03:02:29 -07:00
Jonathan
082f2f8ceb Remove Moznet
Mozilla's Moznet no longer exists. They migrated to Matrix.
2020-04-18 15:05:29 -07:00
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