Commits on Jan 21, 2015
  1. Handle searching files that end with an incomplete UTF-8 sequence

    Previously this would cause infinite looping as we tried to read more to complete the UTF-8 sequence.
    sorbits committed Jan 21, 2015
  2. Fix bad logic in if statement

    Effectively we would only test if the prefix of a search result was malformed UTF-8, if the search result itself or the suffix was malformed, no error would be shown.
    sorbits committed Jan 21, 2015
  3. Find in folder excerpt would be one byte too short for last line

    Since it was one byte it would throw an exception if the last character on the line was a multi-byte sequence (as we’d create an NSString with malformed/truncated UTF-8).
    sorbits committed Jan 21, 2015
Commits on Jan 19, 2015
  1. Checkin release notes

    sorbits committed Jan 19, 2015
  2. Update script to create release notes

    We now place the GitHub version comparison link in the list of changes rather than in the heading.
    sorbits committed Jan 19, 2015
Commits on Jan 18, 2015
  1. Improve NSEvent decoding for non-Latin key mappings

    If control (⌃) is down and the system gives us a non-ASCII key string then we will disregard it and instead convert the virtual key code to its ANSI character.
    sorbits committed Jan 18, 2015
  2. Remove redundancy

    sorbits committed Jan 18, 2015
Commits on Jan 14, 2015
  1. Update copyright to 2015

    sorbits committed Jan 7, 2015
  2. Allow opening favorites at startup and re-activation

    This is enabled via the ‘showFavoritesInsteadOfUntitled’ defaults key.
    estum committed with sorbits Dec 25, 2014
Commits on Dec 25, 2014
  1. Replace call to cascadeTopLeftFromPoint: with custom code

    The problem is that cascadeTopLeftFromPoint: will change the window frame if the window frame is outside the visible screen rect.
    It would appear that the way this API is supposed to be used is that new windows should be opened using the same frame as an existing, then cascadeTopLeftFromPoint: should be called on the new window, and the result should be passed to setFrameTopLeftPoint:.
    Doing it like this would complicate our code because we currently want the window frame before opening the new window, and when finding the window frame, we check whether or not we should cascade to an existing window, so we would have to pass state around with the proposed new window frame (to indicate whether or not the window should be cascaded after opening it).
    sorbits committed Dec 25, 2014
  2. Don’t go via helper for pthread_setname_np

    This was previously done because the function wasn’t available until 10.7, but since that is (now) our deployment target, there is no need to wrap the call.
    sorbits committed Dec 25, 2014
  3. Remove unused helper function

    sorbits committed Dec 25, 2014
Commits on Dec 17, 2014
  1. Let user know if scm is disabled

    Currently, if the scm disable, we would show it as "Unversion". For clarity let's status that it's disabled.
    rdwampler committed Dec 5, 2014
  2. Use `_externalScopeAttributes` as a fallback to export TM_SCM_NAME

    We set the attribute scopes `attr.scm.*` in two different places in DocumentController; however, we only export TM_SCM_NAME if the scm variables are present. So if `scmStatus` is not enabled, TM_SCM_NAME is never set or exported, but `attr.scm.*` can still be present.
    rdwampler committed Dec 9, 2014
  3. Do not export TM_SCM_BRANCH

    We original exported this for the commit window, which no longer uses it.
    rdwampler committed Dec 9, 2014
  4. Increase content compression resistance from high to required

    The auto-layout debug mechanisms report that our layout is ambiguous, for example if inserting ‘[self.window visualizeConstraints:_myConstraints]’ at the end of showWindow:.
    Closes #1282
    sorbits committed Dec 17, 2014
Commits on Dec 16, 2014
  1. Insert at caret for exit_insert_snippet when input is document

    Previously we would insert “after input” which I don’t think is desired (when input is entire document).
    sorbits committed Dec 16, 2014
Commits on Nov 30, 2014
  1. Avoid taking the address of compound literals

    Clang considers this to be an error, previously we disabled diagnostics for this case, but probably better to adapt our code.
    sorbits committed Nov 30, 2014
  2. Use NSApp’s activateIgnoringOtherApps: instead of SetFrontProcess

    It used to be that using activateIgnoringOtherApps: would bring all windows to front, which was the motivation for using SetFrontProcessWithOptions (supplying it with the kSetFrontProcessFrontWindowOnly option), but during testing (on 10.9) it appears that activateIgnoringOtherApps: brings only main/key window to front.
    sorbits committed Nov 30, 2014
  3. Simplify relaunch code

    sorbits committed Nov 30, 2014
Commits on Nov 29, 2014
  1. Don’t support dispatch queue parameter for runner_t::launch

    We do not use it and starting with the 10.8 SDK, dispatch types are Objective-C objects when building as Objective-C(++), which is a problem for a header that is included from both C(++) and Objective-C(++).
    sorbits committed Nov 29, 2014
  2. Change NSSingleUnderlineStyle → NSUnderlineStyleSingle

    The former is a legacy symbol.
    sorbits committed Nov 29, 2014
  3. Checkin release notes

    sorbits committed Nov 29, 2014