175 Commits

Author SHA1 Message Date
Allan Odgaard
8f3f3d9d16 Update deployment version for xibs to 10.12
This was done using search and replace. Presumably it should be done in Xcode so that it can adjust the xib for the new deployment target, otherwise what is the point of storing deployment version in the xib and provide it as a command line argument to the xib compiler as well (only to get a warning if the versions do not match)?
2019-07-07 18:03:30 +02:00
Allan Odgaard
9f6781ec3f Get rid of the APP_NAME variable 2019-06-26 23:32:54 +02:00
Allan Odgaard
db706b8e99 Add NSAppleEventsUsageDescription 2019-06-26 13:21:11 +02:00
Allan Odgaard
d3bce0e5ea Bump copyright year to 2019 2019-02-21 14:46:19 +07:00
Allan Odgaard
82de01589f Update deployment target of all xib files to 10.10 2018-10-30 13:46:34 +07:00
Allan Odgaard
8bda806ef9 Create dock menu in our application delegate 2018-04-30 15:30:48 +07:00
Allan Odgaard
87ad8f6559 Create main menu in our application delegate
The advantages are:

- More compatible with version control
- Easier to copy/paste menus and menu items between other projects
- Easier to setup menu delegates or obtain pointers to menu items
- We can use symbolic names when setting a menu item’s tag
- More transparent: We can read the declaration in a few minutes, use search, etc.

There are two disadvantage that I can think of:

1. We currently need to use private API to create the Open Recent submenu. Should this become a problem in a future macOS update, we can always create a single Open Recent menu in MainMenu.nib and use that when building our menu.

2. If you make a typo in the menu declaration then the compiler error will often just point to the first line of the declaration rather than the line with the incorrectly declared item. One can comment out sections to narrow it down, if many edits have been made since last compile.
2018-04-30 15:30:48 +07:00
Allan Odgaard
a232a1848b Update copyright to 2004-2018
We are back to showing a range motivated by a comment from @nanoant: 76cc25b2a6 (commitcomment-21502195)
2018-03-08 16:05:52 +07:00
Jacob Carlborg
e3ded6e2f9 Add imported and exported type declarations for D
This will make the system properly recognize D source files.
2018-03-08 16:05:31 +07:00
Ronald Wampler
44a7e580d9 Update deployment target to 10.9 2017-06-09 15:33:18 +02: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
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
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
Allan Odgaard
204c735079 Change bundle identifier to com.macromates.TextMate 2016-10-23 00:21:09 +07: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
fbc2e5cbda Remove unnecessary settings from Default.tmProperties 2016-10-01 09:03:26 +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
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
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
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
b0c77ff656 Fix minor whitespace issues 2016-08-29 12:44:15 +02:00
Allan Odgaard
cb41e89736 Simplify file patterns in default properties file 2016-07-14 12:22:44 +02:00
Allan Odgaard
4bdd217455 Change Quick Open… menu item to Open Quickly…
Also rename Recent Projects… to Open Recent Project… so that all four menu items start with “Open” and two of them with “Open Recent”.
2016-07-07 09:34:08 +02:00
Allan Odgaard
95f265574f Move New File and New Folder menu items to File Browser menu 2016-07-07 09:34:08 +02:00
Allan Odgaard
0bb275b4f0 Rely on the system’s default monospaced font rather than Menlo
Furthermore, if the user changes to the default monospaced font then we do not store its name in settings (given that it’s default).
2016-07-05 12:13:06 +02:00
Allan Odgaard
7dd19c0c0e Update deployment target to 10.8 for all xib files 2016-06-22 20:43:28 +02:00
Allan Odgaard
d6993bb476 Remove xib from binary file identification glob 2016-06-22 19:45:24 +02:00
Allan Odgaard
0a0b9a8052 Move Select None to File Browser (main) menu
This was previously placed in the file browser’s action menu and thus probably overlooked by many, even though ⇧⌘A is a very useful key equivalent, since many commands work on the entire project when there is no selection in the file browser.
2016-06-19 09:40:08 +02:00
Allan Odgaard
dc0331b781 Change File Browser → Current Document to Select Document
Also make the title dynamic so that we show the current document’s name (when we have one) and add a separator below the menu item.
2016-06-19 09:40:08 +02:00
Ronald Wampler
7e3497889e Rename "Go" menu to "File Browser" 2016-06-19 08:45:16 +02:00
Ronald Wampler
1a1c3ecd38 Move "Go To Related File" to the Navigate menu 2016-06-19 08:45:16 +02:00
Ronald Wampler
5bb89898fb Move "Go to File" to File menu and rename to "Quick Open" 2016-06-19 08:45:16 +02:00
Ronald Wampler
e452a5ee55 Move "Go to Tab" to the Window menu and rename to "Select Tab"
Also edit the source to reflect the change in name (e.g., `updateGoToMenu:` → `updateSelectTabMenu:`).
2016-06-19 08:45:16 +02:00
Ronald Wampler
976a79468b Prefix some of the menu items in Navigate with "Jump to"
The Navigate menu now contains a mixture of items with prefixes "Jump to", "Go to" or none at all. The "Go to" prefix is especially inconsistent since we have already have a dedicate "Go" item in the Main menu bar. For consistency, change them to use the "Jump to" prefix.

