Age | Commit message (Collapse) | Author |
|
|
|
This could possibly cause a crash.
On a related note exec_data() and exec_handle_colors() could probably
use a pass cleaning up to ensure they "do the right thing".
|
|
|
|
Possibly fixing #1866
|
|
|
|
Fixup to 241dd69b081
|
|
- Combine the three properties into a single one
- Finally fully fix the handling with plugins handling events
TODO: Look into lastact handling of these, seems wrong
|
|
Part 2 of 03767ee0f9826222
So how the colors work should be pretty straight forward:
- A message comes in and is handled, this sets the state flags:
nick_said, msg_said, new_data. These map to tab colors.
- This state is reset under one of these conditions:
- It is commited to the UI when actually printed on unfocused tab
- Event is interupted by a plugin hook
- The tab focus is changed
|
|
Caused by 03767ee0f98
Fixes #1871
|
|
- Trivial plugin
- Useful for many users
- Was under a dumb license
|
|
|
|
|
|
|
|
|
|
|
|
At least try the untranslated one...
Also while at it don't present a ton of dialogs to the user
about this failure, they wouldn't even know what to do with
that information.
|
|
|
|
|
|
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
|
|
This prevents using invalid chars on Windows or creating directories
|
|
|
|
|
|
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.
|
|
On failure it should always return -1, atoi() returns 0.
Fixes #1785
|
|
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
|
|
|