Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
clear with bit operators
|
|
This may have unintended side-effects but 32 is a very low value
and I was seeing real world bugs being caused by this. Specifically
an ISUPPORT line with more features than this could store.
|
|
Windows builds without plugins can use notification-windows.c, which
uses module_load in its notification_backend_init function.
module_load was previously guarded with a USE_PLUGIN ifdef, but we do
need this function for Windows builds even if plugins are disabled.
This fixes a critical build issue for all Windows builds without
plugins.
|
|
The switch to the meson build system broke plugins on macOS. GNU libtool
builds shared libraries with ".dylib" and shared modules (plugins) with
the extension ".so", but meson is using ".dylib" for both.
Although overriding the name_suffix for shared_module() in meson is
possible, this would be messy for other platforms as there is no way to
query the default. Therefore it seems like we have to go with ".dylib"
for now on macOS.
However, G_MODULE_SUFFIX is defined to ".so", because glib follows what
GNU libtool does. Therefore define a separate preprocessor macro that
has the correct extension.
See: https://github.com/mesonbuild/meson/issues/1160
|
|
Closes #2137
|
|
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
|
|
|
|
- Trivial plugin
- Useful for many users
- Was under a dumb license
|
|
|
|
On failure it should always return -1, atoi() returns 0.
Fixes #1785
|
|
|
|
|
|
This is an API break but it didn't really work
properly before anyway.
Fixes #1666
|
|
|
|
Closes #1265
|
|
This splits notifications up into multiple backends
currently only libnotify on unix and win8 toasts.
The win8 backend was originally written by @leeter
though heavily modified.
|
|
Fixes #869
|
|
These are then used with g_convert_with_iconv instead of making it create a new iconv converter every time for the given from-to-encoding pairs.
|
|
- Handle server lines that contain sequences which are invalid in the server encoding. Previously, these would cause the whole line to be interpreted in ISO-8859-1, but now they're simply replaced with an appropriate replacement character.
- Removed prefs.utf8_locale.
- Change default server encoding from system locale to UTF-8.
- Always populate server->encoding with a non-null value - UTF-8.
Fixes #1198
|
|
|
|
|
|
|
|
- Removes need to check for malloc failure
- Removes need for NULL checks on free
- Adds checks for integer overflows
- Removes some extra memset calls
- Removes chance of mixing libc and glib malloc/free
|
|
|
|
|
|
Based on LRN's commit for replacing stat with GFileInfo https://github.com/hexchat/hexchat/commit/32008bb
Fixes #382
|
|
Fixes #790
|
|
|
|
|
|
Also cleans up some dead code
|
|
|
|
- Cross platform
- Doesn't depend on external tools
|
|
version existed (regular and attrs). Specifically, the priority was not
respected, and both versions were run even when EAT_PLUGIN was returned.
Fixes #847.
|
|
|
|
In flags of get_list('channels')
|
|
|
|
Set max output size to 4096
|
|
|
|
|
|
Fixes possible crash
|
|
|
|
Function names were chosen to keep consistency with the rest of the
API.
|
|
|
|
|
|
when it should. This should close #661.
|
|
|
|
interface. This hooks are similar to hexchat_hook_{server,print}() except the
callback passes an extra argument with the (new) structure hexchat_event_attrs.
This structure contains attributes related to the event; by now it only contains
the server_time_utc member which is non-zero if server-time is enabled and the
server used this extension to pass a timestamp.
See issue #661.
(Note: this hooks are still not called by hexchat in this commit.)
|