The commit also renames the appropriate dialog boxes and updates some documentation to refer to the new names.
2016-06-14 20:55:42 +02:00
Ronald Wampler
accb60033e Move "Jump to Selection" to the Navigate menu
Most Apple applications have this item placed under Edit → Find; however, it fits more naturally in our Navigate menu.
2016-06-14 20:55:13 +02:00
Allan Odgaard
a198d3c25b Rename Open Favorites… menu item to Recent Projects…
Also use ellipsis glyph for the Open… menu item.
2016-05-29 21:17:31 +02:00
Josh Bernitt
263da53c81 Optionally draw a horizontal line for every tab stop
This can be toggled using View → Show/Hide Indent Guides or controlled per file type via the `showIndentGuides` setting in `.tm_properties`.
2016-05-02 19:58:01 +02:00
Allan Odgaard
70d7587967 Change Jump to Next/Previous Mark shortcuts to F3/⇧F3
This is consistent with Next/Previous Bookmark shortcuts bound to F2/⇧F2.

The problem with ⌘> and ⌘< is that these keys are used to cycle through windows on some keyboard layouts.

Discussion at issue #1316.
2016-04-18 20:17:21 +07:00
Ronald Wampler
04af5fa295 Add menu items to allow navigating to arbitrary marks 2016-02-25 13:20:10 +07:00
Allan Odgaard
2ec4e0d50c Update copyright to 2016 2016-01-15 12:07:16 +01:00
Allan Odgaard
ac08ce04f7 Disable app transport security
This is only required for the WebView which many bundle commands use to show online documentation and similar.

It’s impractical to maintain a whitelist of allowed domains.
2015-12-07 07:19:38 +07:00
Allan Odgaard
ce4572ef2b Convert TextMate’s Info.plist from old-style to XML
This is required for storing boolean values which the new NSAppTransportSecurity setting must use. It does not work using `YES` or `1` to represent `<true/>`.
2015-12-07 07:15:43 +07:00
Allan Odgaard
b55ef5b09a Save all xibs with Xcode 7.1 (7B91b)
This was done in an attempt to prevent the warning saying “This file is set to build for a version older than the project deployment target.”

Unfortunately saving all the xibs did not get rid of the warning, even though tehy are all set to have 10.7 as their build target.

The latest xib format does however remove about 10.000 lines of XML.
2015-10-26 23:26:17 +07:00
Allan Odgaard
7719097bdd Add View → Font → Default Size menu action
This also works for the HTML output.
2015-10-16 19:53:16 +07:00
Allan Odgaard
1fb6c978d5 Request “system font” for about window and help book (web views)
Reference http://furbo.org/2015/07/09/i-left-my-system-fonts-in-san-francisco/
2015-07-16 00:29:41 +02:00
Allan Odgaard
50250bb402 Escape tilde in default glob pattern
In retrospect it was perhaps a mistake to use tilde as a special character in globs.
2015-05-06 21:20:21 +02:00
Allan Odgaard
a54c0616ae Include flv and swf files in the default list of non-text files 2015-02-01 13:59:00 +07:00
Allan Odgaard
d9286edaba Update copyright to 2015 2015-01-14 17:23:33 +07:00