summaryrefslogtreecommitdiff
path: root/protocols/Discord
AgeCommit message (Collapse)Author
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
2017-12-11mir_base64_* => parameters type fixGeorge Hazan
2017-12-11parameters unification between JSON & HTTPGeorge Hazan
2017-12-10- remove emails (if author retired - it's useless to write to him; if author ↵dartraiden
is active - users should use GitHub for ticket creation); - also remove AUTHOREMAIL field from structure
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06all rc files reverted to utf-8Kirill Volinsky
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-28Source files converted to utf-8Kirill Volinsky
2017-11-28OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filledGeorge Hazan
2017-11-13Code modernize ...Goraf
* replace 0/NULL with nullptr [using clang-tidy]
2017-11-05More CMake (#1016)Vitaly Svyastyn
* Generate version information before build. * Removed /EHsc from compile options. * CMake files for the rest of protocols. * CMake 64 bit build. * CMake: precompiled headers.
2017-10-24unified version resource with explicitly stated language & code pageGeorge Hazan
2017-10-16the whole idea of customizable colors in chat considered totally uselessGeorge Hazan
2017-09-27fixes #944 ( [Discord] Recent change breaks clist behavior (no longer ↵George Hazan
displaying topics in contact list)
2017-09-27Discord: option to hide guild chats on startupGeorge Hazan
2017-09-25fixes #766 (Discord doesn't support metacontacts)George Hazan
2017-09-22Discord: proper capitalizationdartraiden
2017-09-22fixes #937 (Ability to copy my own Discord ID and contacts ID)George Hazan
2017-09-22Discord: fix for empty guilds after reloginGeorge Hazan