Age | Commit message (Collapse) | Author |
|
This is some meson bug but this solution works for now.
|
|
For some reason on my system `libpci` is found even though its not
installed...? Plus I forgot a few headers being included.
|
|
|
|
Turns out libpci is an awful library that on any error calls
exit() and has no way of indicating an error otherwise...
|
|
Fixes #2084
|
|
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.
|
|
|
|
|
|
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
|
|
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).
|
|
|
|
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.
|
|
It is common for users to set "foo, bar" and the leading space
has caused issues in the past so lets just ignore that.
|
|
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.
|
|
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.
|
|
* Spelling: SOCKS5
* SOCKS4/5, Byte per second
As per https://en.wikipedia.org/wiki/Data_rate_units
|
|
|
|
Also allow rearranging of "HexChat" in window titles
|
|
|
|
Close #2054
|
|
Closes #2045
|
|
|
|
* Adjust use of ellipses (...) in menus according to Gnome HIG
https://developer.gnome.org/hig/stable/writing-style.html.en
|
|
|
|
Fixes #1999
|
|
/doat #foo/bar/freenode would work for example.
|
|
Previously making a hexchat icon would override all hexchat icons
not just the tray.
Fixes #2017
Closes #2018
|
|
We rely upon the behavior of https://github.com/mesonbuild/meson/commit/11f9425a5e123e7e4bb6296f4453a8e072eb95ed
|
|
Most notably on Win7
|
|
|
|
Don't hardcode platforms but check if things actually link.
This should fix cygwin.
|
|
|
|
There is probably no reason to make this user configurable just
get the correct one at build time...
|
|
Fixes #2014
|
|
|
|
|
|
|
|
|
|
Some distros of perl pass an rpath so we shouldn't ignore it.
Other junk comes with it but oh well.
|
|
|
|
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
|
|
Probably should think before merging things.
|
|
Closes #2012
|
|
|
|
Closes #1959
|
|
Closes #1958
|
|
This is used elsewhere other than Gentoo so it is a rather
unreliable check compared to lsb-release.
|
|
Why isn't this a compiler error in the first place..
|
|
|
|
Fixes #1902
|