summary refs log tree commit diff stats
AgeCommit message (Collapse)Author
2022-12-18Merge remote-tracking branch 'upstream/master' into defaultSoniEx2
2022-12-18Warn of plugin bugsSoniEx2
2022-11-05Fix updating the topic (user@host) of dialogs on CHGHOST.Sadie Powell
This is updated when a user receives a new message but would have not been updated when a user sent a CHGHOST.
2022-11-05Also request the extended-monitor capability.Sadie Powell
This allows getting hostname/awaymsg/etc updates for monitored clients which will update the internal cache for that data.
2022-10-29ci: Add gtk-update-icon-cache to msys2 workflowPatrick
2022-10-29add shortcut options in setupDjLegolas
will allow the user to control on which of the shortcuts to create: * start menu - will now show the relevant window * desktop * quick launch on uninstall, all will be removed on uninstall
2022-10-16Make it more clear that /SERVER and /SERVCHAN use SSL by default.Sadie Powell
2022-10-16Default /SERVER and friends to use SSL when built with OpenSSL.Sadie Powell
Since commit 747a52aae8806a9072a23ea68212767f352ac431 users have to opt-out of using SSL when creating a new server. This commit makes it so /SERVER also uses SSL by default. In order to connect insecurely users must now use one of these methods: /SERVER -insecure irc.example.com /SERVER irc.example.com -6667 The `-ssl` flag and the `+port` syntax have been retained for compat reasons.
2022-09-22Fix PROTOCTL NAMESX and only send when not using `multi-prefix`.Sadie Powell
This capability is the equivalent of the old protoctl token.
2022-09-20Support whitespace between language codesAndreas Schärtl
So far, when configuring multiple spell check languages, Hexchat requires the user to separate multiple entries with commas and only commas. This patch allows users to also enter whitespace, e.g. de_DE, en_US as is common in many applications.
2022-08-29Fix various compiler warnings.Sadie Powell
fish.c: -Wincompatible-pointer-types fkeys.c: -Wmisleading-indentation proto-irc.c: -Wincompatible-pointer-types util.c: -Wdeprecated-declarations xtext.c: -Wmaybe-uninitialized
2022-08-26notification_plugin_deinit: Set function signature to int(void *)Adrian
Previously the function signature was inconsistent throughout src/fe-gtk/plugin-notification.{h,c}: One file had the signature int(void), while the other had int(void *). Since this type mismatch might lead to problems (especially with LTO) and the (possibly provided) function argument isn't used in the function's definition, this commit sets int(void *) as function signature for both the declaration and definition of the function. Fixes: https://github.com/hexchat/hexchat/issues/2726
2022-08-01servlist: Remove ACNPatrick
They are no longer supporting TLS and let their cert expire. Non-TLS networks do not belong in our default list. Closes #2722
2022-07-15servlist: Remove IRCHighWayPatrick Griffis
They have self-signed certs which doesn't belong in our default list.
2022-05-14fix sysinfo print of cpu nameDjLegolas
the cpu name might have tailing spaces in Windows, which weren't remove before printing.
2022-05-13Split long SASL auth strings into 400-byte chunks (#2709)Artem Zhurikhin
Fixes #2705
2022-05-10raise the max length of a server password to 1024Ashpool
- alleviate #1296
2022-05-08update python3 from 3.6 to 3.8.10DjLegolas
Signed-off-by: DjLegolas <djlegolas@protonmail.com>
2022-05-07fix addons load in python2DjLegolas
2022-04-30appdata: Update appstream usage for desktop applicationsPatrick Griffis
2022-04-21Do not allow plugins to eat Close ContextSoniEx2
These are used for clean-up and letting them be eaten may lead to plugins getting confused about which data belong to which contexts.
2022-04-21Merge upstream changesSoniEx2
2022-04-16Change preferences sub-dialogs to be modalPatrick Griffis
This solves the issue where the parent dialog is closed and then the child dialog is used. This is however only a partial fix: - Many other dialogs throughout the codebase do not currently have parent windows and need to be refactored. - Not all window managers respect modal so users can still trigger bugs. We can be more defensive against this but it requires more refactoring. Closes #2686
2022-04-15python: Fix API break in hook_timer()Patrick
Closes #2691
2022-04-02Display common help numerics as SERVTEXT.Sadie Powell
This makes it a lot easier for users to actually read.
2022-03-26notification: Don't print failure to load backend in UIPatrick
This isn't actually helpful information to users generally Closes #2152 Closes #2684
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-02-16Return userdata from pluginprefs __pairs metamethod to avoid immediate GC.William D. Jones
2022-02-12Bump to 2.16.1Patrick Griffis
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-21meson: Fix exported functions in pluginsBiswapriyo Nath
This adds DEF file names in meson. Without the DEF files, every functions are exproted from plugins.
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-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.