summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
AgeCommit message (Collapse)Author
2018-08-13fix for FB suddenly going madGeorge 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-26FB: extended timeout valueGeorge Hazan
2018-05-26Facebook:George Hazan
- packet timeout extended to 10 minutes (specially for Karamil Alhady); - persistent connections restored; - this reverts commit bec09dbab4b07281f3da8478618deb9c10aa0a29
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-22new helper for MS_TTB_ADDBUTTONGeorge Hazan
2018-05-22m_chat.h => CMPluginGeorge Hazan
2018-05-22m_genmenu.h unbound from hLangpackGeorge Hazan
2018-05-22Hotkey_Register => CMPlugin::addHotkeyGeorge 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-20sounds packed into CMPlugin (reduces usage of hLangpack)George 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-08code cleaning (using new MS coding style)George Hazan
2018-05-03mir_forkThread<typename> - stronger typizatioin for thread function parameterGeorge Hazan
2018-04-22EV_PROTO_ONMENU removedGeorge 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-17Facebook: unstable server connection makes persistent connections crazyGeorge Hazan
2018-04-17MNonCopyable - the common class to avoid declaring fake private constructorsGeorge Hazan
2018-04-06code cleaningGeorge Hazan
2018-04-05CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayNameGeorge 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-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-08IMGL_WCHAR removed, all paths are in Unicode nowGeorge Hazan
2018-03-07old AdvaImg services converted into Image_* functionsGeorge Hazan
2018-03-02Facebook: unneeded thread removedGeorge Hazan
2018-02-24more nullptrGoraf
2018-02-22Facebook: added support for parsing audio attachment + moved parsing of ↵matej
specific types into lambda functions so there are not duplicities in code (and logic is in one place)
2018-02-21all another C++'11 iteratorsGeorge Hazan
2018-02-09all duplicate "Request auth", "Grant auth" & "Revoke auth" menu items eliminatedGeorge Hazan
2018-02-06Facebook: added parsing for messenger invitationmatej
2018-01-31reverted and modified some changes to make attachments work in active chatmatej