|
From: Dietmar Planitzer <dave.pl@...>
Subject: Re: The Panther effect Newsgroups: gmane.comp.macosx.general Date: 2003-10-26 19:28:16 GMT (4 years, 28 weeks, 2 days, 4 hours and 7 minutes ago) On Sunday, October 26, 2003, at 10:06 AM, Scott Stevenson wrote: > > On Oct 25, 2003, at 9:22 PM, The Amazing Llama wrote: > >> Here's my favorite not-too-hyped-but-very-keen-feature so far: >> >> Open a new TextEdit document. Type 'cr' Hit Option-Escape (Or F5, or >> whatever you have complete: bound to). Shazam. > > Looks like that works in any NSTextView/TextField. > Yes, because completion is now a standard feature built into Cocoa's NSTextView class - just like the standard find panel. Consequently it should work in all text views, text fields, search fields and the text entry line of combo boxes. The completion facility gets its information from the spell checker. While we're talking about the not so well known/hidden new Panther features: while digging through the kernel sources i've found a quite amusing new feature built into HFS+. Namely automatic file defragmentation. Everytime an application opens a file for reading, HFS+ checks if the file is fragmented and is less than 20MB in size. If so, it copies the file's contents to a continuous region on the disk and frees up the previously allocated blocks. HFS+ now also supports more efficient file searching. I.e. an application can tell the FS that it should ignore the contents of packages/bundles. Another interesting thing is that the VFS layer now supports file system notifications for some operations. Examples are: free space on a disk has fallen under a certain threshold (50MB for root disks) or a new file system got mounted or unmounted. Hmm, anyone still remember the discussion we had some months ago about how a process which runs out of swap space can screw up the file system ? Looks like Panther should behave more rationally under this circumstance, because the VM will now put a process to sleep if it takes a page fault and the backing store has become too large. Regards, Dietmar Planitzer |
|
|