summary refs log tree commit diff stats
path: root/src/common/text.c
AgeCommit message (Collapse)Author
2015-03-02Fix incorrect timestamp in scrollback with server-timebendem
Fixes #1148
2015-02-28Make use of g_path_is_absolute()TingPing
No reason to roll our own.. in multiple places
2015-02-28Clean up some ifdefsTingPing
Thankfully somebody already made a define for this, they just never used it...
2015-02-27Write scrollback as binary on win32TingPing
Proper fix for b66edd3 This issue likely applies elsewhere in HexChat
2015-01-31Save iconv converters for input and output in the server.Arnavion
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.
2015-01-18Server line text-encoding-related fixes.Arnavion
- 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
2015-01-14Don't crash if the log file can't be opened.Arnavion
Found in #1269
2014-12-31Fix some unused warningsTingPing
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for all allocationsTingPing
- 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
2014-12-15Fixed some more signed-unsigned-comparison warnings.Arnavion
2014-12-11Fix some leaksTingPing
2014-12-08Fixed leak of filename string.Arnavion
2014-12-08Minor tidying upArnavion
2014-12-08Removed some unnecessary null-checks for calls to g_free and g_strfreevArnavion
2014-09-13Use PlaySoundW to play sounds on Windows.Arnavion
Fixes #1133
2014-07-18Use GNUC format attribute on print functionsCampbell Barton
Closes #1059
2014-05-12Add global option to suppress nick change eventsBerke Viktor
Might as well add a per-channel option, too but for me that seems a bit unnecessary. Closes #971
2014-05-11Fix logging incorrect timestamp with server-timeRiamse
Fixes #972
2014-04-21Use utf-8 variant of strftime to format log file paths.Arnavion
strftime assumes the format string is in locale encoding, which mangles log file paths that are in utf-8. Fixes #767 Fixes #945
2014-04-17Fix #928. Fix memory leak, mea culpa.RichardHitt
2014-04-17Fixes #928 again. In scrollback replay, skip every line that starts 0x0d.RichardHitt
2014-04-06Add account to Join eventTingPing
Also reorganizes some logic. The account will usually be NULL unless extended-join capability enabled. Closes #934
2014-03-29Fix scrollback_load to deal with e.g. the output of /HELPRichardHitt
Fixes #928.
2014-03-24Improve handling scrollback when gui_tab_server==FALSERichardHitt
Fixes #925.
2014-02-12Fix some leaksTingPing
2013-11-28Print{,_attr} and server{,_attr} hooks were incorrectly handled when bothDiogo Sousa
version existed (regular and attrs). Specifically, the priority was not respected, and both versions were run even when EAT_PLUGIN was returned. Fixes #847.
2013-11-02Fix invalid timestamps crashing on WindowsTingPing
2013-10-09Fix messages with server-time not showing as new activityDiogo Sousa
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.
2013-09-15Fix logging networks with invalid names on WindowsTingPing
2013-09-07Implement BLOWFISh, AES, and EXTERNAL SASL mechanismsTingPing
Closes #657
2013-08-07Format Channel URLsTingPing
closes #706
2013-07-12Removed outdated comment.Diogo Sousa
2013-07-12Added hexchat_emit_print_attrs() to plugin interface.Diogo Sousa
2013-07-10Indentation fixes and code cleanup.Diogo Sousa
2013-07-09Now hexchat_hook_server_attrs() and hexchat_hook_print_attrs() is calledDiogo Sousa
when it should. This should close #661.
2013-06-28A few messages missing regarding server-time.Diogo Sousa
2013-06-28server-time for all numerical messages.Diogo Sousa
2013-06-28First step towards message tags extension supportDiogo Sousa
(see http://ircv3.atheme.org/specification/message-tags-3.2). In particular this commit implements a (very) dummy implementation sketch of the server-time extension (see http://ircv3.atheme.org/specification/message-tags-3.2 and #499).
2013-06-12Don't open libcanberra connection for every eventTingPing
Closes #645
2013-06-06Add chanopt for stripping colorsTingPing
2013-04-28Store just the filename if the sound file comes from the default sound dirBerke Viktor
And get rid of some hardcoding while we're at it
2013-04-28Fix spacingBerke Viktor
2013-04-27clean up canberra codeTingPing
2013-04-27Use canberra for filesTingPing
2013-04-28Let's just say the wordBerke Viktor
2013-04-27Fix unused variableBerke Viktor
2013-04-27Get rid of bundled beepBerke Viktor
2013-04-27Don't use external players on WindowsBerke Viktor
2013-04-23fix omitting custom soundsTingPing