Allan Odgaard
9ec835e903
Remove ‘scmls’ target since it uses API that no longer exists
2016-10-31 22:54:42 +07: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
Allan Odgaard
fea5aef025
Fix typo in help page
2016-09-25 13:08:21 +02:00
Allan Odgaard
df0fbe8630
Preparation for removing document_ptr from DocumentWindowController
2016-09-24 09:00:25 +02:00
Allan Odgaard
e133be01b7
Rename documents property to cppDocuments
...
This is just to make migration easier.
2016-09-24 08:59:31 +02:00
Allan Odgaard
2f9e1d8a69
Remove unnecessary import statements
2016-09-24 08:55:18 +02:00
Allan Odgaard
ffca47a262
More code ported to OakDocument
2016-09-24 08:55:06 +02:00
Allan Odgaard
14110e938c
Let ODB Editor Suite support use OakDocumentController API
2016-09-24 08:33:33 +02:00
Allan Odgaard
774b390b51
Rename ODBEditorSuite.cc to ODBEditorSuite.mm
2016-09-24 08:33:33 +02:00
Allan Odgaard
9e7aa55ac2
Let RMateServer use OakDocumentController API
2016-09-24 08:33:33 +02:00
Allan Odgaard
a07a1746f3
Don’t attempt to install items opened via Open Recent Project
2016-09-24 08:33:32 +02:00
Allan Odgaard
b9e937283a
Checkin release notes for 2.0-beta.12.13
2016-09-21 22:20:39 +02:00
Allan Odgaard
6db5ac8de3
Rename performCloseOtherTabs: to performCloseOtherTabsXYZ:
...
Starting with macOS 10.12 the NSWindow class will swallow this method, even if we set NSWindow.allowsAutomaticWindowTabbing = NO.
2016-09-21 20:39:41 +02:00
Allan Odgaard
ad01eb1ac6
Use stringArrayForKey: where appropriate
2016-09-21 20:39:41 +02:00
Allan Odgaard
1087a68f44
Add “File Browser Items” as find dialog search target
2016-09-20 20:04:19 +02:00
Allan Odgaard
27c34c8991
Add missing key bindings for Back and Forward items in File Browser menu
...
This broke when we changed the menu name from Go to File Browser.
2016-09-20 18:13:46 +02:00
Allan Odgaard
7cc017f343
Harmonize all implementations of sharedInstance
2016-09-19 12:54:19 +02:00
Allan Odgaard
ddefdec649
Change document’s isOpen property to isLoaded
...
Since we do not load documents before the user selects them, e.g. after session restore or when opening multiple documents, it makes sense to have both an isOpen and isLoaded property, the former means “is shown somewhere in the UI” and would make it appear (e.g. in file browser) with close button etc., whereas the latter means that data has been loaded from disk, and we can safely access the buffer.
2016-09-18 10:29:21 +02:00
Allan Odgaard
bdfdef2dde
Rename file DocumentController.{mm,h} to DocumentWindowController.{mm,h}
2016-09-13 07:37:16 +02:00
Allan Odgaard
0efd6c750d
Rename DocumentController to DocumentWindowController
...
This should ensure we do not confuse it with OakDocumentController (a class that only tracks document instances w/o any UI).
2016-09-13 07:37:16 +02:00
Allan Odgaard
553e89ceb6
Update include statements and link declarations
2016-09-11 12:47:39 +02:00
Allan Odgaard
7e01d3d153
Exit with EX_NOPERM instead of calling abort()
...
The latter will create a crash report so we should not use it for something that might happen due to incorrect usage.
2016-09-10 13:36:38 +02:00
Jacob Bandes-Storch
7c325ff90b
Add “Check for Updates” to the app menu
...
Another common practice among Mac apps.
2016-09-10 02:11:35 -07:00
Allan Odgaard
9c8cd27d49
Checkin release notes for 2.0-beta.12.11
2016-09-09 11:53:10 +02:00
Allan Odgaard
eba19a8fe2
Let the bundle item chooser handle “option return to edit”
...
Previously using option return would only work for editing bundle items, not key binding files.
2016-09-09 05:32:19 +02:00