summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/services.cpp
AgeCommit message (Collapse)Author
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-03-28common protocol instance management code went into templateGeorge Hazan
2018-02-21IRC: C++'11 iteratorsGeorge Hazan
2017-12-27obsolete structure ADDCONTACTSTRUCT, service MS_ADDCONTACT_SHOW and whole ↵George Hazan
m_addcontact.h removed and replaced with Contact_Add* functions
2017-12-06convert all files exept curl and new_gpg to utf-8 BOM (reverted from commit ↵Kirill Volinsky
62202ed10617927d5429bc59898e12a366abe744)
2017-12-06convert all files exept curl and new_gpg to utf-8 BOMKirill Volinsky
2017-11-15IRC: more code cleaningGeorge Hazan
2017-11-15IRC:George Hazan
- octal sequences replaced with hex constants; - code cleaning; - version bump
2017-11-13IRC: code cleaning for some crazy moments related to #1010George Hazan
2017-11-13Code modernize ...Goraf
* replace 0/NULL with nullptr [using clang-tidy]
2017-09-19useless structure GCDEST finally removedGeorge Hazan
2017-09-18unneeded calls of DestroyServiceFunction() removedGeorge Hazan
2017-03-24revolution in chat menusGeorge Hazan
- common code moved to the core (Chat_CreateGCMenu, Chat_DestroyGCMenu); - ability added to any plugin to add its own items into any GC menu, not only to the protocol plugins to do that a plugin calls Chat_AddMenuItems and returns 0 to allow any other plugin to process menu hook
2017-03-10Group chats:George Hazan
- GC_CONTROL_MSG left us forever; - tons of old/unused/useless slack simply wiped out; - new function: CSrmmBaseDialog::ClearLog
2017-03-09- GCSessionInfoBase fields iWidth and iHeight moved to StdMSg;George Hazan
- CHAT_MANAGER methods DoEventHook & DoEventHookAsync removed from CHAT_API; - CSrmmBaseDialog::DoEventHook introduced instead
2016-12-02MS_SYSTEM_* services became functionsGeorge Hazan
2016-11-26fixes #600 (IRC fails to recognize self status change)George Hazan
2016-11-26crash fix for IRC kick/makeop commandsGeorge Hazan
2016-09-21IRC - now all roles are translated (hopefully)George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-19IRC - code cleaningGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-17chats: more functions, less structuresGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17309 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-09-16- chats services replaces with functions;George Hazan
- chat calls switched from CallServiceSync to direct calls everywhere git-svn-id: http://svn.miranda-ng.org/main/trunk@17305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-29no more TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-27less TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-26less TCHARs:George Hazan
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25hello, Unix.George Hazan
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-06-11MRA: change avatars load threads count default value from 4 to 1Rozhuk Ivan
add threads names git-svn-id: http://svn.miranda-ng.org/main/trunk@16948 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-06-05- fix for #1059;George Hazan
- direct unsafe work with icons replaces with Window_SetIcon_IcoLib / Window_SetSkinIcon_IcoLib; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@16917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-04There's identical string in commandmonitor.cpp (except for that space)RMN
git-svn-id: http://svn.miranda-ng.org/main/trunk@16024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-28Optimize EV_PROTO_DBSETTINGSCHANGED functions to not use mir_strcmp() but ↵Robert Pösel
just strcmp() It's not needed to user mir_* for checking null pointers when we're comparing const strings with DBCONTACTWRITESETTING values which should be always initialized correctly. git-svn-id: http://svn.miranda-ng.org/main/trunk@15629 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-04IRC: menu uidAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15190 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-30- fix for the old perversion with manual protocol root calculation;George Hazan
- protocol menu root is always created by the core; - other minor problems with protocol menus in main menu went away git-svn-id: http://svn.miranda-ng.org/main/trunk@14462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-29- unified menu creation using wrapper class CMenuItem;George Hazan
- duplicated hLangpack field removed from TMO_IntMenuItem; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-28finally CLISTEVENT removed completelyGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-27fix for the protocols' menusGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14411 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-27- CLISTMENUITEM::pszContactOwner removed, because it's supported only by ↵George Hazan
contact's menu; - Menu_AddContactMenuItem now receives parameter szProto; - Menu_Add* helpers are converted into real functions; git-svn-id: http://svn.miranda-ng.org/main/trunk@14409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-26YEEHAW! CLISTMENUITEM::pszPopupName also diedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-26next slice of cutting out unused menu features - popupPositionGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-25another portion of dead genmenu servicesGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-23obsoleted constants CMIF_ROOTPOPUP & CMIF_CHILDPOPUP replaced with ↵George Hazan
CMIF_ROOTHANDLE git-svn-id: http://svn.miranda-ng.org/main/trunk@14350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-23- Menu_ConfigureItem replaced MO_SETOPTIONSMENUITEM;George Hazan
- Menu_ConfigureObject replaced MO_SETOPTIONSMENUOBJECT; - TIntMenuObject::hotkey replaced TMenuObject::hotkey git-svn-id: http://svn.miranda-ng.org/main/trunk@14349 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-22- CLISTMENUITEM::cbSize - atavism removed;George Hazan
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 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-06-15MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct function callsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-04new mir_sntprintf templates without SIZEOFGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14004 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 strcpy to mir_strcpyKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c