Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Support/Help / Re: Plugin Updater keeps faililng
« Last post by ghazan on 01 06 2025, 17:09:18 »
what is next?
  • how comes that Process Monitor doesn't see any problems with AVS.dll
  • do you use pu_stub.exe? i.e. does Miranda requires escalation to perform updates?
  • does Process Explorer display any handles for AVS.dll?
42
Разработка / Re: Протокол Microsoft Teams
« Last post by ghazan on 01 06 2025, 15:44:50 »
Boris_M,

[2025-06-01 11:13:32 388C] [MS_USER] c:\work\miranda-build\src\mir_app\src\netlib_openconn.cpp 408: getaddrinfo() for host presence.teams.live.com failed
(11004)
[2025-06-01 11:13:32 388C] [MS_USER] c:\work\miranda-build\src\mir_app\src\netlib_openconn.cpp 563: connect() failed (11004)

пока DNS не заработает, счастья не будет
43
Разработка / Re: Протокол Microsoft Teams
« Last post by Boris_M on 01 06 2025, 08:20:23 »
Miranda NG Version: 0.96.7 alpha build #4523 (33a4b26) x64
Build time: 31 мая 2025 г. 15:59:22
¤ Teams.dll v.0.96.6.1 [28 мая 2025 г. 19:58:36] - Teams protocol

Второй день не может соединится...
44
Support/Help / Re: Plugin Updater keeps faililng
« Last post by mirandam on 01 06 2025, 00:32:03 »
Yes, I can move the DLLs when Miranda is running, so what is next?
45
Support/Help / Re: Context menu changed after upgrade, how to edit?
« Last post by dartraiden on 31 05 2025, 14:26:58 »
Now (in the development version), you can see not only the UUID, but also service names

Knowing the name of the service that a menu item is associated with, you can add the same menu item to another menu using the MirLua plugin

Let's add an "Exit Miranda" menu item to the contact list menu. As you can see in menu editor, the "Exit" menu item (from the main menu) is implemented by calling the "CloseAction" service (see screenshot)

Install MirLua plugin and create a simple Lua script inside \Miranda NG\Scripts folder

AddExitMenuItem.lua:
Code: [Select]
local clist = require("m_clist") -- we want to modify contact list menu, so we need to import m_clist Lua module and we will call it "clist"
local icolib = require("m_icolib") -- we want to add an icon to our new menu item, so we need to import m_icolib Lua module and we will call it "icolib"

clist.AddGroupMenuItem({ -- as we want to add group menu item, we should call AddGroupMenuItem function from clist
  Name = "Exit Miranda", -- name of the menu item (will be shown in the groups menu)
  Service = "CloseAction", -- what service calls this menu item (we created this service function above)
  Icon = icolib.AddIcon('exit', 'Exit!'), -- as we want to add icon to our menu item and put it to Customize -> Icons -> MirLua, we should call AddIcon function from icolib
  Uid = '75EA040D-AC0E-40FA-9A3C-878210B0642C' -- unique GUID, you can create one on https://www.uuidgenerator.net/guid. All that is required of it is to be unique among all your scripts
})

Save script and restart Miranda or use "Reload scripts" button in Options -> Services -> MirLua
Congratulations, you have added a new menu item!



Now you can add more menu items

Code: [Select]
clist.AddGroupMenuItem({
  Name = "Main menu",
  Service = "MainMenu/Command",
  Icon = icolib.AddIcon('mainmenu', 'Main menu'),
  Uid = '75EA040D-AC0E-40FA-9A3C-878210B06421'
})
 
clist.AddGroupMenuItem({
  Name = "Status",
  Service = "GlobalStatus/Command",
  Icon = icolib.AddIcon('status', 'Status'),
  Uid = '75EA040D-AC0E-40FA-9A3C-878210B06422'
})
 
 clist.AddGroupMenuItem({
  Name = "Options",
  Service = "Options/OptionsCommand",
  Icon = icolib.AddIcon('options', 'Options'),
  Uid = '75EA040D-AC0E-40FA-9A3C-878210B06423'
})
 
clist.AddGroupMenuItem({
  Name = "About",
  Service = "Help/AboutCommand",
  Icon = icolib.AddIcon('about', 'About Miranda'),
  Uid = '75EA040D-AC0E-40FA-9A3C-878210B06424'
})
 
clist.AddGroupMenuItem({
  Name = "Exit Miranda",
  Service = "CloseAction",
  Icon = icolib.AddIcon('exit', 'Exit!'),
  Uid = '75EA040D-AC0E-40FA-9A3C-878210B06425'
})

