Commit Graph

3524 Commits

Author SHA1 Message Date
Sadie Powell
4fc22a978a
Parse the output of the 005 numeric correctly. (#2585)
This implements support for the full 005 numeric syntax including negation and value escapes as defined in draft-hardy-irc-isupport-00. This fixes HexChat on servers that:

- Have unloaded a previously supported feature at runtime (e.g. unloading the monitor module in InspIRCd removing the MONITOR token).
- Have escaped spaces in the network name (see testnet.inspircd.org for an example of this).
- Send a value for a token where HexChat expects none (e.g. INVEX on InspIRCd — the value for this token is optional) or vice versa.
2021-05-28 19:37:50 -05:00
dimitrisdm
7f8b0a19cf
Add ACN IRC Network (#2524)
Website: https://irc.acn.gr
Round-Robin DNS: global.acn.gr
Ports: 6667 - 6697(ssl only).
2021-05-24 13:26:06 -05:00
Xandrah
cdfc3b9ea9
Update servlist.c (#2522)
* Update servlist.c

Added DeltaPool to IRC Networks

* Update servlist.c

Updated to support SASL
2021-05-23 22:46:00 -05:00
Andrew Rodland
076b2c1c73
Merge pull request #1457 from arodland/forgiving-ctcp
Be forgiving of a missing ending CTCP delimiter in a truncated message
2021-05-23 21:19:28 -05:00
BakasuraRCE
7121bb6e82 plugin interface: 💄 2021-05-23 21:17:07 -05:00
BakasuraRCE
da26097aab notification: Implement notification option for channels 2021-05-23 21:17:07 -05:00
BakasuraRCE
e03fab07ed plugin interface: Refactor "flags" option in "channels" list to be more clear with bit operators 2021-05-23 21:17:07 -05:00
cranberry
0a85d79dff
Adding LibertaCasa + TripSit to servlist.c (#2538) 2021-05-23 21:16:39 -05:00
Patrick Griffis
d3545f37cd Change default network to Libera.Chat 2021-05-23 21:15:52 -05:00
Filippo Cortigiani
ad20708766
Added SimosNap to server list (#2349) 2021-05-24 02:12:20 +00:00
Sadie Powell
37118a4d2b
Implement support for the IRCv3 account-tag specification. (#2572)
Co-authored-by: Patrick <tingping@tingping.se>
2021-05-23 20:53:28 -05:00
Lorenzo Ancora
6199635e7f
Add the official EU server to hackint network (#2495) 2021-05-23 20:47:33 -05:00
Miguel
c64dda4dea
Update ptnet servers (#2205)
Co-authored-by: Elias <elias-m-barreira@telecom.pt>
2021-05-23 20:42:07 -05:00
DjLegolas
5310f451f2 ci: fixed python paths 2021-05-23 19:43:24 -05:00
DjLegolas
65930492ca ci: fixed Inno Download Plugin download path 2021-05-23 19:43:24 -05:00
DjLegolas
04acbdc221 Update github workflows 2021-05-23 19:43:24 -05:00
DjLegolas
e2ec2c9ab7 Fixed notifications-winrt compilation error
Both platform.winmd and windows.winmd were unable to find so added the location of each to the compiler.
2021-05-23 19:43:24 -05:00
DjLegolas
939ec7a16e Updated Toolset to v142 2021-05-23 19:43:24 -05:00
DjLegolas
29e78d3851 Change Inno path property 2021-05-23 19:43:24 -05:00
Sadie Powell
c06f6f2565
Implement support for the IRCv3 invite-notify specification. (#2574) 2021-05-23 19:32:00 -05:00
Sadie Powell
e4fd69e3d4
Implement support for the IRCv3 SETNAME specification. (#2571) 2021-05-23 13:12:10 -05:00
Sadie Powell
f0554b27df
Add a workaround for icons not scaling right on HiDPI screens. (#2573) 2021-05-23 13:01:39 -05:00
Ben Harris
65edc9ad9a add tilde.chat
https://tilde.chat
2021-05-21 11:05:42 -05:00
Panagiotis Vasilopoulos
a25f238168 Add Libera Chat to network list 2021-05-19 12:08:03 -05:00
Mateusz Gozdek
90c91d6c9a plugins/lua/lua.c: fix segfault on lua_pop with Lua 5.4.3
Closes #2558

Co-authored-by: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-04-04 21:17:05 -05: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