]>
jfr.im git - irc/hexchat/hexchat.git/log
Patrick Griffis [Wed, 14 Mar 2018 02:26:31 +0000 (22:26 -0400)]
Bump to 2.14.1
Patrick Griffis [Wed, 14 Mar 2018 01:17:45 +0000 (21:17 -0400)]
Revert "xtext: Always use Pango to get correct glyph width on Unix"
This reverts commit
d3f1ab78138a1f9256ec02842799ed6cd1e3ec1e .
The performance even on Linux is just too poor in many cases.
Mattia Rizzolo [Tue, 13 Mar 2018 23:31:03 +0000 (00:31 +0100)]
fix typo in comment
Signed-off-by: Mattia Rizzolo <redacted>
Patrick Griffis [Sun, 11 Mar 2018 23:08:26 +0000 (19:08 -0400)]
Fix fscanf() usage without size limit
Closes #2137
Patrick Griffis [Sun, 11 Mar 2018 01:49:35 +0000 (20:49 -0500)]
build: Remove -pie from global ldflags
According to `hardening-check` the cflag is enough for `hexchat`
and this was causing breakage in plugins
Closes #2132
Patrick Griffis [Sat, 10 Mar 2018 21:39:15 +0000 (16:39 -0500)]
Bump to 2.14.0
Patrick Griffis [Sat, 10 Mar 2018 02:33:42 +0000 (21:33 -0500)]
Fix /ignore not accepting full hosts
Fixes #1828
Patrick Griffis [Fri, 9 Mar 2018 20:26:03 +0000 (20:26 +0000)]
win32: Update Python downloads
Patrick Griffis [Fri, 9 Mar 2018 19:08:17 +0000 (19:08 +0000)]
Remove mpcinfo plugin
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
Patrick Griffis [Tue, 6 Mar 2018 14:35:51 +0000 (14:35 +0000)]
win32: Update to build against gvsbuild
Patrick Griffis [Tue, 6 Mar 2018 00:25:08 +0000 (19:25 -0500)]
Various fixes for mingw
Mark Jansen [Tue, 14 Nov 2017 20:47:17 +0000 (21:47 +0100)]
win32: Respond to WM_TIMECHANGE by updating the CRT timezone info
Closes #2090
Fixes #1851
Patrick Griffis [Fri, 9 Mar 2018 18:20:21 +0000 (13:20 -0500)]
build: Fix building with-text=true and with-plugin=false
Closes #2113
Patrick Griffis [Fri, 9 Mar 2018 00:14:22 +0000 (19:14 -0500)]
Update translations
Patrick Griffis [Sun, 4 Mar 2018 17:14:09 +0000 (12:14 -0500)]
Fix out of bounds read when DCC message sender contains quotes
This cannot be triggered by any user generally.
Fixes #2128
Patrick Griffis [Sat, 3 Mar 2018 01:48:54 +0000 (20:48 -0500)]
Fix possible out of bounds read when being ctcp flooded
Note that this is unlikely to be triggerable by another user.
Thanks to @dequis for discovering.
Patrick Griffis [Sun, 18 Feb 2018 09:44:59 +0000 (04:44 -0500)]
dbus: Add option to use app-id for bus name
This is required for Flatpak but is an API break so it is opt-in
for now.
Patrick Griffis [Sun, 18 Feb 2018 09:30:43 +0000 (04:30 -0500)]
fishlim: Fix build warning
Patrick Griffis [Sun, 11 Feb 2018 22:24:32 +0000 (17:24 -0500)]
xtext: Fix accidental truncation
Fixes #2121
Peng Wu [Thu, 1 Feb 2018 23:52:16 +0000 (18:52 -0500)]
xtext: Always use Pango to get correct glyph width on Unix
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
Patrick Griffis [Fri, 19 Jan 2018 09:29:07 +0000 (04:29 -0500)]
xtext: Fix invalid utf-8 from truncation
Patrick Griffis [Fri, 19 Jan 2018 09:28:51 +0000 (04:28 -0500)]
xtext: Remove unused code
Patrick Griffis [Tue, 6 Feb 2018 21:57:30 +0000 (16:57 -0500)]
Fix Enchant 2.1.3+ support
They changed the lib name yet again...
Closes #2117
Mattia Rizzolo [Mon, 22 Jan 2018 23:42:51 +0000 (00:42 +0100)]
Change the installation path of the appdata file to {datadir}/metainfo
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 <redacted>
Patrick Griffis [Sat, 20 Jan 2018 14:27:02 +0000 (09:27 -0500)]
Set StartupWMClass in desktop file
Rodri [Sat, 11 Feb 2017 15:44:50 +0000 (16:44 +0100)]
This patch hopefully solves a bug that causes that when a tab (channel or 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.
Francisco Couzo [Thu, 18 Jan 2018 00:59:03 +0000 (21:59 -0300)]
Prevent undefined behaviour on memcpy
Patrick Griffis [Sun, 24 Dec 2017 17:09:36 +0000 (12:09 -0500)]
Rename app-id to io.github.Hexchat
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
Patrick Griffis [Fri, 24 Nov 2017 08:51:10 +0000 (03:51 -0500)]
spell-entry: Improve robustness of enchant loading and fix 2.0 support
- Add logging and error handling to loading symbols
- Don't load unversioned symbol
- Handle new function names in Enchant 2.0
Closes #2095
Patrick Griffis [Sun, 19 Nov 2017 02:29:56 +0000 (21:29 -0500)]
build: Force pkg-config lookup method for libpci
This is some meson bug but this solution works for now.
Patrick Griffis [Sun, 19 Nov 2017 02:06:21 +0000 (21:06 -0500)]
sysinfo: Fix libpci detection
For some reason on my system `libpci` is found even though its not
installed...? Plus I forgot a few headers being included.
Patrick Griffis [Sun, 19 Nov 2017 01:47:32 +0000 (20:47 -0500)]
sysinfo: Make libpci an optional dependency
Patrick Griffis [Sat, 18 Nov 2017 05:14:13 +0000 (00:14 -0500)]
sysinfo: Avoid libpci crash when pci not available
Turns out libpci is an awful library that on any error calls
exit() and has no way of indicating an error otherwise...
Patrick Griffis [Wed, 25 Oct 2017 19:26:26 +0000 (15:26 -0400)]
Fix crash when connect commands change network
Fixes #2084
Joseph Bisch [Tue, 17 Oct 2017 00:31:21 +0000 (20:31 -0400)]
Fix oob read in ctcp_check
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.
Dren Kajmakchi [Sun, 15 Oct 2017 08:23:43 +0000 (10:23 +0200)]
A tiny code style change
Ken Spencer [Wed, 11 Oct 2017 16:47:23 +0000 (12:47 -0400)]
servlist: Add BuddyIM network (#2072)
Iwan Aucamp [Fri, 6 Oct 2017 23:45:02 +0000 (01:45 +0200)]
Add an option to disable rejoin on auto reconnect
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
Patrick Griffis [Sat, 7 Oct 2017 21:31:53 +0000 (17:31 -0400)]
Improve CTCP notice handling
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).
Joseph Bisch [Mon, 2 Oct 2017 19:11:42 +0000 (15:11 -0400)]
Use g_utf8_make_valid if available for cleaner utf8 handling (#2065)
Joseph Bisch [Fri, 22 Sep 2017 00:58:55 +0000 (20:58 -0400)]
Fix rfc_ncasecmp handling of n reaching 0
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.
Patrick Griffis [Wed, 20 Sep 2017 00:25:17 +0000 (20:25 -0400)]
Handle leading spaces when matching extra alerts
It is common for users to set "foo, bar" and the leading space
has caused issues in the past so lets just ignore that.
Joseph Bisch [Tue, 19 Sep 2017 18:31:48 +0000 (14:31 -0400)]
Fix rfc_{n,}casecmp functions (#2058)
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.
Joseph Bisch [Tue, 19 Sep 2017 01:40:57 +0000 (21:40 -0400)]
Fix oob read caused by ptr[0] being NULL in inbound_notice
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.
Allan Nordhøy [Sun, 17 Sep 2017 02:04:52 +0000 (04:04 +0200)]
Spelling: SOCKS5, Byte per second (#2056)
* Spelling: SOCKS5
* SOCKS4/5, Byte per second
As per https://en.wikipedia.org/wiki/Data_rate_units
Patrick Griffis [Fri, 15 Sep 2017 23:29:31 +0000 (19:29 -0400)]
Update translations
Chase Patterson [Fri, 15 Sep 2017 21:36:02 +0000 (17:36 -0400)]
Use localized "HexChat" in window titles
Also allow rearranging of "HexChat" in window titles
Chase Patterson [Fri, 15 Sep 2017 09:05:46 +0000 (05:05 -0400)]
Change windows from starting with "Hexchat: " to ending with " - Hexchat"
Patrick Griffis [Thu, 14 Sep 2017 15:39:46 +0000 (11:39 -0400)]
Update translations
Close #2054
Patrick Griffis [Thu, 31 Aug 2017 13:52:45 +0000 (09:52 -0400)]
Improve detection of system tray support
Closes #2045
torhus [Sat, 19 Aug 2017 18:48:50 +0000 (20:48 +0200)]
UI text consistency, capitalization etc.
torhus [Fri, 18 Aug 2017 19:59:31 +0000 (21:59 +0200)]
Adjust use of ellipsis (...) in menus according to Gnome HIG (#2035)
* Adjust use of ellipses (...) in menus according to Gnome HIG
https://developer.gnome.org/hig/stable/writing-style.html.en
Patrick Griffis [Thu, 20 Jul 2017 21:33:23 +0000 (17:33 -0400)]
Add mnemonic for URL Grabber
Mark Jansen [Sun, 28 May 2017 10:46:26 +0000 (12:46 +0200)]
servlist: skip empty lines.
Fixes #1999
Patrick Griffis [Tue, 4 Jul 2017 17:53:15 +0000 (13:53 -0400)]
Better handle channels with / in them with doat command
/doat #foo/bar/freenode would work for example.
Bilal Elmoussaoui [Sun, 25 Jun 2017 02:42:57 +0000 (04:42 +0200)]
Support changing tray icon only with tray_normal image
Previously making a hexchat icon would override all hexchat icons
not just the tray.
Fixes #2017
Closes #2018
Patrick Griffis [Tue, 27 Jun 2017 02:18:59 +0000 (22:18 -0400)]
Bump meson dependency to 0.38.0
We rely upon the behavior of https://github.com/mesonbuild/meson/commit/
11f9425a5e123e7e4bb6296f4453a8e072eb95ed
Patrick Griffis [Mon, 26 Jun 2017 21:37:55 +0000 (17:37 -0400)]
Fix crash when notification backend fails
Most notably on Win7
Patrick Griffis [Mon, 26 Jun 2017 20:41:10 +0000 (16:41 -0400)]
build: Fix building plugins in cygwin
Patrick Griffis [Mon, 26 Jun 2017 20:38:03 +0000 (16:38 -0400)]
build: More robust compiler flag checks
Don't hardcode platforms but check if things actually link.
This should fix cygwin.
Patrick Griffis [Thu, 22 Jun 2017 17:15:58 +0000 (13:15 -0400)]
Fix skipping autoconnect when passed 1 URL
Patrick Griffis [Tue, 20 Jun 2017 20:26:28 +0000 (16:26 -0400)]
sysinfo: Simplify finding pci.ids file on Unix
There is probably no reason to make this user configurable just
get the correct one at build time...
Patrick Griffis [Sun, 18 Jun 2017 10:31:34 +0000 (06:31 -0400)]
Fix crash on coloring NULL nicks
Fixes #2014
Patrick Griffis [Thu, 15 Jun 2017 04:26:43 +0000 (00:26 -0400)]
Fix OpenSSL 1.1 deprecations
Patrick Griffis [Thu, 15 Jun 2017 04:14:30 +0000 (00:14 -0400)]
Hide false-positive deprecated warning
Patrick Griffis [Thu, 15 Jun 2017 04:10:55 +0000 (00:10 -0400)]
build: Validate desktop/appstream files
Patrick Griffis [Thu, 15 Jun 2017 03:38:41 +0000 (23:38 -0400)]
build: Fix setting the *installed* rpath for perl too...
Patrick Griffis [Thu, 15 Jun 2017 03:29:50 +0000 (23:29 -0400)]
build: Fix rpath not getting set for perl plugin
Some distros of perl pass an rpath so we shouldn't ignore it.
Other junk comes with it but oh well.
Patrick Griffis [Wed, 14 Jun 2017 06:47:00 +0000 (02:47 -0400)]
readme: Update badges
Patrick Griffis [Tue, 13 Dec 2016 21:12:03 +0000 (16:12 -0500)]
build: Replace Autotools with Meson
Quick rundown of benefits:
- Much faster:
- Autotools (with autogen): 22 seconds
- Meson: 7 seconds
- Meson (with ccache): 2 seconds
- Simpler:
- ~1000 lines smaller
- Single simple language
- Potentially better Windows (Visual Studio) support
What is not done:
- Complete Windows support
- OSX support (easy)
Closes #2013
Closes #1937
Closes #1803
Patrick Griffis [Sat, 10 Jun 2017 20:28:48 +0000 (16:28 -0400)]
Actually respect away_omit_alerts for custom sounds...
Probably should think before merging things.
YuGiOhJCJ [Tue, 6 Jun 2017 18:28:09 +0000 (20:28 +0200)]
Disable custom sounds when away_omit_alerts enabled
Closes #2012
Patrick Griffis [Fri, 12 May 2017 04:49:45 +0000 (00:49 -0400)]
Fix input theming with Adwaita-dark also
culb [Mon, 27 Feb 2017 23:58:22 +0000 (18:58 -0500)]
lua: Prevent loading a script if it's already loaded
Closes #1959
culb [Mon, 27 Feb 2017 17:14:36 +0000 (12:14 -0500)]
lua: Prevent from loading if it's already loaded
Closes #1958
Lance Poore [Fri, 28 Apr 2017 11:44:55 +0000 (07:44 -0400)]
sysinfo: Lower priority of make.conf for distro name
This is used elsewhere other than Gentoo so it is a rather
unreliable check compared to lsb-release.
Patrick Griffis [Fri, 28 Apr 2017 11:38:47 +0000 (07:38 -0400)]
Fix signature of other notification backends
Why isn't this a compiler error in the first place..
Mark Jansen [Wed, 5 Apr 2017 22:10:53 +0000 (00:10 +0200)]
winrt: Show some exceptions
Mark Jansen [Sat, 1 Apr 2017 07:32:35 +0000 (09:32 +0200)]
thememan: Check for portable-mode file in the application directory.
Fixes #1902
Mark Jansen [Mon, 3 Apr 2017 21:10:03 +0000 (23:10 +0200)]
Add editorconfig, describing what indenting style to use.
See http://editorconfig.org/ for more info.
Mark Jansen [Thu, 30 Mar 2017 20:23:35 +0000 (22:23 +0200)]
python: Use HEXCHAT_EAT_XXX where appropriate.
eimmot [Fri, 17 Mar 2017 06:15:50 +0000 (02:15 -0400)]
Fix key exchange
Clients will receive the proper shared secret.
Eliminates error message:
SSL_read: error:
05066064 :Diffie-Hellman routines:compute_key:no private value
Fixes #1974
Pierre Pronchery [Thu, 23 Mar 2017 14:15:22 +0000 (15:15 +0100)]
Fix bashism
From tnn@ of NetBSD.
Shengyu Zhang [Fri, 10 Mar 2017 07:42:46 +0000 (15:42 +0800)]
Fix email address pattern, it can starts with digit
Poke [Sun, 19 Feb 2017 02:51:42 +0000 (18:51 -0800)]
Removed ctrl+w keybinding from close menu. Closes #397.
Patrick Griffis [Sun, 19 Feb 2017 02:42:48 +0000 (21:42 -0500)]
Better handle mode numerics starting with :
These are still awful but until we have a real parser..
Fixes inspircd/inspircd#1295
Patrick Griffis [Sun, 8 Jan 2017 01:50:09 +0000 (20:50 -0500)]
servlist: Use SSL with OFTC by default
They now use Lets Encrypt which should be trusted.
Patrick Griffis [Thu, 5 Jan 2017 22:58:06 +0000 (17:58 -0500)]
Increase default scrollback size to 5k
This is totally reasonable for a modern computer.
Patrick Griffis [Thu, 5 Jan 2017 18:05:55 +0000 (13:05 -0500)]
fishlim: Fix not including config.h
Patrick Griffis [Thu, 5 Jan 2017 17:48:37 +0000 (12:48 -0500)]
build: Fix checking for OpenSSL 1.1 functions
Fixes #1920
Patrick Griffis [Thu, 22 Dec 2016 12:45:20 +0000 (07:45 -0500)]
Tweak shadow in preferences
tomek [Fri, 23 Dec 2016 13:04:32 +0000 (14:04 +0100)]
win32: Update Python to 3.6
Patrick Griffis [Thu, 22 Dec 2016 12:31:55 +0000 (07:31 -0500)]
Use a scrolled window for large preference pages
Closes #1722
Patrick Griffis [Sun, 18 Dec 2016 00:55:06 +0000 (19:55 -0500)]
Don't combine compression with pixdata option for icon resources
This made minimal difference and is not recommended by upstream.
It also is affected by a regression in the latest gdk-pixbuf release.
https://bugzilla.gnome.org/show_bug.cgi?id=776105
Patrick Griffis [Tue, 13 Dec 2016 22:29:26 +0000 (17:29 -0500)]
Fix building fishlim against libressl also
Also part of #1898
Florian Stinglmayr [Tue, 13 Dec 2016 17:41:43 +0000 (18:41 +0100)]
Use AC_CHECK_FUNCS to find functions not in LibreSSL
LibreSSL might not have all functions of OpenSSL 1.1.0 so use
AC_CHECK_FUNCS to find them first before using them.
Closes #1899
Fixes #1898
tomek [Sat, 10 Dec 2016 14:45:38 +0000 (15:45 +0100)]
Bump version to 2.12.4
Patrick Griffis [Sat, 10 Dec 2016 14:30:51 +0000 (09:30 -0500)]
Bump version to 2.12.4
Patrick Griffis [Sun, 4 Dec 2016 10:02:15 +0000 (05:02 -0500)]
Enable input_filter_beep by default
This just allows for spam.
Patrick Griffis [Sun, 4 Dec 2016 09:44:10 +0000 (04:44 -0500)]
Avoid mixed declaration