591 Commits

Author SHA1 Message Date
Allan Odgaard
15a91fef37 Checkin release notes 2016-06-22 20:26:09 +02:00
Allan Odgaard
41f14fe5a4 Skip expiration check when running on 10.7 or earlier 2016-06-22 19:45:24 +02:00
Allan Odgaard
d6993bb476 Remove xib from binary file identification glob 2016-06-22 19:45:24 +02:00
Allan Odgaard
c50795af91 Simplify code by using std::function 2016-06-22 18:31:49 +02:00
Allan Odgaard
f5832c975f Add missing include statements 2016-06-22 18:31:49 +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
Allan Odgaard
267ad147cd Checkin release notes 2016-06-16 20:25:18 +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
4899fa17f1 Checkin release notes 2016-05-30 15:16:24 +02:00
Allan Odgaard
c649aed750 Update window title for Recent Projects dialog 2016-05-29 21:19:07 +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
Allan Odgaard
cda4b3fd63 Fix typo in release notes (horizontal → vertical) 2016-05-28 22:14:20 +02:00
Allan Odgaard
be74280993 Checkin release notes 2016-05-25 09:55:20 +02:00
Allan Odgaard
417193e089 Update link dependencies for all targets
Some targets were including headers from frameworks not specified in their link dependencies. For a clean build this could cause an issue because the header was not available at the time of building the target.

The updated link dependencies are also based on what a target’s tests require. Ideally tests would have separate link dependencies, but as we don’t want to maintain this manually, this will have to wait until the build system automatically handles link dependencies.

Currently the commit command uses constants from the CommitWindow framework but should actually not be linked with it. However, the optimizer will strip dead code, so it should not result in much if any difference in the resulting binary and does solve a build dependency issue.
2016-05-07 13:00:55 +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
e38f529ba0 Checkin release notes 2016-04-19 11:10:31 +07: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
Allan Odgaard
cd49f0e051 Checkin release notes 2016-03-05 16:58:00 +07:00
Ronald Wampler
04af5fa295 Add menu items to allow navigating to arbitrary marks 2016-02-25 13:20:10 +07:00
Allan Odgaard
42b6c04089 Load plug-ins before bundles
The reason is that if there are no bundles, we will extract the default set to Application Support, and in doing so, we call tar which implicitly sets up the command environment, which is re-used for all successive commands.

The problem is that loading a plug-in may add to the environment (e.g. setting the DIALOG environment variable), so if plug-ins are loaded after the call to tar (as would be the case for on a clean system), the DIALOG variable will be missing from the environment.

Kudos to René Schwaiger for discovering this issue.
2016-02-25 09:51:14 +07:00
Allan Odgaard
ac3e69b443 Group themes using their semantic class
The semantic class must be of the form: `theme.«group»[.«whatever»]*`.

If a theme lacks a semantic class, or the semantic class does not have a `theme.` prefix then the theme gets into the “unspecified” group.

In theory we could analyze the themes for dark/bright background, but manually classifying themes seems more flexible, for example some themes have a transparent background, which we could put into their own group.
2016-02-05 17:37:06 +07:00
Allan Odgaard
26bee58d20 Use proper (NSInteger) type when dealing with Objective-C 2016-02-05 16:52:49 +07:00
Adam Strzelecki
272f691163 Edit->Spelling->System using system language
This sets '' (empty identifier) in Global.tmProperties that switches to system
specified spelling language (usually Automatic by Default which is OS X
default). It serves as a way back to the default when user picks any other
language than default from the menu for current buffer (effectively for
documents's directory).
2016-02-04 23:27:46 +07:00
Allan Odgaard
0a8360a8aa Add helper function to obtain the name for a locale identifier
E.g. da → Dansk, pl → Polski, etc.
2016-02-04 23:27:45 +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
33f945eb02 Checkin release notes 2015-12-06 20:12:23 +07:00
Allan Odgaard
3478457098 Pass non-null arguments where the 10.11 SDK requires it 2015-11-20 13:12:16 +07:00
Allan Odgaard
8c19532531 Don’t change user defaults in background queue
The problem is that when we change user defaults a notification is posted, and this runs on the thread that did the change, so our own “user defaults did change” notification callbacks are executed on a background thread.
2015-11-18 09:57:29 +07:00
Jacob Carlborg
cc7e2e8322 Add support for commit and continue in the commit window
The use case for this feature is when an interactive rebase is in
progress and be able to, in one command, amend the current commit
and continue with rebase.

By default, if the --rebase-in-progress flag is passed when the
"commit" command is invoked the commit button will be in a
"commit and continue" state. This is indicated by the title of the
commit button now being "Commit & Continue". If the option (⌥) key
is being hold down the state will revert back to the standard "commit"
state and the title will change to "Continue".

If the butten was clicked when it was in the "commit and continue"
state the "commit" command will print "TM_SCM_COMMIT_CONTINUE=1"
(without the quotes) to stdout as the last line. If the button was
clicked when it was in the standard "commit" state the output may
contain "TM_SCM_COMMIT_CONTINUE=0", or the "TM_SCM_COMMIT_CONTINUE"
string will be absent.
2015-10-29 08:54:06 +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
3dbdd0cf32 Checkin release notes 2015-10-26 23:26:16 +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
26d4ebf302 Decompile .scpt files when generating QuickLook preview/thumbnail 2015-10-03 17:33:21 +07:00
Allan Odgaard
5738792b36 Refactor QuickLook generator
Generating a preview and a thumbnail now share the same code for loading the file and creating an attributed string from its content.
2015-10-03 17:33:21 +07:00
Ram Nadella
acd4497f5e Fix typo in 2015-09-16 (v2.0-beta.8) section of release notes 2015-10-03 17:10:47 +07:00
Ronald Wampler
f29ddf6500 Declare new protocols when building for 10.11
These were informal protocols prior to 10.11.
2015-09-21 09:50:20 -04:00
Allan Odgaard
64b03394e9 Checkin release notes 2015-09-16 08:35:15 +02:00
Allan Odgaard
51edc48bea Checkin release notes 2015-09-07 18:16:58 +02:00
Allan Odgaard
8fe7681ebd Remove unnecessary include of oak/compat.h 2015-08-05 12:31:20 +02:00
Allan Odgaard
15d57f7aed Checkin release notes 2015-07-31 12:49:32 +02:00
Allan Odgaard
699cdd72cb Include scope bar in key view loop (rather than its buttons) 2015-07-20 11:40:14 +02:00
Allan Odgaard
2de5395ba5 Remove reference to OFBPathInfoCell 2015-07-20 11:28:53 +02:00