summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/chat.cpp
AgeCommit message (Collapse)Author
2016-04-17Facebook: Loading names of all users in multi chat from server (not only ↵Robert Pösel
existing Miranda contacts) It primary iterates over Miranda's contacts list to find existing contacts (e.g. to preserve existing custom names of these contacts). Then for missing ones it does request to server to get their names. git-svn-id: http://svn.miranda-ng.org/main/trunk@16701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Copyrights update part 2Dart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@15985 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-06-25- Set wparam and lParam to 0 as default arg in CallService and others, to ↵Tobias Weimer
simplify some code git-svn-id: http://svn.miranda-ng.org/main/trunk@14384 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-05-25FB json parsing rewritten for new headersGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@13832 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace _tcscmp to mir_tstrcmpKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace strcmp to mir_strcmpKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-29Facebook: Some fixes for sending messages and fix crashes introduced in ↵Robert Pösel
commit r13214; version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@13252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-25Facebook - common projectVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13142 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: More unification for groupchat seen info and save groupchat ↵Robert Pösel
"readers" into database in key "MessageReaders" (Unicode); Version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12315 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-04Facebook: Unify showing "seen info" for groupchats with classic contactsRobert Pösel
This also fixes not showing loaded "seen info" when opening groupchat message window again git-svn-id: http://svn.miranda-ng.org/main/trunk@12313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-15Facebook: Cleanup logging a bit, don't log that much personal info, make it ↵Robert Pösel
much smaller size Remove useless stuff (like cookies or status changes), don't log personal like message texts (there is still some personal info like user name etc.), and some other changes... git-svn-id: http://svn.miranda-ng.org/main/trunk@12118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-06Facebook, Omegle, MobileState: Happy New Year 2015Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@12019 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-14FacebookRM: changed warning lavel to w4Kirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@11420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: More improvements for chatroomsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11194 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Fix sending private message to user in chat, which is not in ↵Robert Pösel
contactlist yet git-svn-id: http://svn.miranda-ng.org/main/trunk@11193 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Some more fixes for chatrooms (notifications and classic)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11192 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01Facebook: Respect chosen website option for newsfeed links (fixes #843)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11190 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-26Facebook: Fix for not notifying notifications in chatroomRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-26Facebook: Real fix for corrupted newsfeeds in chatroomRobert Pösel
Problem was text.str().c_str() because .str() returns temporary object and c_str() pointer to it, so it was probably destructed before really using it in chatroom. git-svn-id: http://svn.miranda-ng.org/main/trunk@11084 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-26Facebook: Various optimizations and cleanupRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-23Facebook: Try to fix concurrent write of notifications to chatroom (I ↵Robert Pösel
thought it's thread safe?) git-svn-id: http://svn.miranda-ng.org/main/trunk@11045 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-20Facebook: Refactor whole groupchat with notificationsRobert Pösel
This fix crash on right-click to notification popup and problem with not working notifications count in statusbar git-svn-id: http://svn.miranda-ng.org/main/trunk@11028 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-19Facebook: Option to log notifications into special chatroom; version bumpRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@11020 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-09-19Facebook: Fix occasional crashRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-11Facebook: Fix various ptrA issues (potential crashes)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-30Facebook: Fix sending and receiving % in chatsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@10001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-15Facebook: Option to not open chats on creatonRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9819 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-15Facebook: Make chat roles translatableRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9813 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-15Facebook: Fix order of rolesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9810 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-15Facebook: First phase of chat refactoringRobert Pösel
- It loads list of users, their "roles" (myself, friend, user) with friend's names - Fixed some memory leak git-svn-id: http://svn.miranda-ng.org/main/trunk@9809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-23Use GCW_PRIVMESS in Facebook and Omegle protocolsRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-21Facebook: Small cleanupRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@9012 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-12another bunch of useless conversions diedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-11"we don't need these variables" (c) Pink FloydGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10these conversions aren't needed eitherGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10HCONTACT is not needed anymoreGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10- HANDLE hContact => HCONTACTGeorge Hazan
- GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-11forgotten to declare two remaining fields as constGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-10GCDEST::pszModule and GCDEST::ptszID must be constantGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7586 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-08- end of ANSI support in chats;George Hazan
- manual crit section control removed from chat engine; - bunch of memory-related clutches either removed or replaced with smart pointers git-svn-id: http://svn.miranda-ng.org/main/trunk@7549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-12-13Facebook: type fixRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@7169 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-17Facebook: use TCHAR* instead of char* on many places (chat related)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-08Facebook: Fixed searching by ID/Login; Don't show "unseen" in chat's statusbarRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-11Facebook: Cleanup also old LOG macroRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-02Facebook: Multi user chat improvementsRobert Pösel
- Load unread messages at login - Mark received messages as read git-svn-id: http://svn.miranda-ng.org/main/trunk@6313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-29Facebook: first experimental implementation of multi user chats (thanks to ↵Robert Pösel
nobodyreal for patch) git-svn-id: http://svn.miranda-ng.org/main/trunk@6273 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-29Facebook: cleanup using ptrA, ptrTRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-08core protocol helpers for creating protocol evengs, services & threadsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c