Update dialog plug-ins

This fixes result of menu command which would previously be thrown off by non-selectable items.
Ensure proper ‘isDirectory’ flag for NSURL objects

This is important when we wish to select or edit the URL (in the file browser) as URLs with different values for this flag will not compare as equal, and URL objects created before there is a file on disk will always have this flag set to NO.
Use current indent for lines matching the “ignore” pattern

This is only when explicitly asking TextMate to indent the current line / selection.

Previously these lines would remain at their current indent, this is useful for preprocessor commands, but majority of ignored lines should use current indent. It might be useful to introduce a new pattern for “zero indent” lines.
Re-use file icon image

These are expensive to create and it was noticeable when lots of files matched and the menu had to be created (as it would when the user press a potential menu key like ⌘W).
Add menu validation for Select Next / Previous Tab
Only update Go To Tab on ⌘1-n

It’s expensive to update this menu since we use (uncached) file icons. Always updating it had a noticeable performance effect on caret movement.
Handle ⌥⌘⇠ / ⌥⌘⇢ in main menu subclass

This means they work (as alternatives for ⌘[ / ⌘]) in all windows with tabs.

We now also trigger menu-flashing for when pressing the keys.
Remove “grammar changed” callback

This would cause a crash if grammar changed on disk for a document which was closed but not disposed.
HTML view status bar divider now match the others
Remove unused ‘textColor’ parameter
Use CGColorRef instead of cf::color_t

This is mainly to encapsulate cf::color_t creation in the theme framework, though this code change is at worst a run-time optimization.
Remove commented code
Make encoding “hex view” wider

Since switching to Menlo the lines were being wrapped.
Avoid typecasts
Change cf::color_t → CGColorRef

This change is required to introduce support for different color profiles.
Add cf::to_s for CGColorRef
Use a const reference for gutter colors
Change gutter colors to CGColorRef
Allow theme colors to use the sRGB color profile

This is enabled by adding the following to your theme:

    colorSpaceName = sRGB;

The default color space used for themes is “Apple Generic RGB” which is a bad choice for interoperability with other software (e.g. exporting a theme to CSS, creating theme colors in Photoshop, and similar).

Related to issue #768.
Show colorSpaceName entry in bundle editor

Also add this to the template for new themes (set to sRGB) and a default semantic class.