Maybe we will implement menu item creation directly in the menu editor in the future.
46
Support/Help / Re: Plugin Updater keeps faililng
« Last post by ghazan on 31 05 2025, 14:10:27 »
aha, finally we've got an error.
so, can you move that Plugins/AVS.dll to another folder, if Miranda is running? I can, for example.
if not, run Process Explorer / System Informer and look for a process which holds this DLL

PS: maybe those DLLs have some parasite attributes like ReadOnly or System?
isn't disk E: write protected?
47
Support/Help / Re: Plugin Updater keeps faililng
« Last post by mirandam on 31 05 2025, 00:36:21 »
hi how?
48
Support/Help / Re: Context menu changed after upgrade, how to edit?
« Last post by laci58 on 30 05 2025, 22:59:15 »
thanks for the info
49
(см. crash20250530123832.txt)
Нужно в настройках выбрать канал обновлений "версия с отладочными символами". Без них крашлог не содержит полезной информации.

Quote
Если в WINE выбрать версию Windows более свежую чем "Windows 2003", то иконки в меню становятся чёрными квадратиками, это неприятно. Хотя остальной функционал вроде был рабочий.
Есть ли в планах решить эту проблему?
Если под всеми поддерживаемыми виндами в Миранде всё нормально, а под вайном нет, очевидно, это проблема вайна и решать её должны разработчики вайна.

На форуме winehq, один из разработчиков выложил исправленную dll-ку которая решает проблему чёрных иконок.
В случае с нанокадом, как я понимаю, был костыль, который со временем стал приводить к пропаданию значков. Это не наш случай, у нас под вайн костылей в коде, вроде, нет. Ещё одно свидетельство того, что проблема в вайне - до какой-то версии вайна в любом вайновском режиме, даже в "Windows 2003", значки были чёрные. Потом они что-то исправили и в "Windows 2003" значки появились. Видимо, не до конца исправили.

P.S. Если владеете русским, можно не дублировать на английском, так уж вышло, что сейчас все разработчики Миранды (не считая тех, которые поддерживают переводы) русскоязычные :)
50
Вчера успешно обновил Miranda, теперь "Информация о версиях" отображается нормально! (см. ver_info.txt)

Bug > Правда теперь, при открытии некоторых бесед, окно беседы делается чёрным и Miranda падает, либо появляется заголовок окна беседы и Miranda зависает, а через некоторое время падает. (см. crash20250530123832.txt)

> Реально Miranda запускается на OpenSUSE 15.6 + WINE 9.0 (Версия Win = Windows 2003).

Связанный с этим вопрос:

Если в WINE выбрать версию Windows более свежую чем "Windows 2003", то иконки в меню становятся чёрными квадратиками, это неприятно. Хотя остальной функционал вроде был рабочий.
Есть ли в планах решить эту проблему?


Сейчас, я пытаюсь настроить NanoCAD 5.1 под WINE и там то-же были проблемы с иконками. На форуме winehq, один из разработчиков выложил исправленную dll-ку которая решает проблему чёрных иконок. Вот как он пояснил причину проблемы:

> YAL 2022-01-10 06:53:49 UTC
  > As nanoCAD developer I've investigated this issue and here is conclusion: Long time ago WINE has a kind of bug in MaskBlt. I've made workaround under sort of "is_WINE" dynamic condition flag, that still persist in nanoCAD5 code (it's bad, I know, but we need to satisfy users at that time). MaskBlt already fixed in WINE and it works now exactly like in Windows, but my workaround caused now such drawing effect.  I've built patched version of nanoCAD5 dll, so you can test it (zip attached).

Возможно, это даст идею?

С уваженем, Пётр.



Yesterday I successfully updated Miranda, now the "Version information" is displayed normally! (see ver_info.txt )

Bug >  However, now, when opening some conversations, the conversation window turns black and Miranda crashes. Or the title of the conversation window appears and Miranda freezes, and after a while it crashes. (see crash20250530123832.txt )

> Miranda actually runs on openSUSE 15.6 + WINE 9.0 (Win version = Windows 2003).

Related question:

If you select a Windows version in WINE that is more recent than "Windows 2003", the icons in the menu become black squares, which is unpleasant. Although the rest of the functionality seemed to be working.
Are there any plans to solve this problem?


Now, I'm trying to set up nanoCAD 5.1 for WINE, and there were problems with icons there too. On the winehq forum, one of the developers posted a fixed dll that solves the problem of black icons. Here's how he explained the cause of the problem:

> YAL 2022-01-10 06:53:49 UTC
 > ...


Perhaps it will be give an idea?


Best regards, Peter.
Pages: 1 ... 3 4 [5] 6 7 ... 10