summary refs log tree commit diff stats
path: root/src/common/dcc.c
AgeCommit message (Collapse)Author
2018-09-01Fix new stringop-truncation warningsPatrick Griffis
2018-03-09Various fixes for mingwPatrick Griffis
2016-07-20dcc: Improve handling multiple resumable offersDaniel Boland
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
2016-06-30dcc: Introduce dcc_type and dcc_state enumsBen Gamari
Closes #1705
2016-06-30dcc: Fix resuming with DCC GETHubert Terlecki
Fixes #1746 Closes #1747
2016-06-29Introduce and use fe_timeout_add_secondsBen Gamari
This should allow the operating system to be a bit more lax about timeouts, allowing more efficient power management.
2016-06-29dcc: Disable timeout timer when not in useBen Gamari
This should mean that hexchat never *needs* to wake-up unless prompted by socket activity (assuming that the lag-o-meter is not enabled).
2016-06-29Refactor timer handlingBen Gamari
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.
2016-02-18Fix strict prototype warningsPatrick Griffis
2016-01-25Fix leaksPatrick Griffis
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-18Removed CP1255-specific handling of server lines.Arnavion
GLib's API is good enough now.
2015-01-18Removed legacy "IRC" encoding.Arnavion
2014-12-31Don't return 0 in place of NULLTingPing
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-17More consistently include config.hTingPing
2014-12-15Fixed some more signed-unsigned-comparison warnings.Arnavion
2014-12-14Fix use after freeTingPing
2014-12-10Fix typoTingPing
2014-12-08Removed some unnecessary null-checks for calls to g_free and g_strfreevArnavion
2014-12-08Don't leak filename_fs on errors.Arnavion
2014-12-06Always use 64-bit filesize and file offsets in DCC.Arnavion
Based on LRN's commit for replacing stat with GFileInfo https://github.com/hexchat/hexchat/commit/32008bb Fixes #382
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-10-05some Typos causing lintian moaning: {R,r}eciev.. -> {R,r}eceiv..Alf Gaida
2013-07-27Merge pull request #687 from Mikah89/clear_dcc_list_rebasedTingPing
Clear button in dcc download manager
2013-07-17Fixed coding style and clearified some comments, following arnavion suggestionsHelder Martins
2013-07-15Implemented clear functionality for DCC download manager. Created clear ↵Helder Martins
button in DCC downloaded manager interface.
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 supported in all named servermsg: ping, error, notice andDiogo Sousa
authenticate. The only thing left to do for server-time are the numeric messages.
2013-06-28server-time supported in most named messages.Diogo Sousa
2013-05-12Remove dead GLib codeBerke Viktor
2013-01-09Make source cleah with cppcheck, except for mpc and saslRichardHitt
2012-12-23fix incorrect FSF addressDan Mashal
2012-11-05Fix erroneous DCC file names and crash upon abortingArnav Singh
2012-11-03Initial commit for utf8 everywhere.Arnavion
2012-10-30Nah, even more rebrandingBerke Viktor
2012-10-24A lot more rebrandingBerke Viktor
2012-10-24Fix compilation on Unix with GLib 2.24 or olderBerke Viktor
2012-10-24System includes before own includesBerke Viktor
2012-10-22Removed DCC::destfile_fs since it was now the same as DCC::destfile. Fixed ↵Arnav Singh
usage of g_stat to use GStatBuf instead of OS-native struct stat.
2012-10-22Replaced use of OS file I/O functions which expect filenames in system ↵Arnav Singh
codepage with GLib's, since GLib's functions work with UTF-8 and GLib handles converting the filename to system codepage for us.
2012-10-22Build DCC file's path using platform's directory separator instead of always ↵Arnav Singh
using forward slash.
2012-10-22Variable cleanup for the restBerke Viktor
2012-10-22Variable cleanup for irc_*Berke Viktor
2012-10-22Variable cleanup for gui_*Berke Viktor
2012-10-22Variable cleanup for dcc_*Berke Viktor