Permalink
Switch branches/tags
Commits on Jul 12, 2017
  1. Remove OakPasteboardSelector’s shouldSendAction property

    This was used when the selector also functioned as the standalone pasteboard history UI.
    sorbits committed Jul 12, 2017
  2. Handle the case where pasteboard selector returns “no selection” (-1)

    This is based on a bug report which I have been unable to reproduce, as the pasteboard selector should always have one item selected.
    sorbits committed Jul 12, 2017
  3. Change a few missing unsigned/int → NS[U]Integer

    One API was declared as returning ‘unsigned’ but was actually returning a signed integer.
    sorbits committed Jul 12, 2017
  4. Allow disabling TextMate’s JavaScript API for commands with HTML output

    This is done by setting the ‘disableJavaScriptAPI’ key to ‘true’ in the tmCommand file.
    
    The rationale behind this is that a command like “HTML → Show Preview” is using the HTML output view with user data which should not have access to the special TextMate JavaScript object, for example a user may have a `<script>` tag that loads JavaScript from a CDN, and such script would effectively have shell access to the user’s machine.
    sorbits committed Jul 12, 2017
Commits on Jun 23, 2017
  1. Fix issues with redundant qualified names

    Starting in Clang 5, lookup with nested-class names is stricter (e.g., A::A now specifically refers to the constructor name).
    rdwampler committed Jun 23, 2017
  2. Change `std::vector< std::pair<char const*, char const*> >` to `auto`…

    … (C++17)
    
    C++17 added a non-const overload for std::string::data().
    rdwampler committed Jun 23, 2017
Commits on Jun 9, 2017
Commits on May 31, 2017
  1. Add "Copy As Pathname" to file browser's context menu

    This is implemented as an alternate menu item to "Copy" like in Finder.
    rdwampler committed with sorbits Apr 26, 2017
  2. Resolve ambiguous autolayout issues

    Most of these layout changes are related to the common pattern we used to set constraints for "dividers", where one of the dividers is specified to be connected to both edges of its superview then setting the other dividers' constraints to have equal widths (e.g., @"H:|[divider(==divider2,==divider3)]"). On 10.12, this now appears to result in ambiguous layout. We can resolve it by connecting at least one of the edges for each divider to its superview.
    rdwampler committed with sorbits Apr 12, 2017
  3. Revert "Explicitly cast back to the CGEventFlags typedef"

    This reverts commit 9e4e88c.
    
    CGEventFlags is (correctly) defined in the 10.12 sdk as:
    
       typedef CF_OPTIONS(uint64_t, CGEventFlags)
    rdwampler committed with sorbits Feb 2, 2017
  4. Use the FSRef API directly and delete fsref_t (10.9)

    The textClipping file is saved as a binary plist on 10.11 and 10.12 (I could not verify 10.10) so we can eventually replace the use of FSRef here as well.
    rdwampler committed with sorbits Nov 22, 2016
  5. Introduce OakMoveToTrash and make it accessible only to C++

    This is just a C++ wrapper around the Cocoa API for moving a file to trash.
    rdwampler committed with sorbits Nov 22, 2016
  6. Avoid use of NSRunInformationalAlertPanel (10.9)

    Although this is actually deprecated in 10.10, new APIs are available in 10.9 and it will make addressing deprecation warnings when upgrading to 10.10 easier.
    rdwampler committed with sorbits Nov 22, 2016
  7. Avoid use of NSRunCriticalAlertPanel (10.9)

    Although this is actually deprecated in 10.10, new APIs are available in 10.9 and it will make addressing deprecation warnings when upgrading to 10.10 easier.
    rdwampler committed with sorbits Nov 22, 2016
  8. Avoid use of NSRunAlertPanel (10.9)

    Although this is actually deprecated in 10.10, new APIs are available in 10.9 and it will make addressing deprecation warnings when upgrading to 10.10 easier.
    rdwampler committed with sorbits Nov 22, 2016
  9. Remove `OakShowSheetForWindow` wrapper (10.9)

    Also removed `OakSheetCallbackDelegate` since it's no longer used now.
    rdwampler committed with sorbits Nov 21, 2016
  10. Set minimum OS to 10.9

    rdwampler committed with sorbits Nov 21, 2016
Commits on Mar 10, 2017
  1. Update copyright year to 2017

    sorbits committed Feb 3, 2017