summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_transfer.cpp
AgeCommit message (Collapse)Author
2019-07-08fixes #1999 ([Tox] A stuck file transfer causes crash on miranda exit)George Hazan
2019-02-25PROTORECVFILE now uses const char/wchar_t pointers. also fixes #1864 completelyGeorge Hazan
2018-08-30Tox: using timers instead of threadsaunsane
2018-04-03code cleaning: old unions replaced with MAllStrings & MAllStringsArrayGeorge Hazan
2018-03-03Tox: temporary fix for #1153aunsane
2018-03-03Tox: #1156aunsane
- more accurate transfer management - unlockong file on transfer pause - added additional logs - cleanup
2018-02-04Tox: another attempt to fix file lock when transfer goes wrongaunsane
2018-01-31mir_app:George Hazan
- structure renamed: PROTORECVFILET -> PROTORECVFILE; - useless service MS_PROTO_AUTHRECV removed; - Proto_AuthRecv() helper converted into a function.
2018-01-21Tox: attempt to fix locked file when transfer is cancelledaunsane
2017-12-21Tox: improved profile encription managementaunsane
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-13Code modernize ...Goraf
* replace 0/NULL with nullptr [using clang-tidy]
2017-08-21Tox:George Hazan
- fixes #898 (Tox: usability issues); - fixes #893 (Tox: failed to connect to DHT); - massive code cleaning;
2017-04-01Tox: fixed #784aunsane
disabled profile encription to prevent corruption
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