Age | Commit message (Collapse) | Author |
|
Losely based upon work from PR #1440
Fixes #653
|
|
MAC_OS_X_VERSION_MAX_ALLOWED reflects the currently running OS X version
more closely than MAC_OS_X_VERSION_MIN_REQUIRED, given it's defined as
max(current_version, MAC_OS_X_VERSION_MIN_REQUIRED).
Additionally, we should check if MAC_OS_X_VERSION_10_9 is actually
defined, otherwise the whole macro logic breaks apart.
|
|
When hexchat is already installed into a non-default prefix, a new build
could pick up ${prefix}/include/hexchat-plugin.h from the installed
version instead of the local header, as configuration variables such as
$(GLIB_CFLAGS) would point to -I${prefix}/include.
Reordering the includes and moving -I arguments to CPPFLAGS prevents
this, as it ensures the local directories are always searched first.
This was no problem when compiling for /usr or /usr/local as these
directories in the compiler search path are always searched last.
Closes #1822
|
|
Use the (deprecated) Gestalt functionality for fetching the fine-grained
OS X version number on 10.9 and lower.
The newer NSOperatingSystemVersion structure is only available on
10.10+.
|
|
This prevents using invalid chars on Windows or creating directories
|
|
|
|
|
|
|
|
|
|
This just cleans up the results of git logs
|
|
|
|
This is just a direct port and should change no logic
|
|
Fixes #1759
|
|
|
|
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.
|
|
|
|
|
|
This relied on undocumented behavior of hexchat_pluginpref_get_int()
that has been fixed recently. -1 is the correct failure value.
|
|
On failure it should always return -1, atoi() returns 0.
Fixes #1785
|
|
This is currently an issue when building in Flatpak
|
|
This probably doesn't catch them all but setting tab color
and printing text at least do not crash in the common case.
|
|
|
|
It just duplicates functionality and this fixes:
- alert_taskbar chanopt not being respected
- tab color being incorrect when highlight print events are eaten
|
|
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
|
|
Fix "Implicit declaration of function exit" compile error
Closes #1770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Closes #1705
|
|
Fixes #1746
Closes #1747
|
|
- ^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.
|
|
This adds the Ctrl+R keybinding by default to insert \026, the
character used for the reverse video text attribute.
|
|
This ensures that changes will take effect without a restart.
|
|
This allows individual preferences to take action when their value is
changed.
Signed-off-by: Ben Gamari <ben@smart-cactus.org>
|
|
|
|
|
|
Just involves a bit of refactoring.
|
|
This should allow the operating system to be a bit more lax about
timeouts, allowing more efficient power management.
|
|
This should mean that hexchat never *needs* to wake-up unless prompted
by socket activity (assuming that the lag-o-meter is not enabled).
|
|
This 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.
|
|
Closes #1750
|
|
Despite what g_convert_with_iconv's docs say, it does not reset the converter on a failed conversion (iconv returns -1).
Fixes #1758
|
|
|
|
The API uses Platform::String^. String's constructor takes in char16*.
Fixes #1755
|
|
|
|
|
|
|