Commit Graph

295 Commits

Author SHA1 Message Date
Allan Odgaard
83946bd3cf Treat relative txmt: URLs as relative to home folder
This is supported to be compatible with TextMate 1.x.

Fixes #1047.
2013-07-22 11:01:27 +02:00
Allan Odgaard
87a04549ec Add “related file” settings for *.go (test) files
With this setting ⌥⌘↑ will switch between test and non-test *.go files.
2013-07-21 13:25:27 +02:00
Allan Odgaard
ba85697ac4 Change “counterpart” to “related file”
This applies both to the action method and the settings key, the latter is now relatedFilePath to indicate that it’s a full absolute path (neither relative or a glob pattern).
2013-07-21 13:25:27 +02:00
Allan Odgaard
e9acd16879 Move some Go menu items to Navigate menu
The Go to Symbol and Line are now in the Navigate menu, which means everything in the Go menu is about selecting a file or folder (for the file browser location).

The Navigate menu is about navigating around in the current file.

Also change menu item title “Go to Counterpart…” → “Go to Related File”
2013-07-21 13:25:27 +02:00
Allan Odgaard
0afa234ee6 Add new file types
This includes a new “braces” icon for use in the file browser, presently only used by ‘.go’ files.
2013-07-21 13:25:27 +02:00
Grant Hollingworth
fa1f4254cb Remove obsolete help text for mate -n 2013-07-21 13:25:14 +02:00
Allan Odgaard
2177645154 Checkin release notes 2013-06-28 23:42:53 +02:00
Allan Odgaard
9b325e54d1 Setup margins based on paper size before printing
Also show paper size/type popup and scale factor in print dialog.
2013-06-27 23:26:11 +02:00
Allan Odgaard
e28b346d70 Bind Page Setup… to our application controller
For unknown reasons, the NSApplication object will not respond to this method, even though it should implement it.
2013-06-27 23:24:23 +02:00
Allan Odgaard
d1d63308b6 Limit printing to web views and use sheet for dialog
File → Print… (⌘P) now sends the “printDocument:” action method (instead of “print:”).

Rather than implement “printDocument:” for the various HTML windows (command output, about window) we provide a general implementation in the application delegate that checks if there is a WebDocumentView conforming view in the responder chain.
2013-06-26 12:13:19 +02:00
Allan Odgaard
b519b87958 Checkin release notes 2013-06-24 09:16:07 +07:00
Allan Odgaard
eae48c1a66 Add OS and program version to s/w update URL
The server previously grabbed this from the user agent string but this is more fragile and doesn’t work with caching.
2013-06-23 22:53:21 +07:00
Allan Odgaard
6ec5bf2697 Set ⌥ as modifier for Edit → Select → Toggle Column Selection 2013-06-23 11:23:42 +07:00
Allan Odgaard
5c4a2025a3 Add menu item to toggle column selection
The motivation for this is mainly to make the ⌥ shortcut visible in the UI, which presently, it is not, as we need to “hack” the menu item to show it.
2013-06-23 11:23:42 +07:00
Allan Odgaard
b9076acdaf Remove leading/trailing whitespace from license owner name 2013-06-22 21:02:45 +07:00
Allan Odgaard
10c212cbd6 Improve error dialog when failing to add license 2013-06-22 21:02:45 +07:00
Allan Odgaard
a8729b383e Checkin release notes 2013-06-21 11:56:44 +07:00
Allan Odgaard
7060e4e358 Allow user to “add license” in About → Registration 2013-06-18 15:10:57 +07:00
Allan Odgaard
c3f79e2e05 Improve code to find license key 2013-06-18 13:43:18 +07:00
Allan Odgaard
9535ef7f22 Checkin release notes 2013-06-15 23:08:12 +07:00
Zete Lui
63b86c5221 Enable "Inspect Element" in web preview 2013-06-15 16:13:22 +07:00
Allan Odgaard
12b26a5810 Update text in “TextMate is outdated” dialog
Several users confused this with TextMate expiring because of a missing license key.
2013-06-15 16:13:22 +07:00
Allan Odgaard
6d4cf22f13 Checkin release notes 2013-05-26 17:59:07 +08:00
Allan Odgaard
2568503056 Fix executing bundle items via UI for non-main window
This affected executing bundle items via the Bundles menu (including the Select Bundle Item… dialog) in the text view used in the bundle editor.
2013-05-26 15:15:51 +08:00
Allan Odgaard
15c11d02b8 Checkin release notes 2013-05-18 08:53:07 +08:00
Allan Odgaard
da96859de6 Checkin release notes 2013-05-17 18:54:39 +07:00
Allan Odgaard
126ff16b58 Increase TextMate’s lifetime
We now warn 45 days after the compilation date and refuse to work 90 days after the compile date.
2013-05-17 16:18:22 +07:00
Allan Odgaard
ce4ae62547 Change ‘variables_for_path’ API
We now accept the a directory in addition to the path. If a directory is provided, the path is only used to filter variables rooted at the directory.
2013-05-12 11:09:18 +07:00
Allan Odgaard
8b3f05485d Change argument ordering for ‘scope_variables’
Generally we should always provide a base environment, since the scoped variables are format strings. The filtering scope selector is however optional, and we do not have one when executing commands outside an fi;e/editor context.
2013-05-12 11:09:17 +07:00
Allan Odgaard
02f688a525 Explicit variable setup for app controller commands 2013-05-12 11:09:17 +07:00
Allan Odgaard
f68a1cd280 Fix non-working link arrows in bundle item chooser
Since we released sender (via aliased pointer) before querying it, we would fail to obtain the item clicked.
2013-05-02 16:38:56 +07:00
Allan Odgaard
799ebd12e4 Checkin release notes 2013-05-02 15:11:03 +07:00
Allan Odgaard
acaff3e352 Add expiration date to TextMate
The user will get daily reminders when the application is more than a month old, and it will stop working when it’s two months old.

