Permalink
Commits on Sep 15, 2012
  1. @sorbits

    Remove legacy code

    sorbits committed Sep 15, 2012
  2. @sorbits

    Constrain size of splits in main window

    The main window has now moved fully to constraint based layout which makes it a lot easier to tweak the layout and fixes issue #145.
    
    Presently the option to have HTML output on the right is not supported. It will likely be back with a few other options that have been requested.
    
    The width of file browser and height of HTML output view is always read from defaults rather than restored from previous session. Effectively this results in the same behavior except when there are multiple windows with different sizing of these splits. Unsure if per-window sizes should be brought back.
    sorbits committed Sep 15, 2012
  3. @sorbits

    Remove unnecessary include

    sorbits committed Sep 15, 2012
  4. @sorbits

    Remove resize buttons

    Going forward we only allow resizing views by grabbing the dividers.
    sorbits committed Sep 15, 2012
  5. @sorbits

    Auto-layout: Encapsulate tab bar expansion

    With auto-layout the tab bar view can simply invalidate its intrinsic size when it should expand/collapse. This is also done if the global user setting for disabling tab bar collapsing is changed.
    sorbits committed Sep 14, 2012
Commits on Sep 14, 2012
  1. @sorbits

    Ensure builddir doesn’t contain removed files

    If e.g. we rename “image.tiff” → “image.png” then the build files are correctly updated to copy “image.png” to the build directory, but until this commit, the old tiff image would stay in the build directory until manually removing it / cleaning the build directory.
    sorbits committed Sep 14, 2012
  2. @sorbits

    Auto-layout: Update OakDocumentView

    The gutter will invalidate its intrinsic size when its width changes which will cause the Cocoa layout engine to update the layout, so no more explicit code to deal with adjusting the gutter’s width.
    
    Likewise, the height of the gutter (not the gutter scroll view) has been setup to match the height of the text view (again, not the containing scroll view). This avoids observing the text view frame and manually updating gutter height to match it.
    sorbits committed Sep 14, 2012
  3. @sorbits
  4. @sorbits
  5. @sorbits
  6. @sorbits
  7. @sorbits

    Update project properties

    Mainly just rely on default SCM window title.
    sorbits committed Sep 14, 2012
  8. @sorbits

    Include SCM info in default window title

    Ideally I also wanted to include project directory, but since the user’s properties are read after the default ones, and those contain the setup of projectDirectory, this isn’t possible with the current semantics.
    sorbits committed Sep 14, 2012
  9. @sorbits

    Fix typo

    sorbits committed Sep 13, 2012
  10. @sorbits

    Rename property: layout → layers

    This is to avoid a clash with the layout method introduced in 10.7 (and used during auto layout).
    sorbits committed Sep 12, 2012
  11. @sorbits

    Use NSBox to draw gutter divider

    There’s a few subtle advantages of going with a view, mostly theoretical (about minimizing refresh rectangles) but switching to constrained based layout should provide minor code simplifications, since our ancestor view won’t have to deal with the gutter divider rectangle.
    sorbits committed Sep 12, 2012
  12. @sorbits
Commits on Sep 12, 2012
  1. @sorbits

    Add TM_CURRENT_THEME_PATH

    There’s a few commands which want to read settings from the current theme. So far these have been reading the theme UUID from TextMate’s settings and scanned the disk to find the corresponding property list.
    
    This is pretty bad because theme UUID can be set in different ways, themes can be in arbitrary bundles, and the property lists can be in delta format.
    
    The latter is not solved, though we ensure the variable point to the base theme, incase a delta exist. TextMate could simply write a non-delta version of the theme to TMPDIR and let the variable point to that, so we’re not really limiting ourself by adding this variable.
    sorbits committed Sep 12, 2012
  2. @sorbits

    Set TM_APP_IDENTIFIER

    This is for bundles that need to read TextMate’s preferences file (should only be those using a nib with user defaults bindings for their preferences dialog).
    sorbits committed Sep 12, 2012
  3. @sorbits

    Let cf::to_s(NULL) return NULL_STR

    This was previously undefined. We also return NULL_STR when converting the CFString fails.
    sorbits committed Sep 12, 2012
  4. @sorbits

    Enable implicit @synthesize

    I haven’t removed the current use of @synthesize since that results in a build that throws exceptions and crashes.
    sorbits committed Sep 12, 2012
  5. @sorbits
  6. @sorbits

    Change property to read-only

    Since it uses a const reference we can’t synthesize a setter for this.
    sorbits committed Sep 12, 2012
  7. @sorbits
  8. @sorbits
  9. @sorbits
  10. @sorbits

    Add file/folder exclude keys for search and file chooser

    This is just for completeness.
    sorbits committed Sep 11, 2012
  11. @sorbits

    Use glob_list_t in file browser

    This changes the way the include/exclude keys work: A path now *must* be matched by an include key to actually be shown.
    
    The default value of the global include key has been changed to include “*” but if users have edited the value, they will see few or no files in the file browser.
    sorbits committed Sep 11, 2012
  12. @sorbits

    Don’t restore “search hidden folders” setting

    This is only because of upcoming code changes. Wether or not to search hidden folders can be expressed using the glob list, so a dedicated setting is redundant.
    sorbits committed Sep 11, 2012
  13. @sorbits

    Add glob_list_t type

    This can be used to manage a list of accept/reject globs.
    sorbits committed Sep 11, 2012
  14. @sorbits

    Improve glob matching

    1. The * and ** operators will now match a dot if not at the beginning of a path component. E.g. ‘main*’ will match ‘main.cc’.
    2. When negating a glob, the * and ** operators will include dot files. E.g. ‘!cache/**’ will match (reject) ‘cache/.DS_Store’.
    3. The ** operator no longer needs a trailing slash. E.g. ‘src/**.cc’ will match ‘src/main.cc’ and ‘src/sys/util.cc’.
    sorbits committed Sep 11, 2012
Commits on Sep 10, 2012
  1. @sorbits

    Checkin release notes

    sorbits committed Sep 10, 2012
  2. @sorbits

    Use project’s window title settings for untitled documents

    This includes setting up SCM variables and closes issue #298.
    sorbits committed Sep 10, 2012
  3. @sorbits

    Remove UUID from settings API

    Don’t recall what the intent was with this.
    sorbits committed Sep 10, 2012
  4. @sorbits

    When file is renamed, check if a new file takes its place

    Xcode does some weird stuff while saving, it renames the existing file (twice), having it end up in some staging area with a UUID as filename, and then disappear.
    
    Previously TextMate would track these renames, now it waits up to one second for a new file to appear using the old file’s path.
    sorbits committed Sep 10, 2012