Commit Graph

700 Commits

Author SHA1 Message Date
Jake Kirshner
9f1cec343e Add basic touch-bar support 2017-10-03 21:56:54 +02:00
Allan Odgaard
a0a15caa2a Introduce sdk-compat.h for redeclaring stuff in latest SDK
This is when we are not yet ready to require building with the latest SDK but need to use some of symbols defined there.
2017-09-12 20:43:52 +02:00
Ronald Wampler
44a7e580d9 Update deployment target to 10.9 2017-06-09 15:33:18 +02:00
Ronald Wampler
f3cd0b0797 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.
2017-05-31 21:58:31 +02:00
Ronald Wampler
038acacca9 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.
2017-05-31 21:58:31 +02:00
Ronald Wampler
9feef86b16 Remove workaround for trashItemAtURL:resultingItemURL:error (10.9) 2017-05-31 10:03:41 +02:00
Vadim Shpakovski
2156555057 SyntaxMate: XPC Service for third-party apps 2017-03-10 14:08:22 +07:00
Allan Odgaard
cd9c6b1c3d Use single setting to pair Go’s main and test files as related 2017-03-10 12:22:35 +07:00
Allan Odgaard
ddb7a63074 Update mate’s help text to show mark’s value as optional 2017-03-10 12:22:35 +07:00
Allan Odgaard
76cc25b2a6 Update copyright year to 2017 2017-03-10 12:22:35 +07:00
Allan Odgaard
fe000014fd Don’t save metadata for the COMMIT_EDITMSG file
Git will re-use the file, but with new content, so we do not want to remember caret position or similar.

Previously we recommended setting the git editor to ‘mate -wl1’ but disabling metadata is a better solution.
2017-03-10 12:22:35 +07:00
Allan Odgaard
8785f0e807 Include uninstalled bundles when asking for dependents 2016-12-10 12:43:08 +07:00
Allan Odgaard
cd0773c55f Checkin release notes for 2.0-rc.5 2016-12-07 09:51:38 +07:00
Allan Odgaard
0950fdfc74 Checkin release notes for 2.0-rc.4 2016-12-03 21:43:04 +07:00
Allan Odgaard
6263e7ff54 Checkin release notes for 2.0-rc.1 2016-11-13 11:31:33 +07:00
Allan Odgaard
4e2625189b Remove beta release disclaimer 2016-11-11 22:07:20 +07:00
Allan Odgaard
d2cfbb2227 Remove expiration timer 2016-11-11 22:07:20 +07:00
Allan Odgaard
d05c477ede Copy/paste linker settings from license → TextMate target
This is currently required because linker settings are not merged.
2016-11-06 17:44:26 +07:00
Allan Odgaard
f47f8341fa Keep -dead_strip_dylibs linker setting for the QuickLook target 2016-11-06 16:49:47 +07:00
Allan Odgaard
2f7d55dfb8 Remove use of -rpath build setting
We no longer dynamically load any (custom) libraries or frameworks, so this setting is no longer needed.
2016-11-06 16:49:47 +07:00
Allan Odgaard
f28faeafcb Do not pass bundle items by reference
When executing a bundle item without any default document open, we may first “load” the document, which is done via a callback (for when the document is loaded), and at that time, the bundle item reference has become invalid.
2016-11-04 19:22:39 +07:00
Allan Odgaard
49556fddc4 Do not send initWithSuiteName: to user defaults on 10.8
This method was not available until 10.9. For 10.8 we forego migrating pre-release user defaults.
2016-11-02 23:02:18 +07:00
Allan Odgaard
8c39304e66 Remove ‘scmls’ target since it uses API that no longer exists 2016-11-02 23:02:18 +07:00
René Schwaiger
e8c0488f24 Specify line endings for ABNF grammars
The current [RFC][] document that describes [ABNF][] specifies in
section “2.2. Rule Form”, that ABNF grammars use CRLF (Carriage Return
+ Line Feed) as rule/line separator. We therefore set the default line
ending for the scope `source.abnf` to `"\r\n"`.

