User:Dart Raiden/Sandbox
Core and libraries
- Issue #4387 отличать Windows 10 от Windows 11)
fixes #4414 (Невозможно открыть контакт, пока он мигает событием "контакт появился в сети") fixes #4423 (Галка про удаление истории для всех по-прежнему взведена по умолчанию) fixes #4433 (Контакты не видны до выхода в сеть) SQLite: update to 3.47.2 libcurl: update to 8.11.1 libtox: update to 0.2.20 fixes #4752 (Update libssh2 to 1.11.1) litehtml update TDLIB update up to the current state fixes #4477 (libsodium: update to 1.0.20) fixes #4486 (User notes copy problem) fixes #4482 (New option: set cloud file creation date = event date) fixes #4498 (Пропало RTF копирование которое работало нормально) fixes #4479 (Если у языкового пакета нет даты изменения, то мы проваливаемся в Новое время) fixes #4514 (При открытой вкладке входящее сообщение и входящий файл ведут себя по-разному) fixes #4522 (В клисте допускается наличие лишь одной односимвольной группы) fixes #4537 (Настройка "Очищать завершенные передачи при закрытии окна" не работает при автоматическом закрытии окна) fixes #4558 (У чата в клисте отсутствует пункт контекстного меню "Файл", если история чата не хранится в базе) fixes #4595 (despite custom icons) fixes #4619 (Highlighting: не работает для сообщений, пришедших пока был в оффлайне, и пришедших от себя самого с другого устройства) fixes #4650 (Окно сообщений: кнопки форматирования текста работают в приватах, но не в групчатах) fixes #4653 (Плагины сообщений: невозможно удалить имя группы чатов) fixes #4660 (Плагин сообщений отсылает в чат мусор вместо форматирования) fixes #4711 (Сделать хэш коммита в диалоге "О программе" кликабельным) fixes #4688 (Плагины сообщений: добавить кнопку "Код") also fixes #4699 (Возможность оформить произвольный текст как цитату) fixes #4739 (Удаление непрочитанного события не снимает мигание в списке контактов) fixes #4751 (Mute:Always blocks popups, sounds & blinking) fixes #4756 (Плагины сообшений: отдать доступность кнопок форматирования полностью на откуп протоколу) fixes #4762 (occasional crash in the core) fixes #4779 (Окно фильтра событий не закрывается автоматически при отключении фильтра горячей клавишей) fixes #4778 (Групчаты: не работает настройка "При открытии окна сообщений подгружать только непрочитанные сообщения") fixes #4895 (Error message when closing Miranda profile password prompt window) fixes #4918 (Не открываются групчаты, когда протокол в оффлайне) fixes #4913 (Возможность исключить контакт/чат из автоскачивания файлов)
Protocols
- Discord
- added support for reading private channels avatars.
- added reply support.
- implemented message removing.
- added cloud files support.
- added reactions support.
- added ability to disable database history for a certain guild (right-click by guild on contact list).
- Issue #812 added "Delete contacts in Miranda when they are deleted from server" option (turn it off if you don't want Miranda to erase the contact and history when the conversation partner removes you from friends).
- Issue #4400 added ability to invite/kick peoples.
- Issue #4403 added "Make group owner" item to the nick list.
- Issue #4405 added ability to login by phone number.
- Issue #4761 added ApiUrl hidden option.
- Issue #4402 changing the chat owner now immediately changes the role icon in the nicklist.
- Issue #4396 adding/removing members to the chat is now immediately reflected in the nicklist.
- Issue #4399 the message log now shows who invited or kicked a chat participant.
- Issue #4388 removed unsupported "Not available" status.
- fixed fake messages appearing when a channel is renamed.
- Issue #724 fixed adding a contact via a friend request from a group chat.
- Issue #4392 fixed history loading from server.
- Issue #4395 fixed crash on nickname change.
- Issue #4397 fixed "Leave channel" contact menu item.
- Issue #4398 fixed display of statuses when the chat window is open at the moment of connection.
- Issue #4407 fixed display of history downloaded from the server in the message log.
- fixed reconnection with KeepStatus.
- Issue #4445 fixed incorrect icon for "Away" contacts.
- Issue #4462 fixed crash if Miranda is closed while guilds are not fully loaded.
- Issue #4476 fixed a bug where Miranda could not see all channels.
- Issue #4524 fixed crash after logging in and out of the server.
- Issue #4921 fixed crash on CDiscordProto::OnCommandChannelDeleted.
- ICQ
- deprecated. ICQ servers are closed. Contacts and history will be automatically converted to the Dummy protocol.
- Jabber
- added XEP-0059: Result Set Management support.
- added XEP-0388: Extensible SASL Profile support.
- added XEP-0480: SASL Upgrade Tasks support.
- added warning that requesting XMPP service address through proxy is not supported.
- Issue #4471 HTTP File Upload no longer stops working when using OMEMO encryption.
- Issue #4533 "software" query now returns Miranda version, not Jabber plugin version.
- Issue #4519 fixed incorrect display of time and date in user information.
- Issue #4534 fixed the non-working contact menu item "Revoke authorization".
- Issue #4546 fixed incorrect contact logout time.
- Issue #4546 fixed broken acceptance of conference invitations.
- Issue #4790 fixed crash on exit.
- Issue #4938 fixed "Add to bookmarks" dialog creation.
- MRA
- deprecated. MRA servers are closed. Contacts and history will be automatically converted to the Dummy protocol.
- SkypeWeb
- Issue #4548 group chat history is now stored in the database.
- Issue #4592 added status messages support.
- added ability to edit messages.
- Issue #4623 added contact "Myself" (Favorites).
- Issue #4625 added reply support.
- added support for bots (Bing, etc)
- fixed auth requests receiving.
- Issue #4461 fixed messages receiving.
- Issue #4464 fixed contact search.
- Issue #4465 outgoing files no longer show up as incoming.
- fixed contact deletion.
- Issue #4542 fixed server history loading.
- Issue #4551 fixed files sending/receiving.
- Issue #4560 fixed protocol hang.
- Issue #4568 fixed protocol hang after sleep mode.
- Issue #4571 fixed redundant notifications about the end of a contact's typing.
- Issue #4575 fixed missing nicknames for some contacts.
- Issue #4621 empty events no longer remain in place of deleted messages.
- Issue #4628 fixed incorrect time for offline messages.
- Issue #4630 fixed message deletion from server.
- Issue #4670 when creating a new group chat, incorrect events no longer arrive.
- Issue #4689 fixed text formatting issues.
- Issue #4857 fixed message when a chat participant is kicked.
- Issue #4960 fixed sockets leak.
- Steam
- added basic group chat support
- added ability to remove chat messages.
- added "Load server history" menu item.
- added mark read support.
- added support for stickers.
- Issue #4811 added "Now playing <game title>" support.
- Issue #4833 added support for [lobbyinvite] BBCode.
- Issue #4800 fixed inability to send/receive messages.
- Issue #4931 Steam Profile Name now handled as in Nick instead of FirstName/LastName.
- Issue #4939 fixed protocol crash when left waiting on 2FA prompt.
- Issue #4962 fixed inability to connect in the current session after rejecting 2FA prompt.
- Telegram
- added reactions processing.
- added bots support (no message log yet supports buttons in the dialog with the bot).
- Issue #4750 added "Include URL preview into message text" option.
- Issue #4769 added popup when receiving an AUTH_KEY_DROP_DUPLICATE error.
- Issue #4772 added UseTestServer hidden option.
- Issue #4775 added receiving video messages ("circles").
- Issue #4875 added support for file upload progress (previously, uploads were immediately marked as complete).
- Issue #4892 added "Bio" to your own userinfo.
- Issue #4893 added birthday info to the userinfo.
- typing notifications from channels and groups are now always ignored.
- Issue #4727 URL previews now contain more useful information.
- Issue #4608 disabled "Delete for everyone" option in Favourites history deletion dialog.
- Issue #4640 disabled "Delete for everyone" option when deleting single message from group chat (server does not allow to choose).
- fixed broken chat topics support.
- fixed handling of chats with more than 100 topics.
- fixed files receiving in chat topics.
- fixed message editing.
- Issue #4415 fixed hang when leaving a channel while the history of this channel is loading.
- Issue #4416 fixed missing IP-addresses in session list.
- Issue #4421 fixed leaving a chat containing topics.
- Issue #4422 fixed the inability to enter a chat found by network search.
- Issue #4641 disabled "delete for everyone" option when trying to delete someone else's message without being a moderator of the group chat.
- Issue #4466 disabled "delete for everyone" option when trying to clear channel history (server does not allow owner to delete all channel history at once).
- Issue #4606 sending a file to a chat is no longer considered a new message.
- Issue #4616 fixed synchronization of read status with the server for group chats.
- Issue #4618 after the first successful login, you can no longer edit your phone number (changing the number linked to your account is not implemented in Miranda).
- Issue #4611 fixed inability to delete your message from the server chat history.
- Issue #4638 "Mute never" chat mode no longer resets when reconnecting.
- Issue #4642 when a new message arrives, the previous unread message is no longer erroneously marked as read.
- Issue #4645 fixed inability to edit incorrect phone number.
- Issue #4646 chat name changes are now reflected in real time without requiring reconnection.
- Issue #4652 deleting a chat with the `"Remove contact from server too"` option disabled no longer results in leaving the chat.
- Issue #4662 fixed tag corruption when sending an URL.
- Issue #4663 fixed sending multiple files.
- Issue #4673 topic changes are now processed in real time and this event is shown in the message log.
- Issue #4674 deleting events no longer prevents new events from being displayed in the message log.
- Issue #4690 "Upload to" contact menu item (from CloudFile plugin) now displayed for offline contacts too.
- Issue #4700 fixed receiving messages containing a quote.
- Issue #4738 if the channel is set to ignore cloud files, then Miranda will not save unnecessary preview images.
- Issue #4744 fixed sending messages containing a quote.
- Issue #4748 fixed the URL parsing issues when URL sent to the private chat.
- Issue #4770 fixed a bug where the forwarded video link was lost.
- Issue #4771 fixed Log out button behaviour.
- Issue #4816 fixed a bug where videos were always sent as a file.
- Issue #4877 channels with topics no longer incorrectly become hidden if no default group is specified in the protocol options.
- Issue #4902 fixed display roles for channels with topics.
- Issue #4907 fixed incorrect tags on double text formatting in outgoing messages.
- Issue #4908 fixed incorrect tags on double text formatting in incoming messages.
- VKontakte
- added OggInAudioMessages hidden option.
- Issue #4817 added "Go to site IM" contact menu item.
- increased max chat title to 100 symbols.
- forwarded messages are now formatted as quotes.
- removed unsupported "search by email" feature.
- Issue #4808 removed "Add message link to messages with attachments" option.
- removed "Server-side delivery confirmation" option.
- Issue #4753 fixed inability to connect.
- Issue #4760 fixed getting video preview.
- fixed owner group chat status.
Plugins
fixes #4513 fixes #4812 (Clist_modern: запрос авторизации не пропадает)
VI: added database encryption mode
CurrencyRates: fix sending the API key to the server (fixes #4425)
fixes #4484 (CyrTranslit)
fixes #4919 (DBChecker is not able to mark telegram events as read)
fixes #4492 (Проблемы с конвертацией не совсем старой БД)
add Mobile/Web Discord client detection Fingerprint: remove ICQ and MRA support
fixes #4386 (Folders: add support for changing "Preview" folder path)
fixes #4458 (IEView: Template Does not apply to Groupchats) fixes #4726 (IEView: remove duplicate "Code" button)
fixes #4696 (MessageState: add Telegram support)
MirLua: more fields for DBEVENTINFO
MsgExport: fix for writing data about offline files + export-related code finally moved to the separate file Msg_Export: remove "Help" button (fixes #4420) fixes #4279 (Msg_Export: некорректно экспортируется история чатов Telegram) fixes #4456 (Msg_Export некорректно меняет формат файла) fixes #4454 (Msg_Export: плагин использует нестандартную переменную %dbpath%) fixes #4474 (Msg_Export: при удалении учётной записи плагин сперва предлагает переименовать файл, а потом удалить)
New_GPG: remove MRA support
fixes #4583 (NewAwaySys: remove ICQ/MRA support)
fixes #4683 (NEN: опция "не показывать вспл. окно, если окно сообщений открыто" не расценивает неактивное или свёрнутое окно как открытое)
fixes #4409 (NewStory: кнопка "Отправить сообщение" в окне истории открывает чат без никлиста) NewStory: ugly reactions visualization, version 0.1 fixes #4427 (NewStory: показывать количество удаляемых событий) fixes #4428 (NewStory: добавить комбинации Shift+Home, Shift+End, Shift+PgUp и Shift+PgDownдля выделения текста в окне истории) fixes #4430 (NewStory: "Копировать" и "Копировать текст" должны разделять события пустой строкой) fixes #4431 (NewStory: в заголовке системной истории отсутствует количество событий) fixes #4432 (NewStory: падение при очистке большой истории) fixes #4429 (NewStory: добавить кнопку для удаления выбранных сообщений) fixes #4440 (NewStory: история проматывается в самый конец при изменении размера окна истории по вертикали) fixes #4373 (NewStory: кнопка Delete не работает после удаления события) fixes #4549 (NewStory: групчаты глючат) fixes #4553 (NewStory: проблема с подсчётом числа событий в истории метаконтакта) fixes #4657 (NewStory: не отображается предпросмотр) fixes #4676 (NewStory: сообщение пропадает после добавления в закладки) fixes #4649 (NewStory: при выделении сообщения из истории (контакта, меты, системной истории или глобального поиска по всей истории) и открытом дереве дат вставать на дату сообщения) fixes #4679 (NewStory: кнопка "Цитата" плагина сообщений цитирует не выбранное событие, а последнее) fixes #4707 (NewStory: при клике на ссылку позиция скроллинга перелетает на начало сообщения) fixes #4657 (NewStory: не отображается предпросмотр) fixes #4695 (Newstory: BBCode тег [img] при заведомо неверной ссылке занимает большое пустое место в окне) fixes #4691 (NewStory: добавить возможность редактировать событие передачи файла) fixes #4718 (NewStory: тэги корёжит, если в описании картинки есть эмодзи) fixes #4724 (NewStory: сообщение с подсветкой не выделяется) fixes #4720 (NewStory: встроить функциональность MessageState) fixes #4733 (NewStory: отметки о прочтении пропадают при переоткрытии окна) fixes #4602 (NewStory: сделать опцию для ограничения максимальной высоты превьюшки изображения) fixes #4610 (NewStory: WebP pictures aren't shown) fixes #4644 (NewStory: added protocol icon for the global history search window) fixes #4624 (GDI leaks in NewStory) NewStory: fix for nicks for auth & system events fixes #4659 (NewStory ведёт себя по-разному с разными плагинами сообщений) fiexs #4796 (NewStory: не отображается прозрачность у смайлов) fixes #4815 (NewStory пытается раскрасить ник в заголовке окна истории) fixes #4802 (NewStory: выделение нескольких сообщений с клавиатуры сломано) fixes #4822 (NS+TabSRMM - глючит редактирование сообщений) fixes #4828 (NewStory: скрыть кнопку "Фильтр") fixes #4827 (NewStory: дерево в истории не перерисовывается на лету) fixes #4888 (NewStory: некорректно работает выделение тегами, если выделяемый текст содержит пустую строку) fixes #4863 (NewStory: отправленные файлы по-разному показываются в табсах и в истории) fixes #4535 (VK: в историю пишется кривая ссылка на отправленный файл) fixes #4564 (VK+NS: история не обновляется при приходе новых сообщений)
fixes #4589 (NewXStatusNotify: удалить поддержку xСтатусов)
fixes #4655 (Notes and Reminders: список напоминаний не реагирует на кнопку Delete) fixes #4776 (Notes & Reminders: добавить больше вариантов повтора напоминания) fixes #4823 (Notes and Reminders: неочевиден интервал повторяющегося напоминания)
fixes #4460 (PluginUpdater пытается проверить обновления снова и снова) fixes #4654 (PluginUpdater: не все выбранные компоненты загружаются) fixes #4883 (PluginUpdater устанавливает не все компоненты)
fixes #4250(PopupPlus: occasional crash) + code cleaning
fixes #4554 (QuickSearch: после скрытия и повторного показа столбца пропадает значок протокола)
fixes #4675 (Не работают кнопки форматирования в StdMsg/Scriver)
fixes #4593 (SecureIM: lost extra icon)
fixes #4563 (SendSS: Crash with Imgur, Image Shack & Upload Pie) fixes #4599 (SendSS: Error Uploading to various platforms)
fixes #4582 (SimpleStatusMsg: remove ICQ/MRA support)
fixes #4497 (Spamotron: прекратить поддержку или доработать)
fixes #4692 (SpellChecker to use the native Windows speller if present)
fixes #4612 (KeepStatus: "Check connection" setting should be enabled by default) + some code cleaning fixes #4896 (Status manager: пытается ставить протоколам неправильные статусы, "для внутреннего пользования")
for #4659 - more reasonable Esc key behavior in StdMsg fixes #4743 (StdMsg, Scriver: при отправке сообщения кнопки форматирования не "отжимаются") fixes #4758 (StdMsg/Scriver: добавить кнопку "зачеркнутый текст") fixes #3091 (StdMsg/Scriver: Get rid of all hardcoded hotkeys)
fixes #4493 (StdUserInfo: невозможно закрыть окно,если плагин выгружен)
fixes #3679 (StopSpam: Jabber message query overflow)
fixes #4581 (StopSpamMod: remove ICQ/MRA support)
fixes #4617 (Подсветка (highlight) не срабатывает на ответы (reply)) fixes #4651 (NewStory+tabSRMM: Форматирование текста по-разному работает в приватах и чатах) fixes #4672 (Highlighting: При автооткрытии вкладки в табсах по обнаружению хайлайтнутых сообщений в групчате открывается не то) NS: added parsing of [color=] BBCode fixes #4687 (TabSRMM: при автооткрытии новой вкладки что-то не то с размерами окна) fixes #4686 (tabSRMM: group chat windows to use the same activation options like the private chats do) fixes #4667 (tabSRMM+NewStory: при выделении сообщения с форматированием пропадают кнопки тулбара) fixes #4672 (Highlighting: При автооткрытии вкладки в табсах по обнаружению хайлайтнутых сообщений в групчате открывается не то) fixes #4694 (TabSRMM: сделать иконки форматирования в тулбаре протоколозависимыми) fixes #4757 (tabSRMM: Кнопка "зачёркнутый текст" не отключается) fixes #4600 (tabSRMM: muted chats shall not create windows automatically) fixes #4773 (tabSRMM: невозможно открыть чат, если у него выставлено Mute:Always) more for #4600 - an option to apply tab creation rules for private chats to group chats fixes #4791 (tabSRMM: fix for copy+paste issue) fixes #4809 (tabSRMM: make CTRL+UP / CTRL-DOWN combination optional) fixes #4870 (tabSRMM: встроенный журнал в групчатах съедает первую букву после квадратной скобки) fixes #4917 (tabSRMM: включённая опция "автоматический размер поля ввода" приводит к некорректному положению курсора после вставки) fixes #4914 (tabSRMM: запоминать неотправленный текст при навигации по истории в поле ввода) fixes #4954 (tabSRMM: "Вставить и отправить" работает только для текста)
fixes #2870 (Tipper: при запуске Миранды под курсором возникает подсказка, словно курсор наведен на значок в трее) fixes #4586 (Tipper: remove ICQ/MRA support)
fixes #4494 (UInfoEx: падение при выгрузке) fixes #4507 (UInfoEx: импорт группы вызывает экспорт) fixes #4508 (UinfoEx: проблема в диалоге экспорта) fixes #4509 (UinfoEx: проблема в диалоге экспорта контакта) fixes #4510 (UInfoEx: падение при экспорте контакта mRadio или погоды) fixes #4532 (UInfoEx: зависание после вгружения на лету) fixes #4480 (UInfoEX: Unable to set birthdays) fixes #4585 (UInfoEx: remove ICQ/MRA support)
fixes #4527 (Weather: падение при вводе строки с пробелами) fixes #4529 (Weather: не работает кнопка "Ещё...") fixes #4530 (Weaher: недоступна кнопка "Обновить" в информации о пользователе) fixes #4836 (Weather: невозможно удалить контакт из списка контактов) fixes #1508 (Port Weather from .ini to API) fixes #4841 (Weather: некорректно работает опция "Цвета Windows" в настройках вспл. окон) fixes #4842 (Weather: радиобатон "Длительность" может одновременно находиться в двух состояниях) fixes #4844 (Weather: настройка "Обновлять погоду при запуске Miranda NG" не работает) fixes #4850 (Weather: по умолчанию единица температуры должна быть градусом, а не пустой) fixes #4943 (Weather: не хватает дат или, хотя бы, названий дней недели у 5-дневного прогноза) fixes #4942 (Weather: фрейм пропадает после перезапуска)
fixes #4591 (WhenWasIt: remove micqBirthday support)
For developers
TimeZone_ToStringT - obsolete macro removed ME_DB_EVENT_SETJSON - separate event fired when only the JSON part of event is changed DbEvent_GetTextA: unused function removed Clist_GroupDelete: bool bSilent parameter added not to ask stupid questions Utils_GenerateUUID - a helper for UUID generation NETLIBBIND to be able to open UDP external ports Netlib_DownloadFile not to create an empty file if smth going wrong useful class moved to m_utils.h SESSION_INFO::pStatuses: old & obsolete linked list died DBEVENTINFO::timestamp to become 64-bit integer SmileyAdd: added SMADD_SELECTSMILEY::szProto field for #4615
List of Miranda services
Actman
CreateServiceFunction(MS_ACT_FREELIST ,@ActFreeList);
CreateServiceFunction(MS_ACT_GETLIST ,@ActGetList);
CreateServiceFunction(MS_ACT_RUNBYID ,@ActRun);
CreateServiceFunction(MS_ACT_RUNBYNAME,@ActRunGroup);
CreateServiceFunction(MS_ACT_RUNPARAMS,@ActRunParam);
CreateServiceFunction(MS_ACT_SELECT ,@ActSelect);
CreateServiceFunction('Utils/OpenURL',@DoOpenUrl);
CreateServiceFunction('Proto/CallContactService', @DoCallContactService);
CreateServiceFunction('Actman/ButtonsBar/AddButton', @DoAddButton);
CreateServiceFunction('CList/SetStatusMode', @DoSetStatus);
Alarms
CreateServiceFunction(MS_ALARMS_ADDALARM, AddAlarmService); CreateServiceFunction(MODULENAME "/ShowHideReminders", ShowHideMenuFunc);
AssocMgr
CreateServiceFunction(MS_ASSOCMGR_ADDNEWFILETYPE, ServiceAddNewFileType); CreateServiceFunction(MS_ASSOCMGR_REMOVEFILETYPE, ServiceRemoveFileType); CreateServiceFunction(MS_ASSOCMGR_ADDNEWURLTYPE, ServiceAddNewUrlType); CreateServiceFunction(MS_ASSOCMGR_REMOVEURLTYPE, ServiceRemoveUrlType);
mir app
CreateServiceFunction(MS_AUTH_SHOWREQUEST, ShowReqWindow); CreateServiceFunction(MS_AUTH_SHOWADDED, ShowAddedWindow);
CreateServiceFunction("Button/GetWindowProc", GetButtonProc);
CreateServiceFunction(mi.pszService, JoinChat); CreateServiceFunction(mi.pszService, LeaveChat); CreateServiceFunction(mi.pszService, MuteChat); "GChat/DblClickEvent"; CreateServiceFunction(MS_CLC_SETINFOTIPHOVERTIME, SetInfoTipHoverTime); CreateServiceFunction(MS_CLC_GETINFOTIPHOVERTIME, GetInfoTipHoverTime); CreateServiceFunction(mi.pszService, MenuItem_DeleteContact); CreateServiceFunction(mi.pszService, MenuItem_RenameContact); CreateServiceFunction(mi.pszService, MenuItem_AddContactToList);
DB/UI/Compact DB/Ini/ImportFile
CreateServiceFunction(MS_FINDADD_FINDADD, FindAddCommand);
CreateServiceFunction(MS_FONT_RELOAD, ReloadFonts);
CreateServiceFunction(MS_COLOUR_RELOAD, ReloadColours);
mi.pszService = "Help/AboutCommand"; mi.pszService = "Help/IndexCommand"; mi.pszService = "Help/WebsiteCommand"; mi.pszService = "Help/BugCommand";
"CLIST/HK/SHOWHIDE"; "CLIST/HK/Opts"; "CLIST/HK/Read";
GG
CreateServiceFunction(GGS_MENUCHOOSE, gg_menuchoose); CreateServiceFunction(GGS_PARSELINK, gg_parselink);
LotusNotify
CreateServiceFunction("LotusNotify/MenuCommand", PluginMenuCommand);
Listeningto
CreateServiceFunction(MS_LISTENINGTO_TTB, TopToolBarClick); CreateServiceFunction(MS_LISTENINGTO_ENABLED, ListeningToEnabled); CreateServiceFunction(MS_LISTENINGTO_ENABLE, EnableListeningTo); CreateServiceFunction(MS_LISTENINGTO_GETTEXTFORMAT, GetTextFormat); CreateServiceFunction(MS_LISTENINGTO_GETPARSEDTEXT, GetParsedFormat); CreateServiceFunction(MS_LISTENINGTO_OVERRIDECONTACTOPTION, GetOverrideContactOption); CreateServiceFunction(MS_LISTENINGTO_GETUNKNOWNTEXT, GetUnknownText); CreateServiceFunction(MS_LISTENINGTO_MAINMENU, MainMenuClicked); CreateServiceFunction(MS_LISTENINGTO_SET_NEW_SONG, SetNewSong); CreateServiceFunction(MS_LISTENINGTO_HOTKEYS_ENABLE, HotkeysEnable); CreateServiceFunction(MS_LISTENINGTO_HOTKEYS_DISABLE, HotkeysDisable); CreateServiceFunction(MS_LISTENINGTO_HOTKEYS_TOGGLE, HotkeysToggle);
HistoryLinkList
CreateServiceFunction("Linklist/MenuCommand", LinkList_Main);
Watrack
slastinf:=CreateServiceFunction(MS_WAT_LASTFMINFO,@SrvLastFMInfo); slast:=CreateServiceFunction(MS_WAT_LASTFM,@SrvLastFM);
mir core
CreateServiceFunction(MS_LANGPACK_RELOAD, srvReloadLangpack);
tabsrmm hSvcHotkeyProcessor = CreateServiceFunction(MS_TABMSG_HOTKEYPROCESS, HotkeyProcessor);
mradio
hRadioHotkey:=CreateServiceFunction(MS_RADIO_HOTKEY,@mRadio_Hotkey);
pc:=StrCopyE(@buf,'mRadio/Choose');
srvtraystop:=CreateServiceFunction('mRadio/TrayProto',@TrayProto);srvtrayplaypause:=CreateServiceFunction('mRadio/TrayPlayPause',@TrayPlayPause);
srvtraystop:=CreateServiceFunction('mRadio/TrayStop',@TrayStop);
h++
CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY,@HppShowHistory); CreateServiceFunction(MS_HPP_GETVERSION, @HppGetVersion); CreateServiceFunction(MS_HPP_SHOWGLOBALSEARCH,@HppShowGlobalSearch); CreateServiceFunction(MS_HPP_OPENHISTORYEVENT,@HppOpenHistoryEvent); CreateServiceFunction(MS_HPP_EG_WINDOW,@ExtWindowNative); CreateServiceFunction(MS_HPP_EG_EVENT,@ExtEventNative); CreateServiceFunction(MS_HPP_EG_NAVIGATE,@ExtNavigate);
Change Keyboard Layout
CreateServiceFunction(MS_CKL_CHANGELAYOUT, APIChangeLayout); CreateServiceFunction(MS_CKL_GETLAYOUTOFTEXT, APIGetLayoutOfText); CreateServiceFunction(MS_CKL_CHANGETEXTLAYOUT, APIChangeTextLayout);
NewStory
mi.pszService = MS_HISTORY_SHOWCONTACTHISTORY;
StdUIHist
CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY, UserHistoryCommand);
Avatar History
CreateServiceFunction(MS_AVATARHISTORY_SHOWDIALOG, ShowDialogSvc); CreateServiceFunction(MS_AVATARHISTORY_ENABLED, IsEnabled); CreateServiceFunction(MS_AVATARHISTORY_GET_CACHED_AVATAR, GetCachedAvatar);
Simple status msg
CreateServiceFunction(MS_AWAYMSG_SHOWAWAYMSG, GetMessageCommand); CreateServiceFunction(MS_SIMPLESTATUSMSG_COPYMSG, CopyAwayMsgCommand); CreateServiceFunction(MS_SIMPLESTATUSMSG_GOTOURLMSG, GoToURLMsgCommand);
StdAway
CreateServiceFunction(MS_AWAYMSG_SHOWAWAYMSG, GetMessageCommand);
NewAwaySys
CreateServiceFunction(MS_AWAYSYS_SETCONTACTSTATMSG, SetContactStatMsg); CreateServiceFunction(MS_AWAYSYS_AUTOREPLY_TOGGLE, ToggleSendOnEvent); CreateServiceFunction(MS_AWAYSYS_AUTOREPLY_ON, srvAutoreplyOn); CreateServiceFunction(MS_AWAYSYS_AUTOREPLY_OFF, srvAutoreplyOff); CreateServiceFunction(MS_AWAYSYS_AUTOREPLY_USEDEFAULT, srvAutoreplyUseDefault); CreateServiceFunction(MS_AWAYMSG_GETSTATUSMSGW, GetStatusMsgW);
CreateServiceFunction(MS_NAS_GETSTATEA, GetStateA); CreateServiceFunction(MS_NAS_SETSTATEA, SetStateA); CreateServiceFunction(MS_NAS_GETSTATEW, GetStateW); CreateServiceFunction(MS_NAS_SETSTATEW, SetStateW); CreateServiceFunction(MS_NAS_INVOKESTATUSWINDOW, InvokeStatusWindow);
// and old AwaySysMod service, for compatibility reasons CreateServiceFunction(MS_AWAYSYS_SETSTATUSMODE, SetStatusMode);
// add that funky thingy (just tweaked a bit, was spotted in Miranda's src code)
/ we have to read the status message from contacts too... err
CreateServiceFunction(MS_AWAYMSG_SHOWAWAYMSG, GetContactStatMsg);
CreateServiceFunction(MS_AWAYSYS_FREEVARMEM, srvFreeVarMem);
CreateServiceFunction(MS_AWAYSYS_VARIABLESHANDLER, srvVariablesHandler);
BasicHistory
CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY, ShowContactHistory); CreateServiceFunction(MS_HISTORY_EXECUTE_TASK, ExecuteTaskService);
Boltun
CreateServiceFunction(SERV_CONTACT_AUTO_CHAT, ContactClickAutoChat); CreateServiceFunction(SERV_CONTACT_NOT_TO_CHAT, ContactClickNotToChat); CreateServiceFunction(SERV_CONTACT_START_CHATTING, ContactClickStartChatting);
BossKey
CreateServiceFunction(MS_BOSSKEY_HIDE, BossKeyHideMiranda); // Create service
BuddyExpectator
CreateServiceFunction("BuddyExpectator/actionReturned", ContactReturnedAction); CreateServiceFunction("BuddyExpectator/actionStillAbsent", ContactStillAbsentAction); CreateServiceFunction("BuddyExpectator/actionMissYou", MissYouAction);
CreateServiceFunction("BuddyExpectator/actionMissYouClick", MenuMissYouClick);
StopSpamMod CreateServiceFunction("/RemoveTmp", (MIRANDASERVICE)RemoveTmp);
Toptoolbar CreateServiceFunction(TTBI_SOUNDSONOFF, TTBInternalSoundsOnOff); CreateServiceFunction(TTBI_MAINMENUBUTT, TTBInternalMainMenuButt); CreateServiceFunction(TTBI_STATUSMENUBUTT, TTBInternalStatusMenuButt);
StdClist CreateServiceFunction(MS_CLIST_GETSTATUSMODE, GetStatusMode);
NewGPG dbEventType.iconService = MODULENAME "/GetEventIcon"; dbEventType.textService = MODULENAME "/GetEventText";
mi.pszService = "/LoadPubKey" mi.pszService = "/ToggleEncryption"; mi.pszService = "/SendKey"; mi.pszService = "/ExportGPGKeys"; mi.pszService = "/ImportGPGKeys";
ClientChangeNotify
CreateServiceFunction(MS_CCN_TOGGLEPOPUPS, srvTogglePopups);
Clist blind
CreateServiceFunction("CloseAction", CloseAction);
CreateServiceFunction(MS_CLIST_GETSTATUSMODE, GetStatusMode);
Clist nicer CreateServiceFunction("CloseAction", CloseAction);
CreatCreateServiceFunction("CList/GetContactStatusMsg", GetContactStatusMessage);
CreateServiceFunction("CList/GetContactStatusMsg", GetContactStatusMessage); CreateServiceFunction(MS_CLUI_SHOWMAINMENU, CLN_ShowMainMenu); CreateServiceFunction(MS_CLUI_SHOWSTATUSMENU, CLN_ShowStatusMenu); CreateServiceFunction(MS_CLIST_FRAMES_ADDFRAME, CLUIFramesAddFrame); CreateServiceFunction(MS_CLIST_FRAMES_REMOVEFRAME, CLUIFramesRemoveFrame);
CreateServiceFunction(MS_CLIST_FRAMES_SETFRAMEOPTIONS, CLUIFramesSetFrameOptions); CreateServiceFunction(MS_CLIST_FRAMES_GETFRAMEOPTIONS, CLUIFramesGetFrameOptions); CreateServiceFunction(MS_CLIST_FRAMES_UPDATEFRAME, CLUIFramesUpdateFrame);
CreateServiceFunction(MS_CLIST_FRAMES_SHFRAMETITLEBAR, CLUIFramesShowHideFrameTitleBar); CreateServiceFunction(MS_CLIST_FRAMES_SHOWALLFRAMESTB, CLUIFramesShowAllTitleBars); CreateServiceFunction(MS_CLIST_FRAMES_HIDEALLFRAMESTB, CLUIFramesHideAllTitleBars); CreateServiceFunction(MS_CLIST_FRAMES_SHFRAME, CLUIFramesShowHideFrame); CreateServiceFunction(MS_CLIST_FRAMES_SHOWALLFRAMES, CLUIFramesShowAll);
CreateServiceFunction(MS_CLIST_FRAMES_ULFRAME, CLUIFramesLockUnlockFrame); CreateServiceFunction(MS_CLIST_FRAMES_UCOLLFRAME, CLUIFramesCollapseUnCollapseFrame); CreateServiceFunction(MS_CLIST_FRAMES_SETUNBORDER, CLUIFramesSetUnSetBorder); CreateServiceFunction(MS_CLIST_FRAMES_SETSKINNED, CLUIFramesSetUnSetSkinned);
CreateServiceFunction(CLUIFRAMESSETALIGN, CLUIFramesSetAlign); CreateServiceFunction(CLUIFRAMESMOVEDOWN, CLUIFramesMoveDown); CreateServiceFunction(CLUIFRAMESMOVEUP, CLUIFramesMoveUp);
CreateServiceFunction(CLUIFRAMESSETALIGNALTOP, CLUIFramesSetAlignalTop); CreateServiceFunction(CLUIFRAMESSETALIGNALCLIENT, CLUIFramesSetAlignalClient); CreateServiceFunction(CLUIFRAMESSETALIGNALBOTTOM, CLUIFramesSetAlignalBottom);
CreateServiceFunction("Set_Floating", CLUIFrameSetFloat);
CreateServiceFunction("CLISTMENUSGroup/GroupMenuOnAddService", GroupMenu_OnAddService);
mi.pszService = "CLISTMENUSGroup/CommandHelper";
StdClist CreateServiceFunction("CloseAction", CloseAction);
StatusManager CreateServiceFunction(MS_CS_SETSTATUSEX, SetStatusEx); CreateServiceFunction(MS_CS_GETPROTOCOUNT, GetProtocolCountService); hServices[0] = CreateServiceFunction(MS_KS_STOPRECONNECTING, StopReconnectingService); hServices[1] = CreateServiceFunction(MS_KS_ENABLEPROTOCOL, EnableProtocolService); hServices[2] = CreateServiceFunction(MS_KS_ISPROTOCOLENABLED, IsProtocolEnabledService); hServices[3] = CreateServiceFunction(MS_KS_ANNOUNCESTATUSCHANGE, AnnounceStatusChangeService);
Console CreateServiceFunction(MS_CONSOLE_SHOW_HIDE, ShowHideConsole);
CrashDumper CreateServiceFunction(MS_CRASHDUMPER_STORETOFILE, StoreVersionInfoToFile); CreateServiceFunction(MS_CRASHDUMPER_STORETOCLIP, StoreVersionInfoToClipboard); CreateServiceFunction(MS_CRASHDUMPER_VIEWINFO, ViewVersionInfo); CreateServiceFunction(MS_CRASHDUMPER_GETINFO, GetVersionInfo); CreateServiceFunction(MS_CRASHDUMPER_URL, OpenUrl); CreateServiceFunction(MS_SERVICEMODE_LAUNCH, ServiceModeLaunch);
CSList
mir_snprintf(buf, "CSList/ShowList/%s", protoName);
UInfoEx CreateServiceFunction(MS_USERINFO_REMINDER_LIST, DlgAnniversaryListShow); CreateServiceFunction(MS_USERINFO_SHOWDIALOG, ShowDialog); CreateServiceFunction("UserInfo/AddPage", AddPage);
PluginUpdater CreateServiceFunction(MODULENAME "/ParseUri", ParseUriService); CreateServiceFunction(MS_PU_SHOWLIST, ShowListCommand);
NoHistory CreateServiceFunction(MS_NOHISTORY_TOGGLE, ServiceToggle); CreateServiceFunction(MS_NOHISTORY_CLEAR, ServiceClear);
Popup+ CreateServiceFunction(MS_POPUP_CREATEVFX LPGEN("Square fading"), svcCreateEffect_MyTestEffect);
StdEmail CreateServiceFunction(MS_EMAIL_SENDEMAIL, SendEMailCommand);
MirLua static INT_PTR CreateServiceFunctionEnvParam(void *obj, WPARAM wParam, LPARAM lParam, LPARAM param) HANDLE CMLuaEnvironment::CreateServiceFunction(const char *name, int ref)
iehistory CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY, ShowContactHistoryService);
ieview CreateServiceFunction(MS_IEVIEW_WINDOW, HandleIEWindow); CreateServiceFunction(MS_IEVIEW_EVENT, HandleIEEvent); CreateServiceFunction(MS_IEVIEW_NAVIGATE, HandleIENavigate); CreateServiceFunction("IEView/ReloadOptions", ReloadOptions);
Jabber CreateServiceFunction("Jabber/MenuChoose", JabberMenuChooseService); "Jabber/AddToBookmarks"; "Jabber/TransportLogin"; "Jabber/TransportGetNicks"; "Jabber/RunCommands"; "Jabber/SendNote"; "Jabber/DirectPresenceDummySvc"; abber/ResourceSelectorDummySvc"; "Jabber/UseResource_last"
"Jabber/UseResource_server";
ttb.pszService = "JABBER/*/Groupchat"; ttb.pszService = "JABBER/*/Bookmarks"; ttb.pszService = "JABBER/*/ServiceDiscovery"; mir_snprintf(szService, "%s/AdvStatusSet/%s", m_proto->m_szModuleName, m_name);
CountryFlags
CreateServiceFunction(MS_FLAGS_DETECTCONTACTORIGINCOUNTRY, ServiceDetectContactOriginCountry);
CreateServiceFunction(MS_FLAGS_LOADFLAGICON, ServiceLoadFlagIcon);
CreateServiceFunction(MS_FLAGS_CREATEMERGEDFLAGICON, ServiceCreateMergedFlagIcon);
CreateServiceFunction(MS_FLAGS_IPTOCOUNTRY, ServiceIpToCountry);
StdFile CreateServiceFunction("FtMgr/Show", FtMgrShowCommand);
CreateServiceFunction(MS_PROTO_RECVFILET, Proto_RecvFileT);
CreateServiceFunction(MS_FILE_SENDFILE, SendFileCommand); CreateServiceFunction(MS_FILE_SENDSPECIFICFILES, SendSpecificFiles); CreateServiceFunction(MS_FILE_SENDSPECIFICFILEST, SendSpecificFilesT); CreateServiceFunction(MS_FILE_GETRECEIVEDFILESFOLDER, GetReceivedFilesFolder); CreateServiceFunction("SRFile/RecvFile", RecvFileCommand);
CreateServiceFunction("SRFile/OpenContRecDir", openContRecDir); CreateServiceFunction("SRFile/OpenRecDir", openRecDir);
Fingerprint CreateServiceFunction(MS_FP_SAMECLIENTSW, ServiceSameClientsW); CreateServiceFunction(MS_FP_GETCLIENTDESCRW, ServiceGetClientDescrW); CreateServiceFunction(MS_FP_GETCLIENTICONW, ServiceGetClientIconW);
CurrencyRates
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_EnableDisable);
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_RefreshAll);
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_CurrencyConverter);
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_RefreshContact);
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_OpenLogFile);
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_Chart);
CreateServiceFunction(mi.pszService, CurrencyRatesMenu_EditSettings);
CreateServiceFunction(MS_CURRENCYRATES_EXPORT, CurrencyRates_Export);
CreateServiceFunction(MS_CURRENCYRATES_IMPORT, CurrencyRates_Import);
MyDetails
CreateServiceFunction(MS_MYDETAILS_SHOWFRAME, ShowFrameFunc); CreateServiceFunction(MS_MYDETAILS_HIDEFRAME, HideFrameFunc); CreateServiceFunction(MS_MYDETAILS_SHOWHIDEFRAME, ShowHideFrameFunc);
FTPFile
CreateServiceFunction(MS_FTPFILE_UPLOAD, UploadService); CreateServiceFunction(MS_FTPFILE_SHOWMANAGER, ShowManagerService); CreateServiceFunction(MS_FTPFILE_CONTACTMENU, ContactMenuService); CreateServiceFunction(MS_FTPFILE_MAINMENU, MainMenuService);
Clist modern
CreateServiceFunction("CLISTMENUSGroup/GroupMenuOnAddService", GroupMenuOnAddService);
HTTPServer
hShareNewFileService = CreateServiceFunction(MS_SHARE_NEW_FILE, nShareNewFile); hShowStatisticsViewService = CreateServiceFunction(MS_SHOW_STATISTICS_VIEW, nShowStatisticsView);