summary refs log tree commit diff stats
path: root/plugins
AgeCommit message (Collapse)Author
2023-11-03win32: Remove Python 2 supportPatrick Griffis
2023-05-01checksum: Replace GString usage with regular stringsPatrick Griffis
2023-05-01checksum: fixed the TODO and FIXME, tested and improved info message printingTotto16
2023-05-01checksum: Move checksum operation to a threadPatrick Griffis
2023-04-24python: fix for timers that unhook themselvesCelelibi
The python plugin use weak references for hooks, which might let a necessary object disappear if the callback of a timer hook unhooks itself. Signed-off-by: Celelibi <celelibi@gmail.com>
2023-04-03python: add flush() to StdoutCelelibi
Python sometime calls flush() on sys.stdout or sys.stderr. In particular, it might do so when an exception is raised. This fixes the second error message that was generated in such cases. Signed-off-by: Celelibi <celelibi@gmail.com>
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-05-07fix addons load in python2DjLegolas
2022-04-15python: Fix API break in hook_timer()Patrick
Closes #2691
2022-02-16Return userdata from pluginprefs __pairs metamethod to avoid immediate GC.William D. Jones
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-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.
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-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-02python: Open all scripts with utf-8 encodingPatrick Griffis
2021-10-01win32: Update to OpenSSL 1.1Patrick Griffis
2021-07-15fish: Misc test cleanupsPatrick Griffis
2021-06-19Replace identify-msg support with solanum.chat/identify-msg.Sadie Powell
2021-05-28python: Fix off by one rangeAlexandre Jousset
The range goes from 31 to 1 inclusive (#2391).
2021-05-23Updated Toolset to v142DjLegolas
2021-04-04plugins/lua/lua.c: fix segfault on lua_pop with Lua 5.4.3Mateusz Gozdek
Closes #2558 Co-authored-by: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-03-07python: Fix exception with list_pluginpref()Sbgodin
__decode cannot work (with Python3) because prefs_str has no attribute 'decode'. Related to https://github.com/hexchat/hexchat/issues/2531
2020-10-16fishlim: Implement correct handling of long and UTF-8 messagesBakasuraRCE
2020-10-16fishlim: Remove needless headerBakasuraRCE
2020-10-16fishlim: Remove compiler warningsBakasuraRCE
2020-10-16fishlim: Remove needless functions for testsBakasuraRCE
2020-10-16fishlim: Fix resultBakasuraRCE
2020-10-16fishlim: Fix castBakasuraRCE
2020-09-21Revert word array length changePatrick Griffis
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-17Increase max number of words a line can be split intoPatrick Griffis
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-07-13FiSHLiM: Support for CBC mode + more commands (#2347)Bakasura
2020-03-11build: Fix potential undefined variablePatrick Griffis
2020-03-11build: Better support building against python 3.8+Patrick Griffis
Closes #2441
2019-12-22Fix build on FreeBSDpkubaj
2019-11-13Ignore some non-interesting filesystem typesSimon Levermann
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-06-24Python: Fix error in hexchat.emit_print when passing time attributejacob1
2019-01-02python: plugin cleanup and refactorA_D
2018-12-27python: Make sure `help()` doesn't cause hexchat to hang (#2290)linuxdaemon
* Make sure `help()` doesn't cause hexchat to hang Replace `pydoc.help` with a copy of `pydoc.Helper` with an empty `StringIO` instead of stdin * Handle BytesIO vs StringIO on 2.7
2018-12-26python: Make the plugins table dynamically sized (#2291)linuxdaemon
Adjust the width of the columns depending on the length of the data in each element
2018-12-26python: Made sure to set sys.argv if it is not set. fixes #2282A_D
2018-12-05python: Fix console not eating commandsPatrick Griffis
2018-11-09python: Various cffi fixesA_D
- fixed /py exec behaviour - fixed hexchat.unload_hook() failing when passed a hook id - fixed get_list() calls in python3
2018-11-09python: Rewrite with CFFIPatrick Griffis
2018-09-26Fix compilation failure on non-linux, non-darwin, non-windows systems.Mattia Rizzolo
'gnu' => Hurd 'gnu/' => all the gnu/* stuff like gnu/kfreebsd Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2018-09-01Fix new stringop-truncation warningsPatrick Griffis
2018-09-01sysinfo: Fixup formattingPatrick Griffis
2018-09-01sysinfo: Add support for /etc/os-releasePatrick Griffis
2018-03-26build: perl as a dependency in meson.buildRainer Müller
With the switch to meson, the problem previously fixed in #1822 came back. The build system might pick up the installed hexchat-config.h instead of using the header in the source directory, as the compiler arguments would be in the order of "-I${prefix}/include -I..". It seems that the c_args in meson are always put to the front of the compiler arguments, in order to be able to override any include paths from dependencies. However, this was not the intention here, so perl should also be modeled as a dependency. This ensures that the arguments with local include directories come first.
2018-03-23build: Add option to specify path to perl binaryRainer Müller