Since my last update to Textmate, I've noticed that it is burning a little under 5% of my CPU (Core Duo MacBook Pro) when I'm doing absolutely nothing. I'm rather sure it didn't do this before.
Anyone else see this, or have an idea what's going on?
TextMate 1.5.4 (1360)
Thanks, Jamie
On 1. Mar 2007, at 22:46, Jamie Orchard-Hays wrote:
Since my last update to Textmate, I've noticed that it is burning a little under 5% of my CPU (Core Duo MacBook Pro) when I'm doing absolutely nothing. I'm rather sure it didn't do this before.
Anyone else see this, or have an idea what's going on?
OMG you are right :/
The problem seems to be with the progress indicators which use tm_dialog (brought up e.g. by Subversion commands). The nib is (probably) never disposed (retain cycle?) and so the window still exists, and so does the animated progress bar, which will keep doing its stuff, even though the window is closed/gone.
I’ll look into it.
Glad I could help! :-D
Jamie
On Mar 1, 2007, at 5:21 PM, Allan Odgaard wrote:
On 1. Mar 2007, at 22:46, Jamie Orchard-Hays wrote:
Since my last update to Textmate, I've noticed that it is burning a little under 5% of my CPU (Core Duo MacBook Pro) when I'm doing absolutely nothing. I'm rather sure it didn't do this before.
Anyone else see this, or have an idea what's going on?
OMG you are right :/
The problem seems to be with the progress indicators which use tm_dialog (brought up e.g. by Subversion commands). The nib is (probably) never disposed (retain cycle?) and so the window still exists, and so does the animated progress bar, which will keep doing its stuff, even though the window is closed/gone.
I’ll look into it.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I posted this to textmate-dev a few days back, but it seems that list is mostly for SVN announcements, so I'm re-posting.
I figured out a way to approximate snippet-power templates: http://henrik.nyh.se/2007/02/27/snippet-power-templates-in-textmate/
It's not perfect, but I think it's pretty cool. Any feedback/improvements is very welcome.
Since the announcement on textmate-dev, the blog post's been updated with a new solution that is quite a lot better.