Age | Commit message (Collapse) | Author |
|
|
|
|
|
Fixes #2014
|
|
Probably should think before merging things.
|
|
Closes #2012
|
|
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
|
|
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.
|
|
This prevents using invalid chars on Windows or creating directories
|
|
It just duplicates functionality and this fixes:
- alert_taskbar chanopt not being respected
- tab color being incorrect when highlight print events are eaten
|
|
Despite what g_convert_with_iconv's docs say, it does not reset the converter on a failed conversion (iconv returns -1).
Fixes #1758
|
|
|
|
|
|
- Properly use filesystem encoding
- Validate utf8 when loading (hopefully fixing crashes)
- Use Gio
- Handle Windows line endings
- Remove dead code
- Fix respecting max length of scrollback files
|
|
It could contain invalid chars or log to an arbitrary directory
|
|
|
|
|
|
|
|
Fixes #1148
|
|
No reason to roll our own.. in multiple places
|
|
Thankfully somebody already made a define for this, they
just never used it...
|
|
Proper fix for b66edd3
This issue likely applies elsewhere in HexChat
|
|
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
|
|
Found in #1269
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #1133
|
|
Closes #1059
|
|
Might as well add a per-channel option, too but for me that seems a bit unnecessary.
Closes #971
|
|
Fixes #972
|
|
strftime assumes the format string is in locale encoding, which mangles log file paths that are in utf-8.
Fixes #767
Fixes #945
|
|
|
|
|
|
Also reorganizes some logic. The account will usually be NULL unless
extended-join capability enabled.
Closes #934
|
|
Fixes #928.
|
|
Fixes #925.
|
|
|
|
version existed (regular and attrs). Specifically, the priority was not
respected, and both versions were run even when EAT_PLUGIN was returned.
Fixes #847.
|
|
|
|
Added a parameter to fe_print_text() to say that the message does not represent
new activity. This is used when a log from an old session is loaded. This used
to be implicit whenever the timestamp was non-zero, but with server-time this no
longer makes sense.
Fixes issue #746.
|
|
|
|
Closes #657
|