GrowlHelperApp has a leak?

The Growl forums have moved to Google Groups, this forum is read only.
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Nib wrote:
Enabling and Disabling the Back-Forward List

By default, every WebView object maintains its own back-forward list object. There is some overhead in maintaining this list. If you don't want to use this feature, send a setMaintainsBackForwardList: message to your WebView object as in:

Code: Select all

[webView setMaintainsBackForwardList:NO];
Otherwise, history items, which encapsulate visited page information, are automatically added and removed from the back-forward list as webpages are loaded and displayed in a WebView. If you maintain a back-forward list in your WebView object, then you should add some buttons to your user interface so that users can use this feature.
A good thought, but this is already set to NO.
And this:
Setting the Page Cache

You can use back-forward lists to maintain a page cache too. Because pages in the cache are rendered quickly, using this feature improves the performance of the back-forward action methods. You can turn this feature on or off by setting the cache size using the WebBackForwardList setPageCacheSize: method. If you set the page cache size to 0, the page cache is disabled; otherwise, the size of the cache is limited to the number of pages you specify. The default page cache size may vary depending on your computer’s configuration. Use the pageCacheSize method to get the current setting.

Code: Select all

- (void)setPageCacheSize:(unsigned)size
Interesting idea. It's easy to add this setting; I've uploaded a patch which makes the change to the source code to http://evands.penguinmilitia.net/pagecachesize.diff. I could post a binary for testing, but I thought it'd be a better learning experience for you to get your hands dirty getting the source code, applying a simple patch, and building. Let us know if you run into any brick walls and we'll help!
The duck still burns.
--
My company: Saltatory Software. Check it out :)
Nib
Muffin
Posts: 29
Joined: Wed Dec 14, 2005 12:40 pm
Location: Sweden
Contact:

Post by Nib »

evands wrote:Interesting idea. It's easy to add this setting; I've uploaded a patch which makes the change to the source code to http://evands.penguinmilitia.net/pagecachesize.diff. I could post a binary for testing, but I thought it'd be a better learning experience for you to get your hands dirty getting the source code, applying a simple patch, and building. Let us know if you run into any brick walls and we'll help!
Thanks, I will dive into the code very soon.
Nib
Muffin
Posts: 29
Joined: Wed Dec 14, 2005 12:40 pm
Location: Sweden
Contact:

Post by Nib »

Tried the patch. No luck there. :(
Locked