summary refs log tree commit diff stats
path: root/src/common
AgeCommit message (Collapse)Author
2022-04-02Display common help numerics as SERVTEXT.Sadie Powell
This makes it a lot easier for users to actually read.
2022-02-17Reverse the notify.conf linked list before writingMasoud Naservand
hexchat populates the single linked list `notify_list` defined in `src/common/notify.c` from `notify.conf` file. Each new line read from the file is added to the list by `g_slist_prepend()` which adds it to the front of the list. But in `notify_save()` the list elements are read from the start to end of the list and written to the `notify.conf`. This means everytime hexchat is opened and closed, the contents of `notify.conf` get reversed. This commit creates a temporary glist in `notify_save()` and applies `g_slist_reverse()` on it and writes the contents of this reversed list to `notify.conf`. And solves issue #2680
2022-01-24Add -q/-- flags to /execwrite to EXECWRITE and cmd_execW (#2675)orcus
added two flags to EXECWRITE and cmd_execw -q : (quiet) to allow suppressing of additional (debug) output at the text box -- : (stop parsing for further flags) for the edge cases where -q itself migh be part of used data and the user wants to show that at the text box Closes #2666
2022-01-21sysinfo: Fix architecture detection in AArch64 WindowsBiswapriyo Nath
AArch64 should be detected as 64 bit OS.
2022-01-17Log when the user specifies an invalid port.Sadie Powell
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-05meson: Remove unused wbemcore dependencyBiswapriyo Nath
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-11-12Fix timer being locale dependent for decimalsPatrick Griffis
`/timer .1 echo hi` now works in all locales.
2021-10-30Update servlist.c (#2648)Foxy
Added irc.irc-nerds.net to the server list
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-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-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-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-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-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-17Require opting out of SSL verification in /server and /reconnect.Sadie Powell
2021-06-17Default new servers to use TLS if built with OpenSSL.Sadie Powell
2021-06-17Place ChanServ notices in the front buffer if the front buffer is on the ↵DasBrain
same network.
2021-06-01Implement support for the IRCv3 UTF8ONLY specification.Sadie Powell
https://ircv3.net/specs/extensions/utf8-only
2021-05-28Parse the output of the 005 numeric correctly. (#2585)Sadie Powell
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-24Add ACN IRC Network (#2524)dimitrisdm
Website: https://irc.acn.gr Round-Robin DNS: global.acn.gr Ports: 6667 - 6697(ssl only).
2021-05-23Update servlist.c (#2522)Xandrah
* Update servlist.c Added DeltaPool to IRC Networks * Update servlist.c Updated to support SASL
2021-05-23Merge pull request #1457 from arodland/forgiving-ctcpAndrew Rodland
Be forgiving of a missing ending CTCP delimiter in a truncated message
2021-05-23plugin interface: :lipstick:BakasuraRCE
2021-05-23notification: Implement notification option for channelsBakasuraRCE
2021-05-23plugin interface: Refactor "flags" option in "channels" list to be more ↵BakasuraRCE
clear with bit operators
2021-05-23Adding LibertaCasa + TripSit to servlist.c (#2538)cranberry
2021-05-23Change default network to Libera.ChatPatrick Griffis
2021-05-24Added SimosNap to server list (#2349)Filippo Cortigiani
2021-05-23Implement support for the IRCv3 account-tag specification. (#2572)Sadie Powell
Co-authored-by: Patrick <tingping@tingping.se>
2021-05-23Add the official EU server to hackint network (#2495)Lorenzo Ancora
2021-05-23Update ptnet servers (#2205)Miguel
Co-authored-by: Elias <elias-m-barreira@telecom.pt>
2021-05-23Updated Toolset to v142DjLegolas
2021-05-23Implement support for the IRCv3 invite-notify specification. (#2574)Sadie Powell
2021-05-23Implement support for the IRCv3 SETNAME specification. (#2571)Sadie Powell
2021-05-21add tilde.chatBen Harris
https://tilde.chat