Commit Graph

58 Commits

Author SHA1 Message Date
Allan Odgaard
a92c7cda68 fixup! Stop using deprecated NSSavePanel/NSOpenPanel methods
Be careful not to initialize an NSURL from nil.
2012-08-12 22:23:52 +02:00
Allan Odgaard
2ff7684eda Order build rules based on dependencies.
Previously we wrote out the build rules alphabetically and grouped by target type. So e.g. the build rule for a framework would be created before that of an application bundle.

While it worked, it didn’t allow e.g. the preferences framework to depend on the mate executables (for copying to its resources section) since the build rules for mate would be created after that of the preferences framework.

We now do a topological sort on the dependency graph (by shelling out to ‘tsort’) to make the build system more flexible.
2012-08-12 16:07:29 +02:00
Bo Xiao
0e581cd2f6 Changed Find/Replace combobox height to 21, to be aligned with other controls. 2012-08-12 12:59:43 +02:00
jtbandes
7f3818fb4c Use SecItemCopyMatching instead of the deprecated SecKeychainSearch 2012-08-12 12:59:43 +02:00
jtbandes
df3e9bcdc2 QLPreviewPanel is no longer private 2012-08-12 12:59:43 +02:00
jtbandes
0112532e64 Stop using deprecated NSSavePanel/NSOpenPanel methods 2012-08-12 12:59:43 +02:00
jtbandes
3d3d22f509 Use Security framework instead of deprecated OpenSSL functions 2012-08-11 23:04:00 -07:00
jtbandes
4cc010c289 Helper function for getting CFError description 2012-08-11 23:04:00 -07:00
jtbandes
bf2fa756ce Fix xib warnings 2012-08-11 23:04:00 -07:00
jtbandes
ee11103d2d Change deployment target of all xibs to OS X 10.7 2012-08-11 23:04:00 -07:00
jtbandes
45b68389f2 Save all xibs with Xcode 4.4.1 (4F1003) 2012-08-11 23:04:00 -07:00
Tuk Bredsdorff
f4f6d9cc6d Updated IRC channel name in README.
Only one octothorpe now.
2012-08-12 01:44:35 +02:00
Allan Odgaard
dec4dbf30d Update dialog plug-ins
Latest versions compile without warnings.
2012-08-12 01:40:13 +02:00
Allan Odgaard
08f415ca7c Checkin release notes 2012-08-12 01:40:13 +02:00
Nathaniel Tagg
99ab4e6578 Implement ⌃Y for yanking last deletion 2012-08-11 22:41:02 +02:00
jtmkrueger
e495a6e9a3 Add example textmate image to README
It's a good looking editor, let's see a picture.
2012-08-11 21:48:19 +02:00
Jesse B. Hannah
4716c15c92 "Enter/Exit Full Screen" menu item
"Full Screen Menu Item" template from Object Library in Interface
Builder, with key binding removed
2012-08-11 21:18:31 +02:00
Jesse B. Hannah
824e9b5f27 Added fullscreen behavior to document window
In Interface Builder: Attributes Inspector -> Full Screen -> Primary
Window
2012-08-11 21:18:25 +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
Allan Odgaard
2dcc7ec7b4 Keep version of mate (installed) in defaults
This is so that we know when to update the installed version.
2012-08-11 20:49:55 +02:00
Allan Odgaard
512e5fdede Prune GIT variables from the inherited environment
Incase we do a git commit that launches TextMate, it will inherit a bunch of variables from git, including GIT_DIR, which will cause issues for the Git bundle.
2012-08-11 20:37:05 +02:00
Allan Odgaard
5f55fcb514 Turn private run_cmd (scm/utility.h) → io::exec 2012-08-11 19:39:18 +02:00
Allan Odgaard
e680130eaf Move oak::basic_environment to the io framework
Previously this was under the OakSystem framework which depends on the io framework meaning that the io framework itself was unable to obtain a basic environment, which is necessary for next commit.
2012-08-11 19:31:10 +02:00
Allan Odgaard
485bdde0f7 Move oak::c_array to oak/datatypes.h
This simple wrapper is useful in a few places so we shouldn’t need to depend on the OakSystem framework in order to use it.
2012-08-11 19:21:28 +02:00
Mads Hartmann Jensen
dc37506831 Keep window open after closing last tab. Fixes #24.
When the last tab is closed the window will be kept open if the
file browser is shown. It will close the existing document and
replace it with a scratch document.
2012-08-11 17:05:05 +02:00
Allan Odgaard
b9d8d61298 Add instructions about how to change a xib 2012-08-11 13:06:16 +02:00
Fernando
a921f258e1 Don’t write to /tmp in configure
If another user (on the same system) builds TextMate then he blocks everyone else, as other users would be unable to overwrite /tmp/dummy.
2012-08-11 12:00:25 +02:00
Allan Odgaard
3f083c12c6 Checkin release notes. 2012-08-11 00:14:48 +02:00
Adam Strzelecki
db294ba346 If opening an already open folder, bring window to front
This is mainly for calling ‘mate «directory»’. Reference http://lists.macromates.com/textmate/2012-August/035164.html
2012-08-10 21:32:08 +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
Gerd Knops
7892f5269a git: show modifications in upstream folders 2012-08-10 19:17:35 +02:00
Gerd Knops
8d523c0a66 Rework path::is_local to support disk images.
This enables SCM badges for disk images. The check is done using the new (10.7) kCFURLVolumeIsLocalKey.
2012-08-10 19:15:02 +02:00
Gerd Knops
c98bc92b5d Accept HTTP/1.1 response in network tests
GlimmerBlocker (http://GlimmerBlocker.org) and other proxies may intercept the web data and replace the HTTP/1.0 response with a HTTP/1.1 response.

Modified test to accept either.
2012-08-10 19:09:57 +02:00
Joachim Mårtensson
b21fbd897e Fix ^, previously it failed immediatly if last rule in scope selector, wasn't tested against last scope part. Fixed by giving ^ additional chances 2012-08-10 18:44:16 +02:00
Joachim Mårtensson
49320f4efb Fix bug with > in scope selector. There was an implicit > after path 2012-08-10 18:44:16 +02:00
Joachim Mårtensson
2c6a8471f9 Add support for ^ $ and > in scope selectors 2012-08-10 18:44:16 +02:00
Allan Odgaard
2ac005815b Upload to GitHub instead of S3.
Technically GitHub is backed by S3 (shielded by a CDN), but now all releases also go to the Downloads section of GitHub.
2012-08-10 18:30:35 +02:00
Allan Odgaard
23280529ce Include ‘mate’ in application ressources.
Previously we installed this from the Bundle Support bundle’s support path.

While the Bundle Support bundle is a requirement to work with TextMate, including mate in the resources section should ensure we always get the latest build and address issue 53.
2012-08-10 18:30:35 +02:00
Allan Odgaard
86999c7c41 Merge pull request #57 from shadowbq/patch-1
ninja now back in trunk of brew
2012-08-10 05:47:37 -07:00
shadowbq
707b45b2cd ninja now back in trunk of brew
ff13af6fb3
2012-08-10 08:27:57 -03:00
David Caldwell
4ae46a5349 Also check for boost in $CPATH
This way it can be installed anywhere as long as the C compiler can find it.
2012-08-10 13:27:24 +02:00
Allan Odgaard
506b21a43f Merge pull request #55 from youngrok/master
brew uses proctools rather than pgrep
2012-08-10 03:26:43 -07:00
youngrok
547aa70aad Update README.md 2012-08-10 19:00:15 +09:00
Allan Odgaard
67c17d838b Move git clone + submodule update to README.
A few people were reporting build issues because they downloaded the source and thus lacked the submodules.
2012-08-10 11:01:32 +02:00
Allan Odgaard
a94ad3cc4c Also check brew for clang and boost dir.
We now prefer Apple’s clang over MacPorts/homebrew. This is because clang on Lion (with latest Xcode) should be recent enough to build TextMate.
2012-08-10 10:53:31 +02:00
Allan Odgaard
9637bc58ad Update build instructions for clang.
It appears that latest Xcode for Lion does ship with a clang recent enough to build TextMate.

Also added instructions on how to build clang via homebrew.
2012-08-10 10:33:56 +02:00
Adam Malcontenti-Wilson
a3a82c93ce Update .gitmodules to use Git over HTTP 2012-08-10 10:09:03 +02:00
Allan Odgaard
845bb96f5b Output full path to compiler used.
This should make it easier to troubleshoot when people report they have latest clang but get a “too old” failure, e.g. issue #45.
2012-08-10 10:05:23 +02:00
burgua
7143f0034e Update README.md 2012-08-09 22:55:16 +02:00