aMule Forum

English => Multiplatform => Mac OSX => Topic started by: gtoso on May 15, 2009, 01:22:35 PM

Title: wxTextCtrl::AppendText Mac Unicode Optimization
Post by: gtoso on May 15, 2009, 01:22:35 PM
Hi,
I see in wiki (http://www.amule.org/wiki/index.php/HowTo_compile_on_Mac#Step_4:_Compile_wxMac) references to this wxMac patch (http://trac.wxwidgets.org/ticket/9012) that has just been applied.

So I think to apply it to the wxMac 2.8.10 that I use to compile aMule, what do you think about it?

The person who wrote in wiki has done so and tell:
"This patch greatly increases performance of wxTextCtrl and prevents aMule from hanging under rapid logging."

EDIT: See also here (http://www.amule.org/amule/index.php?topic=10940.0).
Title: Re: wxTextCtrl::AppendText Mac Unicode Optimization
Post by: PacoBell on May 17, 2009, 10:31:30 AM
Yeah, I wrote that. Works much better for me on Intel Leopard. Still, if you activate ALL the logging options, aMule will still hang :-[ The only way around this for now is to modify aMule to stop logging to the text control completely and 'tail -f' the logfile or something (Console works fine).
Title: Re: wxTextCtrl::AppendText Mac Unicode Optimization
Post by: Stu Redman on May 19, 2009, 11:14:41 PM
It has been applied to the wx 2.8 branch in the wx SVN so you could also use that. (I've compiled the Windows build with SVN for a while too because 2.8.9 was useless there.)