Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Miranda NG general talk => Topic started by: pepinlebref on 29 03 2014, 10:00:50

Title: Sametime protocol
Post by: pepinlebref on 29 03 2014, 10:00:50
New thread for this brand new plugin available in NG (thx to wsx22)

Post Merge: 29 03 2014, 10:02:46
plugin option is not nice under Win 7-64
Title: Re: Sametime protocol
Post by: Wishmaster on 29 03 2014, 13:54:30
plugin option is not nice under Win 7-64
Its strange, but I dont have that issue, and watcher doesnt have it either (both Windows 7, x86 and x64). Do you have any special windows display settings? What are your DPI settings?
Title: Re: Sametime protocol
Post by: pepinlebref on 29 03 2014, 14:40:03
It seems everything is standard.
Other options display properly...
Title: Re: Sametime protocol
Post by: Wishmaster on 30 03 2014, 08:50:25
It seems everything is standard.
Other options display properly...
I tried to fix it, please check the next build tomorrow.
Title: Re: Sametime protocol
Post by: watcher on 30 03 2014, 12:42:03
And now a new nightly build is uploaded, so you can just update regularly and test it.
Title: Re: Sametime protocol
Post by: pepinlebref on 30 03 2014, 17:12:05
Unfortunately, upgrading both sametime & core to latest don't solve this.
Just for your information, the same "bug" occurs also on the old Miranda (and it is also the only plugin showing this issue)

Post Merge: 31 03 2014, 14:39:05
BTW, the plugin seems to work, except when you are not on the good network (server not reachable) I have a crash...
Title: Re: Sametime protocol
Post by: pepinlebref on 03 04 2014, 19:55:58
More info on the crash: running in VStudio shows a crash of YAPP plugin when he want to show "Sametime - No server connection"
=> could this be a bad call of popup mechanism in this plugin?
Title: Odp: Sametime protocol
Post by: wsx22 on 03 04 2014, 23:08:21
Please attach crash log from crashdumper plugin, use debug symbols (http://wiki.miranda-ng.org/index.php?title=Crash_reports).

Also, add 'Locals' window to your screenschoot of visual studio crash debug
I'm most interested in values of this variables:
Code: [Select]
pdc->pszClassName
arClasses[i]
arClasses[i]->pszName
arClasses[i]->pwszDescription
arClasses[i]->pszDescription

ps
I can't repeat your options display bug in my Win7 x64 too
Title: Re: Sametime protocol
Post by: pepinlebref on 05 04 2014, 17:19:51
Ok, updater today found some update and issue disappeared...
Title: Re: Sametime protocol
Post by: pepinlebref on 15 04 2014, 20:24:23
OK, I think I understood the display dialog issue.
Here is a patch:
Title: Re: Sametime protocol
Post by: Wishmaster on 17 04 2014, 12:54:14
OK, I think I understood the display dialog issue.
Here is a patch:
Did you test it? And could you explain what you changed?
Title: Re: Sametime protocol
Post by: pepinlebref on 17 04 2014, 15:32:29
Yes I could test it with success (see screenshot).
I changed in the resource file the font to use to "MS Shell Dlg" which is what Microsoft calls a "logical font" able to manage different user interfaces.
More info I could find here:
https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDIQFjAA&url=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fwindows%2Fdesktop%2Fdd374112(v%3Dvs.85).aspx&ei=pe5PU-j8Baen0AXoqYHYCQ&usg=AFQjCNEkQ14n2ZsCmY0Q-_doOa4QxxHEhQ&sig2=a4x7aC8yGMpRsVX1jkw5IA&bvm=bv.64764171,d.d2k&cad=rja
Now we can wonder if we should change all other resource files the same way...
Title: Re: Sametime protocol
Post by: Wishmaster on 18 04 2014, 09:39:07
Comitted in r8999 (http://trac.miranda-ng.org/changeset/8999), thanks :)
Title: Re: Sametime protocol
Post by: KPAH on 24 04 2014, 13:53:07
OMG, I can't believe wsx22 finally did it. Thanks!!
However, I tried and it doesn't launch for me.
I got a clean zip from NG downloads page, copied in the 2 dll's from wsx22 site (and the poposed ftp links), downloaded the sametime zip from the plugins section, unpacked it and copied inside. Launched NG, checked for updates.
As soon as I add a Sametime protocol the software immediately hags with "Miranda NG has stopped working". When I relaunch it there is a Sametime account, but the I click it Miranda crashes again. No logs are created.
What am I doing wrong? Also I would like to know if this can be used/ported to Miranda-IM as I have that beautifully set up over the years and don't want to mess with NG quite frankly.
Title: Re: Sametime protocol
Post by: pepinlebref on 24 04 2014, 14:05:38
I use the Beta build and not the stable version, could it be the reason ?
Title: Re: Sametime protocol
Post by: Wishmaster on 24 04 2014, 16:10:01
KPAH, which "2 dll's from wsx22 site (and the poposed ftp links)" ? You can download all plugins from our site.
You have to make sure to use development version of Sametime and Miranda NG from our download page.

You should be able to upgrade to Miranda NG without any mess. Try it on a backup copy of your old profile forst.
Plugins for Miranda NG are totally incompatible with Miranda IM and obviously no one in our team has an interest to backport it. You can ask someone else or do it yourself.
Title: Re: Sametime protocol
Post by: watcher on 24 04 2014, 18:10:58
You should be able to upgrade to Miranda NG without any mess.

From IM first update must be to stable version (0.94.9) and only then to development version.
Title: Odp: Sametime protocol
Post by: wsx22 on 24 04 2014, 23:26:37
sametime.dll plugin for Miranda NG doesn't need any additional dll files now. If you have any from old or IM version in Miranda directory, delete them.
Note that NG version of sametime plugin is only adopted from IM version and still uses same meanwhile library that haven't been updated for years.
It may cause problems with newer versions of sametime servers. In case of problems, crashlog and netlog will be helpful.
Title: Re: Sametime protocol
Post by: KPAH on 25 04 2014, 12:21:13
Wishmaster, ok I got the test build and the protocol from /development section and it work now. Thanks. As of migrating to NG, I'm concerned about themes like blackaero. But not using native IBM client or anything IBM-developed outweighs any themes.

Now I struggle to configure it. Last time I did this was for Miranda IM back in 2009. Where am I supposed to get the ID and Server name and other stuff in LN 8.5 ? Thanks in advance.
Title: Managing 'in meeting' status
Post by: pepinlebref on 27 10 2014, 08:33:23
Hi,
Please find attached a patch proposal to support the Sametime 'in meeting' status.
It is linked with MIR NG 'Occupied' status as planned when first version of the plugin was created.
Any comment is welcome.
Title: Re: Sametime protocol
Post by: wsx22 on 31 10 2014, 18:56:40
ok, I'll check it, but first I must add some fixes in login routine. Could You also add some icon for new status into Sametime\proto_sametime project ?
Title: Re: Sametime protocol
Post by: pepinlebref on 01 11 2014, 09:12:34
Here we go, 5 brand new icons (built from my Lotus install)
Hope this helps.
Title: Re: Sametime protocol
Post by: wsx22 on 13 11 2014, 00:10:51
Patches with new status commited to SVN. @pepinlebref: Thank You for this work.