summary refs log tree commit diff stats
AgeCommit message (Collapse)Author
2022-01-17Fix handling invalid ports.Sadie Powell
Instead of wrapping around, which is not behaviour any reasonable user would expect, just use the default port if above 65535. Disallow connecting on port 0. This port has special meaning and servers can not listen on it. It is more likely the user just gave an invalid value to the port field as atoi("invalid") == 0.
2022-01-11meson: Fix exported functions for python pluginBiswapriyo Nath
This fixes loading python plugin in Windows by exporting functions using python.def file. Otherwise, hexchat_plugin_init symbol error is shown.
2022-01-06Add missing headerPatrick
https://github.com/hexchat/hexchat/issues/2652#issuecomment-1007015314
2022-01-05meson: Remove unused wbemcore dependencyBiswapriyo Nath
2021-12-22Update commentPatrick Griffis
2021-12-22Be smarter about conditionally escaping URIs that are openedPatrick Griffis
Fixes #2659
2021-12-22build: Set G_LOG_DOMAINPatrick Griffis
2021-12-02Remove wallchan commandNoah Keck
This command doesn't have many legitimate, non-spam applications and is easily confused for the similarly named 'wallops'. Moreover, many netowrks now automatically punish or drop users who message many channels at the same time, rendering the command mostly useless. It also is too easy to tab-complete 'wall' into 'wallchan' when you expect 'wallops' to come up first, which can lead to two very different functions. If this is to be reintroduced it should be named something with less similarity to 'wallops' or 'wallchops'.
2021-12-01Make build job names more descriptive (#2657)John Villalovos
Previously every build showed up in the CI as "build". Update the job names to reflect what they are. For example the Ubuntu build is now called "ubuntu_build" Co-authored-by: Patrick <tingping@tingping.se>
2021-11-30fish: enable the legacy provider if build against OpenSSL3Simon Chopin
OpenSSL 3.0 disables a number of "legacy" algorithms by default, and we need to enable them manually using their provider system. Note that explicitly loading a provider will disable the implicit default provider, which is why we need to load it explicitly. Closes #2629 Signed-off-by: Simon Chopin <simon.chopin@canonical.com> V2: * use a local OSSL_LIB_CTX to avoid leaking the legacy algorithms into the main SSL context. * Simplify the fish_init() error paths by calling fish_deinit()
2021-11-12Fix timer being locale dependent for decimalsPatrick Griffis
`/timer .1 echo hi` now works in all locales.
2021-11-11Add missing string.h includesPatrick Griffis
Closes #2652
2021-11-03fishlim: Minor test improvementsPatrick Griffis
- Don't have tests repeat themselves, meson has a `--repeat` flag - Fix a minor leak of a GRand - Speed up a test - Increase timeout This still needs a lot of improvements, it runs at lot of loops within loops generating random strings that could be optimized. This means it can take a very long time on some computers. Closes #2629
2021-10-30Update servlist.c (#2648)Foxy
Added irc.irc-nerds.net to the server list
2021-10-26flatpak: Update shared-modulesPatrick Griffis
2021-10-26flatpak: Remove rename-icon from manifestPatrick
2021-10-25Install icons as io.github.HexchatPatrick Griffis
This matches our app-id as the desktop-file spec recommends. This also fixes a bug where our notifications referred to this new name already.
2021-10-20Adjust parsing of RPL_WHOISSPECIAL to handle missing : for single-word whois ↵alicetries
messages This is to support parsing the RPL_WHOISSPECIAL from unrealircd correctly if the whois message is a single word.
2021-10-14Add -NOOVERRIDE flag to GUI COLOR. (#2644)Nolan Lum
2021-10-07ci: Don't install libproxy-devPatrick
2021-10-02python: Open all scripts with utf-8 encodingPatrick Griffis
2021-10-01Bump version to 2.16.0Patrick Griffis
2021-10-01Fix user list not tracking mode changesRyan Schmidt
The `PREFIX` key in `ISUPPORT` (usually) takes the form `(modes)prefixes` e.g. `(ov)@+`. The current implementation will therefore set `serv->nick_modes` to a string like `"(ov"` instead of the desired `"ov"`. This causes the nick list to not properly update with which users have which prefix modes. Skip over the initial `'('` so we capture the correct modes and fix that issue.
2021-10-01win32: Update to OpenSSL 1.1Patrick Griffis
2021-10-01Explicitly set app icon in notificationsPatrick Griffis
2021-08-24Be a bit less insulting about servers with longer line lengths.Sadie Powell
2021-08-24Increase the linebuf length to fit a full message including tags.Sadie Powell
2021-08-23Remove some weird guesswork on the 004 numeric. (#2621)Sadie Powell
Bahamut and ircu both send 005 MODES and ELIST so this is entirely unnecessary. The other IRCd checked for here is for a dead network. While we're editing this code fix HexChat on servers that can only support one mode at a time (these are mostly gateway servers).
2021-07-15actions: Add MSYS2 builderPatrick Griffis
2021-07-15fish: Misc test cleanupsPatrick Griffis
2021-07-13Fix whitespace issuesPatrick Griffis
2021-07-13Remove libnotify dependencyPatrick Griffis
Instead just talk directly to the service. This fixes *sending* a notification being blocking IO.
2021-07-13actions: Build on Ubuntu 20.04Patrick Griffis
18.04 requires newer Ninja
2021-07-13build: Misc cleanup of optionsPatrick Griffis
Cleanup of option names, use features where applicable, and printing of summary.
2021-07-12Avoid direct use of libproxyMichael Catanzaro
Since hexchat already depends on GLib, it's better to use GProxyResolver instead. This might use libproxy, or not, as appropriate. P.S. This removes a memory safety issue because proxy_list is allocated using malloc(), not g_malloc(), and therefore using g_strfreev() is incorrect. The proper way to free the proxy list returned by libproxy is to use px_proxy_factory_free_proxies() (but nobody does that because it was added in libproxy 0.4.16, which is somewhat recent).
2021-07-10Fix allowed characters when escaping URIsPatrick Griffis
Closes #2608
2021-07-09servlist: Remove freenodePatrick
Closes #2604
2021-07-02servlist: Add back TURLINet (#2602)Valerie Pond
2021-06-29Add DigitalIRC to default servlist.cadamus1red
2021-06-26servlist: Add ICQ-ChatPatrick
Closes #2506
2021-06-26Update servlist.c - Network clean up (#2597)moon
Added 1 server to Aitvaras Added 1 server to EFNet Added 2 servers to chatpat (previously UniBG) Added DosersNET Put network list into alphabetical order. Removed 2 servers from EFNet Removed 3 servers from Aitvaras Removed 3 servers from UniBG (now chatpat) Removed AccessIRC (no longer exists) Removed BetaChat (no longer exists) Removed Buddy.IM (no longer exists) Removed ChatNet (no longer exists) Removed ChattingAway (no longer exists) Removed Criten (connects to Rizon) Removed DeltaPool for having zero connections and channels. Removed ElectroCode (no longer exists) Removed GalaxyNet (no longer exists) Removed GeeksIRC (no longer exists) Removed IdleMonkeys (no longer exists) Removed IndirectIRC (no longer exists) Removed iZ-smart.net (no longer exists) Removed ObsidianIRC (no longer exists) Removed PonyChat (no longer exists) Removed SceneNet (connects to ChatJunkies) Removed SeilEn.de (no longer exists) Removed SolidIRC (no longer exists) Removed StarChat (no longer exists) Removed TURLINet (no longer exists) Removed WorldNet (no longer exists) Renamed DeltaAnime to DaIRC Renamed Irctoo.net to IRCtoo Renamed KBFail to Keyboard-Failure Renamed Krstarica to PIK Renamed OzNet to OzOrg Renamed PIRC.PL to pirc.pl Renamed PTNet.org to PTNet Renamed UniBG to chatpat
2021-06-22Fix parsing +beI lists on InspIRCd.Sadie Powell
2021-06-21actions: Remove default value in ubuntu buildPatrick Griffis
2021-06-21actions: Add flatpak actionPatrick Griffis
2021-06-21actions: Upload windows artifacts for each archPatrick Griffis
2021-06-20Implement generic support for IRCv3 standard replies. (#2589)Sadie Powell
https://ircv3.net/specs/extensions/standard-replies Co-authored-by: Patrick <tingping@tingping.se>
2021-06-20Implement support for strikethrough text.Sadie Powell
https://defs.ircdocs.horse/info/formatting.html
2021-06-19Replace identify-msg support with solanum.chat/identify-msg.Sadie Powell
2021-06-17Consistently set the SSL state in /reconnect.Sadie Powell
We need to use a temporary variable here as we're overwriting the existing server object which may have values set here already.
2021-06-17Switch back to using newserver as the default server name.Sadie Powell