summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_transfer.cpp
AgeCommit message (Collapse)Author
2017-03-15Tox:aunsane
- tox_network.cpp splitted on two logical parts - tox network status checking moved to separated thread - started rejection of toxThread wrapper
2017-03-02Tox: more logs to #720aunsane
2017-02-06Add pubkey log to avatar transfer initiation for debugging.LittleVulpix
This helps in case we get spammed with avatar requests - to see which tox is causing it. example of spam: [06:48:45 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:48:45 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:48:46 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:48:46 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:48:54 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:48:54 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:48:54 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:48:54 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:03 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:03 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:03 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:03 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:12 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:12 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:12 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:12 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:21 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:21 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:21 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:21 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:30 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:30 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:30 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:30 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:39 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:39 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled [06:49:39 1E30] [FoxyToxy] CToxProto::OnFriendFile: incoming avatar (65536) from (0) [06:49:39 1E30] [FoxyToxy] CToxProto::CancelTransfer: Transfer (65536) is canceled
2016-07-29no more TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-27less TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-26less TCHARs:George Hazan
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25hello, Unix.George Hazan
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-05-06Tox: attempt to avoid file lock on transferAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@16807 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-05-04Tox:Alexander Lantsev
- removed own logger - bootstrap splitted into two functions: udp and tcp git-svn-id: http://svn.miranda-ng.org/main/trunk@16801 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-05-03Tox: fixed crush on transfer when loggingAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@16799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-29Tox: fixed crash on logging when transferAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@16792 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-27Tox: extended transfer logsAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@16775 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-04-27Tox:Alexander Lantsev
- attempt to fix avatar hash - some changes with toxThread git-svn-id: http://svn.miranda-ng.org/main/trunk@16773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-08Tox:Alexander Lantsev
- fixed minor issues - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@16059 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-07Tox: fix crash on logoutAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15696 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-14Tox: fixed tox thread managementAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15354 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-10Tox: refactoringAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-10Tox: tox pointers should store in PollingThread to avoid cross thread usingAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-28mir_sntprintf / mir_snprintf: obsoleted second parameter removed wherever ↵George Hazan
possible git-svn-id: http://svn.miranda-ng.org/main/trunk@15064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-12Tox: transfer fixAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@14927 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-19SIZEOF replaced with more secure analog - _countofGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-03Tox: more correct transfer loggingAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13981 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31another bunch of crutches buried in a trash can: PROTOCHAR & PROTOFILEEVENTGeorge Hazan
glory, glory, hallelujah git-svn-id: http://svn.miranda-ng.org/main/trunk@13949 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-31- PROTOCOLDESCRIPTOR_V3_SIZE to identify an ANSI plugin;George Hazan
- absence of fnInitFunc to identify a protocol without instances; - whole bunch of ansi crutches discarded git-svn-id: http://svn.miranda-ng.org/main/trunk@13937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-23mir_tstrncpy <> _tcsncpyGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-23replace _tcsncpy to mir_tstrncpyKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-21war against atavisms continuesGeorge Hazan
- everything that goes to PSS_MESSAGE should be sent as utf8 string; - thus PREF_UNICODE & PREF_UTF support discontinued, these constants are removed; - support for PREF_UNICODE & PREF_UTF in protocols also removed; - PREF_UNICODE used in file transfers (PROTOFILERECVT) replaced with PRFF_UNICODE / PRFF_TCHAR git-svn-id: http://svn.miranda-ng.org/main/trunk@13734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-18Tox:Alexander Lantsev
- fixed bugs from coverity - fixed empty profile loading - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@13687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-16Tox: setting direction flag of transferAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13629 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-16Tox: attempt to fix file resumingAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-15Tox: fixed outgoing transfer visualizationAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13611 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-15Tox:Alexander Lantsev
- temporary disabled multimedia abilities - fixed file sending - fixed avatar changing - updated tox core - version bumb git-svn-id: http://svn.miranda-ng.org/main/trunk@13610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-07Tox: fixed avatar workAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-07Tox: some refactoringAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-06Tox: fast fix for contacts avatar changingAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13472 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-26Tox: common projectAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@13160 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-17Tox: removed unneeded eventAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@12879 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-16Tox:Tobias Weimer
- Fixed memory leaks git-svn-id: http://svn.miranda-ng.org/main/trunk@12869 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-10Tox: cleanupAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@12750 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-10Tox:Alexander Lantsev
- switched to new api - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@12726 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-28Tox:Alexander Lantsev
- added support of tox1 dns resolving - added request/grant items in contact menu - added copy id item in statum menu - code reordering - fixed minor bugs git-svn-id: http://svn.miranda-ng.org/main/trunk@12281 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-24Tox: messages refactoringAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@12261 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-17Tox: fix to simultaneous file transfer to different contactsAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@12171 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-15crash fixGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@12127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-15Tox:Alexander Lantsev
- refactoring - nodes settings in db are ansi now - added work with tox network git-svn-id: http://svn.miranda-ng.org/main/trunk@12124 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-15code cleanupKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@12120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-10Tox:Alexander Lantsev
- added some debug info logging - fix for reading big files git-svn-id: http://svn.miranda-ng.org/main/trunk@12083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-09Tox:Alexander Lantsev
- enabled profile import dialog - added global lock on file sending - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@12071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-04Tox:Alexander Lantsev
- added delay for resending chunk of file - updated tox core - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12003 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-03Tox: rewrited file sendingAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@11998 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c