summaryrefslogtreecommitdiff
path: root/protocols/Discord
AgeCommit message (Collapse)Author
2018-10-03some debug code for #1608George Hazan
2018-10-01centralized system of processing message ids. also fixes #1375George Hazan
2018-10-01Discord to move towards message ids revolution in 0.95.10George Hazan
2018-09-21old crutch removed: error messages to go in UnicodeGeorge Hazan
2018-09-20creepy crutch removed that was adding message ids after the binary zero in ↵George Hazan
message text
2018-09-20fix for the proper return type of PROTO<>::RecvMsgGeorge Hazan
2018-09-03fixes #1570 (Move ICQ and Discord to Protocols section)George Hazan
2018-07-11int hLangpack/m_hLang removed and replaced with HPLUGINGeorge Hazan
2018-07-11GUI change:George Hazan
- methods OnInitDialog, OnApply & OnClose of CDlgBase now return true if successful. return of false prevents a dialog from being loaded or left respectively; - massive code cleaning considering the 'virtual' attribute of overridden methods; - also fixes #1476 (Don't close "Create new account" window if user not set account name)
2018-05-29common version resource extracted to the separate fileGeorge Hazan
own version resource remains only for miranda32.exe, mir_app.dll and pascal plugins
2018-05-28all plugins => CMPlugin virtual functionsGeorge Hazan
2018-05-27comparison of MIRANDA_VERSION_COREVERSION solves the problem of plugins who ↵George Hazan
differ only in a build number
2018-05-27PRODUCTVERSION of any version resource to contain the number of current buildGeorge Hazan
2018-05-27unused variable CHAT_MANAGER *pci removed and replaced with g_chatApiGeorge Hazan
2018-05-23we don't need MirandaPluginInfoEx() anymore. farewell, my lovelyGeorge Hazan
2018-05-22no more need in hLangpack variable *YAHOO*George Hazan
2018-05-22m_chat.h => CMPluginGeorge Hazan
2018-05-22m_genmenu.h unbound from hLangpackGeorge Hazan
2018-05-20options API unbound from hLangpack and switched to CMPluginGeorge Hazan
2018-05-20mir_getLP() call went into CMPluginBase::CMPluginBase, thus it's not needed ↵George Hazan
in each plugin. mir_getLP() remains for compatibility with pascal plugins only
2018-05-20CMPlugin to receive a reference to PLUGININFOEXGeorge Hazan
2018-05-18Icon_Register(g_plugin.getInst() => g_plugin.registerIconGeorge Hazan
Icon_RegisterT(g_plugin.getInst() => g_plugin.registerIconW
2018-05-18hLangpack variable began migration inside CMPluginBaseGeorge Hazan
it remains existing for now, but as reference to g_plugin.m_hLang
2018-05-15cmstub.lib statically linked to any plugin that uses CMPlugin templateGeorge Hazan
2018-05-03mir_forkThread<typename> - stronger typizatioin for thread function parameterGeorge Hazan
2018-04-22OnEvent(EV_PROTO_ONCONTACTDELETED) => PROTO_INTERFACE::OnContactDeletedGeorge Hazan
2018-04-21code cleaning:George Hazan
- in conformance to C++'11 rules, we don't declare a method as virtual if it's declared as override; - cause this code isn't visible in Pascal anymore, there's no need to use __cdecl calling convention for virtual methods; - since PROTO_INTERFACE is a regular C++ class, there's no need to use old style service declarations for virtual methods like OnModulesLoaded / OnShutdown
2018-04-19EV_PROTO_ONOPTIONS removed and replaced with the call of ↵George Hazan
CallObjectEventHook(pa->ppro, ME_OPT_INITIALIZE) this eliminates the possibility of making a mistake in hand-written code also fixes #1280 (Tox: "Confugure" menu item is broken)
2018-04-18core changes:George Hazan
- PROTOCOLDESCRIPTOR's implementation hidden inside mir_app; - Proto_RegisterModule now doesn't need a PROTOCOLDESCRIPTOR structure; - PROTOTYPE_PROTOWITHACCS type added for protos that work with accounts
2018-04-18g_hInstance incapulated into PLUGIN<>, no need in the separate variableGeorge Hazan
2018-04-18PLUGIN<> to half-automatically calculate the dll's g_hInstance and pass it ↵George Hazan
inside
2018-04-18this feature was never used and only causes problemsGeorge Hazan
2018-04-13fixes #1262 ([Discord] Database migration causes duplication of discord ↵George Hazan
contacts)
2018-04-07Proto_GetStatus is used everywhere instead of PS_GETSTATUSGeorge Hazan
2018-03-28PFLAG_UNIQUEIDSETTING removed, its functionality transferred to ↵George Hazan
Proto_SetUniqueId / Proto_GetUniqueId
2018-03-28common protocol instance management code went into templateGeorge Hazan
2018-03-28all protocols rewritten to CMPluginBaseGeorge Hazan
2018-03-23Clist_GroupCreate() to be called inside OnModulesLoaded, not inside the ↵George Hazan
protocol's constructor
2018-03-16entities' names to be started with capital lettersGeorge Hazan
2018-03-16always hated these long expressions: contact_iter makes them much shorterGeorge Hazan
2018-03-15LIST<> iterators:George Hazan
- new method LIST::removeItem added to save a pointer to removed record; - code cleaning related to the fact that LIST::remove() shall be the last operation inside an iterator, because otherwise the reference to it will point to a record next to deleted one; - a few remaining cycles converted to iterators
2018-03-15MUCH more effective way of removing records from iteratorsGeorge Hazan
2018-03-14reverse iterators for LIST<>George Hazan
2018-03-04fixes #1173 (random crash on a fresh Discord account)George Hazan
2018-02-24Discord: remove extra qualification on memberGoraf
2018-02-24guard headersGoraf
2018-02-21Discord: C++'11 iteratorsGeorge Hazan
2018-01-31useless wrappers removed & replaced with PROTO_INTERFACE method callsGeorge Hazan
2018-01-01massive copyright updatedartraiden
2017-12-29PROTO_INTERFACE::setAllContactStatuses - common code moved to the coreGeorge Hazan