summary refs log tree commit diff stats
AgeCommit message (Collapse)Author
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.
2017-09-19Handle leading spaces when matching extra alertsPatrick Griffis
It is common for users to set "foo, bar" and the leading space has caused issues in the past so lets just ignore that.
2017-09-19Fix rfc_{n,}casecmp functions (#2058)Joseph Bisch
rfc_casecmp was broken because reaching terminator for str1 was used as a terminal condition and str2 may be shorter than str1, resulting in an oob read condition for str2. rfc_ncasecmp was broken because it checked if n characters were checked or if BOTH pointers reached their terminator, however the strings may be different lengths and also less than n characters in length, meaning that they don't both reach their terminators at the same time, resulting in an oob read condition.
2017-09-18Fix oob read caused by ptr[0] being NULL in inbound_noticeJoseph Bisch
If ptr[0] is NULL, then strchr may return a pointer to the NULL terminator for serv->nick_prefixes, making the if statement true, which then leads to the pointer increment leaving ptr oob. Now we check to ensure ptr[0] != NULL. From the Linux manpages for strchr: The terminating null byte is considered part of the string, so that if c is specified as '\0', these functions return a pointer to the terminator.
2017-09-16Spelling: SOCKS5, Byte per second (#2056)Allan Nordhøy
* Spelling: SOCKS5 * SOCKS4/5, Byte per second As per https://en.wikipedia.org/wiki/Data_rate_units
2017-09-15Update translationsPatrick Griffis
2017-09-15Use localized "HexChat" in window titlesChase Patterson
Also allow rearranging of "HexChat" in window titles
2017-09-15Change windows from starting with "Hexchat: " to ending with " - Hexchat"Chase Patterson
2017-09-14Update translationsPatrick Griffis
Close #2054
2017-08-31Improve detection of system tray supportPatrick Griffis
Closes #2045
2017-08-19UI text consistency, capitalization etc.torhus
2017-08-18Adjust use of ellipsis (...) in menus according to Gnome HIG (#2035)torhus
* Adjust use of ellipses (...) in menus according to Gnome HIG https://developer.gnome.org/hig/stable/writing-style.html.en
2017-07-20Add mnemonic for URL GrabberPatrick Griffis
2017-07-16servlist: skip empty lines.Mark Jansen
Fixes #1999
2017-07-04Better handle channels with / in them with doat commandPatrick Griffis
/doat #foo/bar/freenode would work for example.
2017-07-01Support changing tray icon only with tray_normal imageBilal Elmoussaoui
Previously making a hexchat icon would override all hexchat icons not just the tray. Fixes #2017 Closes #2018
2017-06-26Bump meson dependency to 0.38.0Patrick Griffis
We rely upon the behavior of https://github.com/mesonbuild/meson/commit/11f9425a5e123e7e4bb6296f4453a8e072eb95ed
2017-06-26Fix crash when notification backend failsPatrick Griffis
Most notably on Win7
2017-06-26build: Fix building plugins in cygwinPatrick Griffis
2017-06-26build: More robust compiler flag checksPatrick Griffis
Don't hardcode platforms but check if things actually link. This should fix cygwin.
2017-06-22Fix skipping autoconnect when passed 1 URLPatrick Griffis
2017-06-20sysinfo: Simplify finding pci.ids file on UnixPatrick Griffis
There is probably no reason to make this user configurable just get the correct one at build time...
2017-06-18Fix crash on coloring NULL nicksPatrick Griffis
Fixes #2014
2017-06-15Fix OpenSSL 1.1 deprecationsPatrick Griffis
2017-06-15Hide false-positive deprecated warningPatrick Griffis
2017-06-15build: Validate desktop/appstream filesPatrick Griffis