Normally not a fan of expiring software but a significant amount of the requests sent to api.textmate.org (posting crash reports, updating bundles) are from versions more than a month old. Adding to that, the expiration date serves as a fallback for potentially broken software update checking.
2013-04-28 11:46:35 +07:00
AJ Acevedo
1df2eb42c8 Corrected some Help typos 2013-04-28 00:34:12 -04:00
Allan Odgaard
6f8d82f507 Change Replace All and Full Screen key bindings
Apple uses ⌃⌘F for toggling full screen mode and explicitly mentions this key in the 10.7 release notes. It therefore makes sense to switch to this key, also see issue #860.

Previously ⌃⌘F was Replace All. This has been moved to ⌃⌘G and Replace All in Selection is ⌃⇧⌘G. This binds all the (3) replace actions to modifier + ⌘G.
2013-04-26 21:12:07 +07:00
Allan Odgaard
90ba9c15ea Checkin release notes 2013-04-25 19:06:56 +07:00
Allan Odgaard
508c29e2bf Checkin release notes 2013-04-23 19:07:43 +07:00
Allan Odgaard
a18008260a Checkin release notes 2013-04-10 18:25:50 +07:00
Allan Odgaard
d45adf2fed Ask for confirmation to skip session restore
Sometimes shift is held down while TextMate is being launched for other reasons than to skip session restore, so to be safe, we are now asking the user to confirm their intent.
2013-04-10 10:13:01 +07:00
Allan Odgaard
6a9448afc0 Checkin release notes 2013-03-27 17:26:36 +01:00
Allan Odgaard
a9d492ab58 Add Edit → Macros → Save Macro… (⌃⌘M) 2013-03-27 14:32:26 +01:00
Allan Odgaard
fe487c1a66 Fix typo in release notes 2013-03-26 16:49:50 +01:00
Allan Odgaard
f689aac0db Checkin release notes 2013-03-26 16:41:54 +01:00
Allan Odgaard
bffa2eef10 Move bundle installing to BundlesManager 2013-03-26 16:00:53 +01:00
Allan Odgaard
099f7c60ea Improve bundles index code
By making it part of the BundlesManager singleton we can work with the event loop to coalesce reloads and delay saving the index.
2013-03-25 22:56:49 +01:00
Allan Odgaard
d1a6c854a1 Add API to control bundle auto-updating 2013-03-25 13:04:40 +01:00
Allan Odgaard
37590bd3fd Switch to new bundle loading code 2013-03-25 12:48:39 +01:00
Allan Odgaard
f7ad857385 Show current selection string in Go to Line dialog 2013-03-25 10:25:59 +01:00
Allan Odgaard
4fcf2a9d5a Checkin release notes 2013-03-21 23:33:09 +01:00
Allan Odgaard
d021d97b43 WIP: Filter through command 2013-03-21 14:39:48 +01:00