summary refs log tree commit diff stats
AgeCommit message (Collapse)Author
2018-03-31Fix plugins on macOSRainer Müller
The switch to the meson build system broke plugins on macOS. GNU libtool builds shared libraries with ".dylib" and shared modules (plugins) with the extension ".so", but meson is using ".dylib" for both. Although overriding the name_suffix for shared_module() in meson is possible, this would be messy for other platforms as there is no way to query the default. Therefore it seems like we have to go with ".dylib" for now on macOS. However, G_MODULE_SUFFIX is defined to ".so", because glib follows what GNU libtool does. Therefore define a separate preprocessor macro that has the correct extension. See: https://github.com/mesonbuild/meson/issues/1160
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
2018-03-20Deiconify window on tray click. Closes #2136Manuel Schneider
2018-03-18build: Re-add support for the legacy perl apiPatrick Griffis
This was accidentally left behind, expose it beind an option as with the old build system but default to false now. Enough time has passed and only distros that care about it can enable it.
2018-03-17build: Correctly set plugin licensesPatrick Griffis
2018-03-17build: Fix id in plugin metainfo filesPatrick Griffis
2018-03-17build: Add metainfo files for addonsPatrick Griffis
2018-03-16Remove shift+click to close tab bindingPatrick Griffis
It is an odd binding that conflicts with typical behavior where shift click selects multiple items and there is already the middle click shortcut to close tabs quickly. Closes #918
2018-03-13Bump to 2.14.1Patrick Griffis
2018-03-13Revert "xtext: Always use Pango to get correct glyph width on Unix"Patrick Griffis
This reverts commit d3f1ab78138a1f9256ec02842799ed6cd1e3ec1e. The performance even on Linux is just too poor in many cases.
2018-03-13fix typo in commentMattia Rizzolo
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2018-03-11Fix fscanf() usage without size limitPatrick Griffis
Closes #2137
2018-03-10build: Remove -pie from global ldflagsPatrick Griffis
According to `hardening-check` the cflag is enough for `hexchat` and this was causing breakage in plugins Closes #2132
2018-03-10Bump to 2.14.0Patrick Griffis
2018-03-09Fix /ignore not accepting full hostsPatrick Griffis
Fixes #1828
2018-03-09win32: Update Python downloadsPatrick Griffis
2018-03-09Remove mpcinfo pluginPatrick Griffis
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
2018-03-09win32: Update to build against gvsbuildPatrick Griffis
2018-03-09Various fixes for mingwPatrick Griffis
2018-03-09win32: Respond to WM_TIMECHANGE by updating the CRT timezone infoMark Jansen
Closes #2090 Fixes #1851
2018-03-09build: Fix building with-text=true and with-plugin=falsePatrick Griffis
Closes #2113
2018-03-08Update translationsPatrick Griffis
2018-03-04Fix out of bounds read when DCC message sender contains quotesPatrick Griffis
This cannot be triggered by any user generally. Fixes #2128
2018-03-02Fix possible out of bounds read when being ctcp floodedPatrick Griffis
Note that this is unlikely to be triggerable by another user. Thanks to @dequis for discovering.
2018-02-18dbus: Add option to use app-id for bus namePatrick Griffis
This is required for Flatpak but is an API break so it is opt-in for now.
2018-02-18fishlim: Fix build warningPatrick Griffis
2018-02-11xtext: Fix accidental truncationPatrick Griffis
Fixes #2121
2018-02-06xtext: Always use Pango to get correct glyph width on UnixPeng Wu
This should be slower but pango seems to be reasonably fast on Unix though extremely slow on Windows. https://bugzilla.redhat.com/show_bug.cgi?id=1536298
2018-02-06xtext: Fix invalid utf-8 from truncationPatrick Griffis
2018-02-06xtext: Remove unused codePatrick Griffis
2018-02-06Fix Enchant 2.1.3+ supportPatrick Griffis
They changed the lib name yet again... Closes #2117
2018-01-24Change the installation path of the appdata file to {datadir}/metainfoMattia Rizzolo
The path where appdata/appstream files should be installed has been changed from /usr/share/appdata/ to /usr/share/metainfo/. https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2018-01-20Set StartupWMClass in desktop filePatrick Griffis
2018-01-18This patch hopefully solves a bug that causes that when a tab (channel or ↵Rodri
private) is left with the scrollbar at the bottom, and some new text arrives, and then we select again that tab, sometimes the scrollbar is not completely down and there is hidden text and we have to scroll manually to the bottom to show all text. This was previously submitted as an issue in: https://github.com/hexchat/hexchat/issues/1948 Maybe it isn't the ideal way to solve it, but at least I tested it and it seems to work.
2018-01-18Prevent undefined behaviour on memcpyFrancisco Couzo
2017-12-24Rename app-id to io.github.HexchatPatrick Griffis
RDNS syntax is recommended for applications and this matches the existing flatpak. Note that the dbus service and icons still need renaming though the former is an API breakage. Closes #2104 Closes #2103
2017-11-24spell-entry: Improve robustness of enchant loading and fix 2.0 supportPatrick Griffis
- Add logging and error handling to loading symbols - Don't load unversioned symbol - Handle new function names in Enchant 2.0 Closes #2095
2017-11-18build: Force pkg-config lookup method for libpciPatrick Griffis
This is some meson bug but this solution works for now.
2017-11-18sysinfo: Fix libpci detectionPatrick Griffis
For some reason on my system `libpci` is found even though its not installed...? Plus I forgot a few headers being included.
2017-11-18sysinfo: Make libpci an optional dependencyPatrick Griffis
2017-11-18sysinfo: Avoid libpci crash when pci not availablePatrick Griffis
Turns out libpci is an awful library that on any error calls exit() and has no way of indicating an error otherwise...
2017-10-25Fix crash when connect commands change networkPatrick Griffis
Fixes #2084
2017-10-16Fix oob read in ctcp_checkJoseph Bisch
word[4] can be too short, leading to the addition of ctcp_offset putting us out of bounds. This results in an oob read in ctcp_check.
2017-10-16A tiny code style changeDren Kajmakchi
2017-10-11servlist: Add BuddyIM network (#2072)Ken Spencer
2017-10-10Add an option to disable rejoin on auto reconnectIwan Aucamp
This change adds an option `irc_reconnect_rejoin` (default ON) which when turned OFF will prevent hexchat from rejoining channels after an auto reconnect. hexchat/hexchat#2069
2017-10-07Improve CTCP notice handlingPatrick Griffis
Cutting off all text after \001 can result in users hiding text so lets only bother handling it if it is a valid CTCP message (starting and ending with \001).
2017-10-02Use g_utf8_make_valid if available for cleaner utf8 handling (#2065)Joseph Bisch
2017-09-21Fix rfc_ncasecmp handling of n reaching 0Joseph Bisch
If n becomes 0 at the same time that the end of either s1 or s2 are reached, the next iteration of the while loop wouldn't happen, so we wouldn't correctly return 0.