Commit Graph

9 Commits

Author SHA1 Message Date
Allan Odgaard
ea88c5a713 Handle txmt: URLs without a file argument 2012-08-14 18:43:37 +02:00
Allan Odgaard
e5c2daa05a Revert "Use current document when no URL given in txmt URL"
Pending improved implementation which also handle the case where frontmost document is untitled.

This reverts commit 2beac7080b.
2012-08-14 18:43:37 +02:00
Allan Odgaard
6c35a3314a Fix leaking bundle menu delegates 2012-08-13 00:39:10 +02:00
Elia Schito
b0018c2099 Extract Bundle menu to a framework 2012-08-12 23:56:19 +02:00
jtbandes
0112532e64 Stop using deprecated NSSavePanel/NSOpenPanel methods 2012-08-12 12:59:43 +02:00
Allan Odgaard
5d0682d317 Use user-specific temp directory for mate’s socket
We have TextMate create a named socket that ‘mate’ can use to contact the main application. Previously it was hardcoded to ‘/tmp/avian.sock’ which is bad on a multi-user system.

Placing it in the user’s temporary directory should ensure it doesn’t clash, yet still give us a predictable path (for mate to use).

Presently we maintain the old socket path as a link to the new location so that old versions of mate will still work.
2012-08-11 21:01:40 +02:00
Gerd Knops
2beac7080b Use current document when no URL given in txmt URL
Brings TM2 in line with the promises in

	http://manual.macromates.com/en/using_textmate_from_terminal.html

Could probably be written nicer, I just don't get C++!
2012-08-10 19:17:35 +02:00
Gerd Knops
aa234b723d Opening txmt URLs with escaped spaces no longer fail
Example: previously it was not possible to open a URL like

	txmt://open?url=file:///Library/Keyboard%20Layouts/
2012-08-10 19:17:35 +02:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00