Commit Graph

555 Commits

Author SHA1 Message Date
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
Allan Odgaard
bf2c92b73a Checkin release notes 2015-07-17 16:51:52 +02: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
bf7f7b21d1 Checkin release notes 2015-06-25 19:27:25 +02:00
Allan Odgaard
9dc71d5687 Checkin release notes 2015-06-13 18:09:29 +02:00
Allan Odgaard
4a7faba2c0 Do not show “TextMate is Outdated!” dialog for licensed copies 2015-06-12 14:18:53 +02:00
Allan Odgaard
e5404fb1ea Expose the registration window controller
Also make the registration window show up at the modal window layer. It should (probably) be using a modal session, though not entirely sure.
2015-06-12 14:18:19 +02:00
Allan Odgaard
4f2f799c6b Convert filter string to decomposed unicode
Since we are doing a literal (byte-by-byte) subset match we need to have the filter string use the same unicode normalization form as the items it is matched against.

For favorites and the file chooser, the items are file system names, which default to the decomposed form.

Ideally the filtering algorithm would know about diacritics, but in practice the current solution should work for most actual scenarios, and is much simpler (thus faster).
2015-06-12 14:10:17 +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
Alexander Böhn / FI$H2k
23509380cb Fixed fatal error in Applications/indent/indent.cc
The static `std::map` instance (named just `map`, on line 79) had its initializer template params in the wrong order, which kept it from compiling. Swapping them as per this PR lets `indent` build and run with no issues.
2015-04-30 15:15:56 +02:00
Allan Odgaard
8c3177113f Add missing newline to error output 2015-03-26 12:19:19 +07:00
Allan Odgaard
08db1b53a9 Checkin release notes 2015-03-25 13:03:52 +07:00
Allan Odgaard
5be2c426dd Checkin release notes 2015-03-05 15:33:20 +07: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
71f7c50aea Checkin release notes 2015-01-19 13:21:51 +07:00
Allan Odgaard
d9286edaba Update copyright to 2015 2015-01-14 17:23:33 +07:00
Anton
71a2c2dfa8 Allow opening favorites at startup and re-activation
This is enabled via the ‘showFavoritesInsteadOfUntitled’ defaults key.
2015-01-14 17:23:33 +07:00
Allan Odgaard
9f1f2f9e17 Use NSWorkspace’s frontmostApplication instead of GetFrontProcess 2014-11-30 09:12:07 +07:00
Allan Odgaard
191600fd8c Change RMateServer.cc → RMateServer.mm 2014-11-30 09:12:06 +07:00
Allan Odgaard
33692608dc Checkin release notes 2014-11-29 10:07:47 +07:00
Allan Odgaard
bf4cbd33fa Remove NSString* typecast when using to_s helper
This has a small run-time cost but source looks better and theoretically safer code.
2014-11-29 09:53:40 +07:00
Allan Odgaard
40857b1566 Do not disable Apple’s “press and hold” accent feature
With NSTextInputClient conformance this feature works fairly well, though we currently do not pass events (that we have an action for) to the current input context, which e.g. means that arrow left/right cannot be used to move through the variations.
2014-11-29 07:55:48 +07:00
Allan Odgaard
5968aa55b2 Let chooser windows remember their size (after relaunch)
Previously only the favorites / recent projects chooser would remember window size after a relaunch.
2014-11-28 15:58:40 +07:00
Ronald Wampler
5841528b23 Update mate usage information for setting marks 2014-11-27 08:03:00 +07:00
Allan Odgaard
fe798f4c0e Don’t explicitly define targets as applications or libraries
Libraries can be identified by either being linked with other targets, or exporting headers, so that is what we do.
2014-11-20 14:58:34 +01:00
Allan Odgaard
08dbb7b2e9 Checkin release notes 2014-11-11 21:04:12 +01:00
Allan Odgaard
26dead41ca Update template project for a new application
Use an application controller instead of embedding a window with a custom view in the nib.
2014-11-11 20:01:33 +01:00
Allan Odgaard
568fcd49cf Opening a document via ‘mate -w’ and canceling would hang mate
For example with the following command we get an encoding dialog that allows us to cancel opening of the document:

    echo Æblegrød|iconv -f utf-8 -t mac|mate -w
2014-11-11 08:54:35 +01:00
Allan Odgaard
a778f0b3da Combine std::set’s find and insert into a single operation 2014-11-10 17:11:31 +01:00
Allan Odgaard
b06a22cfe3 Change --bool to -bool in defaults command examples
Closes #1273.
2014-11-10 11:38:48 +01:00
Allan Odgaard
c1029c454b Improve bundle item chooser
We now show two lines per item: the name of the item and the location on second line.

For settings we show the (literal) value of the item next to its name (ideally user could click the item to toggle between literal and effective value).

Selecting settings items (from properties files) will go to the proper line in the properties file.
2014-11-10 10:35:37 +01:00
Allan Odgaard
912818ccfc Support line argument when opening files from bundle item chooser 2014-11-10 09:22:30 +01:00
Allan Odgaard
8be5b11d9c Ensure line break mode is set for display string in item choosers
Previously we would rely on the NSTextField cell’s line break mode, but this isn’t used when the object value is an attributed string, which it might become when the cell is selected.
2014-11-10 09:15:42 +01:00
Allan Odgaard
50ad6fce64 Loosen our expiration policy
We now give the user half a year before TextMate expires and only remind them once every week about TextMate being old, and now with a “Check for Updates” button in the dialog.
2014-11-06 23:05:43 +01:00
Allan Odgaard
6f5b02f994 Include name of symbolic link in favorites chooser
This is only when the name of the symbolic link is different from what it points to.

Closes #1272.
2014-11-06 22:32:07 +01:00
Allan Odgaard
4e5175d0d1 Manually set key view loop for the chooser windows
There are some problems with the auto-calculated key view loop:

1. Does the wrong thing when there are pending auto-layout changes.
2. Adds NSTableCellView children to the key view loop.
3. Adds views which are set to refuse first responder, which will break the loop if such view is the last one.
2014-11-06 16:47:10 +01:00
Allan Odgaard
7d2ed9a236 Set initial first responder when setting up key view loop 2014-11-06 16:42:22 +01:00