[ABNF]: https://en.wikipedia.org/wiki/Augmented_Backus–Naur_form
[RFC]: https://tools.ietf.org/html/rfc5234
2016-11-02 14:57:52 +01:00
mathbunnyru
926f702828 Use CFPropertyListWrite as CFPropertyListWriteToStream is deprecated 2016-10-31 17:30:30 +07:00
Allan Odgaard
2858c3a47c Fix syntax error (presumably allowed by older clang) 2016-10-31 17:30:30 +07:00
Allan Odgaard
efecda7526 Reuse variables already initialized 2016-10-24 02:21:29 +07:00
Allan Odgaard
876c1c324a Checkin release notes for 2.0-beta.12.26 2016-10-24 02:21:28 +07:00
Allan Odgaard
204c735079 Change bundle identifier to com.macromates.TextMate 2016-10-23 00:21:09 +07:00
mathbunnyru
440414f96c Use nullptr in all C++ files instead of NULL
This brings us a bit of extra type safety, for example where an integer is expected, nullptr should be disallowed by the compiler (unlike NULL).
2016-10-22 21:40:14 +07:00
Allan Odgaard
f78a3b2ce4 Use kCFAllocatorDefault instead of NULL 2016-10-22 16:29:19 +07:00
mathbunnyru
0b034f9a9d Use std::string’s compare to avoid searching beyond the prefix length 2016-10-17 10:50:18 +02:00
Allan Odgaard
34db8d64ff Limit public API to the LicenseManager singleton 2016-10-17 10:07:29 +02:00
Allan Odgaard
b4c2476508 Move “add license” window to license framework
Code has been refactored to using a view controller and there are now placeholder strings plus an “Online Shop” button.
2016-10-15 13:07:51 +02:00
Allan Odgaard
ecc13b46c2 Checkin release notes for 2.0-beta.12.23 2016-10-11 13:15:48 +02:00
Allan Odgaard
97e9b8fd1d Migrate legacy volumeSettings to Global.tmProperties 2016-10-11 10:36:49 +02:00
Allan Odgaard
377d84ec94 Add another LEGACY marker 2016-10-11 10:36:49 +02:00
Ronald Wampler
ec9bd3a002 Opt out of automatic window tabbing (10.12) 2016-10-10 22:46:15 +02:00
Allan Odgaard
2feb4a497a Use crash_reporter_info_t’s convenience constructor
Also change most ‘crashInfo’ variable names to just ‘info’ to be consistent.
2016-10-07 22:14:33 +02:00
Allan Odgaard
3ec7b05473 Do not include user’s email in crash reports
Inconveniencing all users with the “TextMate wants to access your contacts” dialog is not worth having the ability to contact users about their crash reports.
2016-10-07 10:02:58 +02:00
Allan Odgaard
8ba7535010 Checkin release notes for 2.0-beta.12.21 2016-10-06 21:43:59 +02:00
Allan Odgaard
fbc2e5cbda Remove unnecessary settings from Default.tmProperties 2016-10-01 09:03:26 +02:00
Allan Odgaard
8b135875bc Use custom type for items in bundle item chooser 2016-09-30 12:47:57 +02:00
Allan Odgaard
a83912489c Require the 10.11 SDK to build TextMate 2016-09-30 12:46:59 +02:00
Allan Odgaard
db6c22bd8c Delegate menu item validation for performBundleItemWithUUIDStringFrom:
We now let the object that handles performBundleItem: validate the menu item.
2016-09-29 09:16:00 +02:00
Allan Odgaard
616309bb5e Remove performBundleItemWithUUIDString:
Instead we call performBundleItemWithUUIDStringFrom: so that there is only one entry point.
2016-09-28 20:56:55 +02:00
Allan Odgaard
24671d0514 Change Check for Updates to Check for Test Builds when holding option 2016-09-27 21:49:32 +02:00
Allan Odgaard
ede6b4b026 Change named parameter completionHandler: to outputHandler:
The handler is only called for commands with output to insert into the text view, hence completionHandler is a misnomer.
2016-09-27 21:29:03 +02:00
Allan Odgaard
e6ed50c107 Introduce kMacClassicThemeUUID since we reference it in multiple places 2016-09-26 11:09:32 +02:00
Allan Odgaard
b5d897315c Add ${«var»:/titlecase} as alias for ${«var»:/capitalize} 2016-09-25 13:08:21 +02:00