servlistgui: Show invalid nick/user on open
It is possible to have an invalid config from a previous upgrade
Fixes #1715notifications-winrt: Fix all uses of "" to L"".
The API uses Platform::String^. String's constructor takes in char16*.
Fixes #1755Use constant instead of literal.
Forcibly reset iconv converter after every conversion.
Despite what g_convert_with_iconv's docs say, it does not reset the converter on a failed conversion (iconv returns -1).
Fixes #1758This allows us to omit the lagometer timer in the event that it is not enabled, bringing the baseline wake-up rate down to 1Hz from 2Hz, which could bring considerable power savings on mobile devices.
dcc: Disable timeout timer when not in use
This should mean that hexchat never *needs* to wake-up unless prompted by socket activity (assuming that the lag-o-meter is not enabled).
Introduce and use fe_timeout_add_seconds
This should allow the operating system to be a bit more lax about timeouts, allowing more efficient power management.
Apply timeout changes made in preferences dialog
Just involves a bit of refactoring.
cfgfiles: Introduce an after_update callback
This allows individual preferences to take action when their value is changed. Signed-off-by: Ben Gamari <ben@smart-cactus.org>
cfgfiles: Reinitialize timers on net_ping_timeout change
This ensures that changes will take effect without a restart.
Add keybinding for reverse video text
This adds the Ctrl+R keybinding by default to insert \026, the character used for the reverse video text attribute.
fkeys: Change unprintable characters to octal notation
- ^O is \017 - ^B is \002 - ^C is \003 - ^] is \035 - ^_ is \037 - ^V is \026 See ASCII(7) for an octal and hexadecimal table.
dcc: Fix resuming with DCC GET
Fixes #1746 Closes #1747
dbus-client: Fix missing include
Fix "Implicit declaration of function exit" compile error Closes #1770
dcc: Improve handling multiple resumable offers
Multiple offers for the same file are resumable. Attempts to resume more than one of the offers causes the other offers to start a new file. Closes #1764 Fixes #1763
It just duplicates functionality and this fixes: - alert_taskbar chanopt not being respected - tab color being incorrect when highlight print events are eaten
Fix crashes when plugins modify UI during Close Context
This probably doesn't catch them all but setting tab color and printing text at least do not crash in the common case.
build: Add flag to disable stack-protector
This is currently an issue when building in Flatpak
plugin: Fix return value of hexchat_pluginpref_get_int()
On failure it should always return -1, atoi() returns 0.
Fixes #1785This relied on undocumented behavior of hexchat_pluginpref_get_int() that has been fixed recently. -1 is the correct failure value.
I can't really think of a reason this would be needed and since it doesn't do anything, and didn't since xchat, might as well remove it.
dbus-client: Rewrite with GDBus
This is just a direct port and should change no logic
perl: Fixed Windows build with VS2015u3.