summaryrefslogtreecommitdiff
path: root/src/modules/protocols/protocols.cpp
AgeCommit message (Collapse)Author
2015-06-13- miranda32.exe now does nothing bug extends PATH to %miranda_root%\libs and ↵George Hazan
loads mir_app.dll; - everything that was in miranda32.exe (including resources) moved to mir_app.dll; - exports from mir_app.dll now available for using directly, without perversions; - src/stdplug.h deleted; git-svn-id: http://svn.miranda-ng.org/main/trunk@14143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-11- more transparent ProtoServiceExists implementation;George Hazan
- ProtoServiceExists moved from mir_core into miranda32.exe; - miranda32.def is used again to define the order of functions precisely; - libraries updated git-svn-id: http://svn.miranda-ng.org/main/trunk@14118 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-01- ProtoCallService() function considered too dangerous and therefore isn't ↵George Hazan
exported anymore, it's closed in the core, CallProtoService() is used instead everywhere; - fixes for some quirks with PS_* calls. git-svn-id: http://svn.miranda-ng.org/main/trunk@13959 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-31- MAllStrings: a handy union to hold an incoming string parameter of any type;George Hazan
- FNAMECHAR: atavism extincted; - PROTOSEARCHRESULT: structure prepared to use results of any type, including utf git-svn-id: http://svn.miranda-ng.org/main/trunk@13932 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-05-22replace strlen to mir_strlenKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13747 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-04-14duplicated macro removedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@12813 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-24UI Utils classes & templates moved to the core, thus allowing any plugin to ↵George Hazan
use them git-svn-id: http://svn.miranda-ng.org/main/trunk@12492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-02-28Core:Tobias Weimer
-Some major and minor issues fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@12280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-01-16MEVENT - the strict type for events, they are not HANDLE anymoreGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-31Year 2015 version updateGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-21- MS_PROTO_ISPROTOCOLLOADED now switched back to protocols instead of accounts;George Hazan
- calls of MS_PROTO_ISPROTOCOLLOADED replaced with ProtoGetAccount() wherever possible git-svn-id: http://svn.miranda-ng.org/main/trunk@11558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-30lstr* replacementsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-10-04code cleaningGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@10694 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-15code cleaningGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@10196 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-08-14account creation code extracted to the separate service function, ↵George Hazan
MS_PROTO_CREATEACCOUNT git-svn-id: http://svn.miranda-ng.org/main/trunk@10181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-03-15crash fixGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8621 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-03-15fix for setting bIsVirtualGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-03-15PROTOACCOUNT::bIsVirtual - new flag to mark virtual protocolsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-27more fun:George Hazan
- MS_AWAYMSG_GETSTATUSMSGW/T is present in any MIID_SRAWAY plugin, so there's no need to check its existence; - therefore MS_AWAYMSG_GETSTATUSMSG considered useless, cause it has no references git-svn-id: http://svn.miranda-ng.org/main/trunk@8293 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-16PS_CHANGEINFO is never called, and therefore exterminatedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8147 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-21minor code cleaningGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-16kernel chat engine, part 2 - scriverGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-02added destructor LIST::~LIST, that calls destroy() automatically.George Hazan
thus manual call of destroy() might be removed from: - class destructors; - Unload() plugin's functions (for global data); - local (auto) variables in functions finalizations git-svn-id: http://svn.miranda-ng.org/main/trunk@7467 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-01copyright update for year 2014George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-10-23VK: fix for outgoing message notificationGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@6604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-25PROTO<>::SendAwayMsg / PSS_AWAYMSG considered unused George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@6229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-24major <s>Asshole</s> design flaw removed from Jabber, there's no need to ↵George Hazan
invent monstrous maps to store message-related information git-svn-id: http://svn.miranda-ng.org/main/trunk@6207 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-24PROTORECVEVENT::pCustomData field added to add user-defined into to incoming ↵George Hazan
messages git-svn-id: http://svn.miranda-ng.org/main/trunk@6206 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-18double ;; removedKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@6125 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-08-07crash fixGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5620 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-08protocol helpers, beginning George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5285 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-21fix for regression in rev. 5010George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5080 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-18fix for a misprintGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5021 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-17ProtoBroadcastAck macro converted into a functionGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@5007 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-16words of wisdom were well receivedGeorge Hazan
now the shortened types are called ptrA, ptrT & ptrW respectively git-svn-id: http://svn.miranda-ng.org/main/trunk@4682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-16shortened typedefs for string buffers:George Hazan
MCBuf -> mir_ptr<char> MTBuf -> mir_ptr<TCHAR> MWBuf -> mir_ptr<WCHAR> git-svn-id: http://svn.miranda-ng.org/main/trunk@4680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-30MS_DB_EVENT_* services remained, but their calls removedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@4255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-17more memory fixesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@4072 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-23- PROTO_INTERFACE::GetIcon removed and replaced with the standard ↵George Hazan
implementation; - PS_LOADICON also replaced with the standard function; - ProtoConstructor() & ProtoDestructor() macroses are introduced to simplify protocols' code; - GetIcon() method implementation removed from all protocols git-svn-id: http://svn.miranda-ng.org/main/trunk@3739 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-21small cleanupKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@3656 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-11core: copyright update to year 2013George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@3549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-11-28- removed borkred clutch for RecvChain;George Hazan
- fixed problems with PROTOTYPE_VIRTUAL registration - restored hMainThreadId variable in miranda32.exe git-svn-id: http://svn.miranda-ng.org/main/trunk@2536 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-11-26virtual protos, invisible in the Account Manager & status bar, but ↵George Hazan
fortunately searchable git-svn-id: http://svn.miranda-ng.org/main/trunk@2515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c