Commit Graph

114 Commits

Author SHA1 Message Date
Allan Odgaard
df853493a9 Add preliminary bundle install support. 2012-09-24 23:58:32 +02:00
Allan Odgaard
1715c1e3b5 Checkin release notes 2012-09-24 22:57:50 +02:00
Allan Odgaard
80422c2b46 Exclude variables when dumping all settings
The variables can already be shown by running ‘env’ via ⌃R.
2012-09-24 22:57:50 +02:00
Allan Odgaard
2aa0be435f Change --key → --setting
The generic tm_query name makes me think we may later use it to query TextMate about other things than settings.
2012-09-24 22:57:49 +02:00
Allan Odgaard
56bbac282d If requested setting is not found, we return 1 2012-09-24 22:24:02 +02:00
Allan Odgaard
15ad4876b0 If no path is given, use TM variables
This allows simply calling (for example):

    "$TM_QUERY" --key windowTitle

And it’ll return the window title in effect for the current file.
2012-09-24 22:18:39 +02:00
Allan Odgaard
d730059382 Print file name as given rather than as full path 2012-09-24 22:16:24 +02:00
Allan Odgaard
ed33eb5021 Use Inherited environment for settings
This ensures we get e.g. windowTitle based on TM_DISPLAYNAME etc.
2012-09-24 21:57:21 +02:00
Allan Odgaard
68c0738ff2 Add tm_query executable to TextMate.app
We expose the tool via a TM_QUERY environment variable.
2012-09-24 21:32:29 +02:00
Allan Odgaard
46639b4bd6 Skip querying for variables
Since variables are already part of the settings, this is not necessary.
2012-09-24 21:32:29 +02:00
Allan Odgaard
f4e0bb88c7 Add default properties to search path
The default settings located inside TextMate.app are only available when called from TextMate (since it relies on the TM_APP_PATH environment variable)
2012-09-24 21:32:29 +02:00
Ole Gammelgaard Poulsen
ca25560f19 Added tm_query CLI that returns settings and variables for a file 2012-09-24 21:32:29 +02:00
Allan Odgaard
062e8e4e62 Add skeleton for tm_query tool 2012-09-24 21:32:29 +02:00
Étienne Després
7cc86ae8cf Add .scssc to list of non-text files
Fixes #445.
2012-09-24 20:58:42 +02:00
Mads Hartmann Jensen
adec6e4184 Incremental search keybindings
You can now use CTRL+S and CTRL+SHIFT+S to jump forwards/backwards
in the incremental search results
2012-09-24 20:58:42 +02:00
Sudara
62e2fc77fc Consider .ai and .gif files binary by default
A courtesy to anyone with images and illustrator files in their project!
2012-09-24 20:58:41 +02:00
Allan Odgaard
54377e35a9 Checkin release notes 2012-09-21 20:32:32 +02:00
Allan Odgaard
e5e2385be7 Remove “execute selection” menu items
These actions are available as bundle items.
2012-09-21 20:32:31 +02:00
Allan Odgaard
b5c8e3e247 Recent menu ignores files opened via mate
You can still create an alias for ‘mate’ that calls ‘mate --recent’.

The motivation for this change is that stuff you open via mate is generally SCM commit messages, the cron tab, included files (opened from within TextMate via bundle commands), and other such things. Additionally I think that if you open files via ‘mate’ you would just repeat the line in your shell, though I know not all users feel this way.

Folders opened via mate does go into the recent menu.
2012-09-21 16:23:35 +02:00
Allan Odgaard
36b87ebde6 Use std::string over char const* 2012-09-20 12:22:21 +02:00
Allan Odgaard
ebab500ba3 Use std::map/set instead of C arrays
These types come with a find() method and avoids having to use helper functions to get the begin/end of the array (for linear search).
2012-09-20 12:22:20 +02:00
Allan Odgaard
8fd7b82cbd Remove CocoaSTL.h include 2012-09-20 12:22:20 +02:00
Allan Odgaard
c7b90e4689 Checkin release notes 2012-09-18 22:57:03 +02:00
Allan Odgaard
848d197f7a Use DocumentController over document_t 2012-09-18 17:33:01 +02:00
Allan Odgaard
c26e5c2d36 Scope attributes are now given to editor_t
While presently it works the same, it allows us to provide better scope attributes e.g. for untitled documents (which lack SCM attributes).
2012-09-18 17:33:01 +02:00
Allan Odgaard
0810f5e34d Checkin release notes 2012-09-16 18:00:35 +02:00
Allan Odgaard
1fafbecd54 Remove Chinese translation
It’s not feasible to maintain the old-style xib translations while we work on the UI. We’ll soon move fully to constraint-based layout which should allow translations to be purely string-based.
2012-09-16 11:41:23 +02:00
Allan Odgaard
539f16008e Include SCM info in default window title
Ideally I also wanted to include project directory, but since the user’s properties are read after the default ones, and those contain the setup of projectDirectory, this isn’t possible with the current semantics.
2012-09-14 17:14:55 +02:00
Allan Odgaard
6521ff2529 Use glob_list_t in file browser
This changes the way the include/exclude keys work: A path now *must* be matched by an include key to actually be shown.

The default value of the global include key has been changed to include “*” but if users have edited the value, they will see few or no files in the file browser.
2012-09-12 18:30:36 +02:00
Allan Odgaard
d3c455d9e5 Checkin release notes 2012-09-11 00:05:05 +02:00
Allan Odgaard
b49e35ab6a Harmonize “perform bundle item” method naming
We now have:

 - performBundleItem:
 - performBundleItemWithUUIDString:
 - performBundleItemWithUUIDStringFrom:

I’m leaning toward changing the prefix, as ‘perform’ is mainly action methods invoked as a direct response to some user action (with that action part of the name), but haven’t found a better prefix yet.
2012-09-10 22:47:58 +02:00
Allan Odgaard
d8264d2f29 Checkin release notes 2012-09-10 22:47:56 +02:00
Allan Odgaard
45f6677e34 Checkin release notes 2012-09-10 10:56:26 +02:00
Allan Odgaard
d93e5c75f6 Checkin release notes 2012-09-09 23:06:17 +02:00
Allan Odgaard
7351aa0b15 Checkin release notes 2012-09-09 21:30:36 +02:00
Allan Odgaard
6156cf87d7 Remove overwrite and freehanded toggles
Both from code and the menus. These were not implemented and I see no real reason to implement freehanded movement as a toggle since it is easily obtainable via column selections or option-clicking beyond EOL.

Overwrite mode might be implemented, but rather low priority.
2012-09-09 20:43:53 +02:00
Allan Odgaard
b2acb02a7f Use std::function with cf::callback_t 2012-09-09 16:22:19 +02:00
Allan Odgaard
c3fbf92a38 Checkin release notes 2012-09-07 21:15:00 +02:00
Allan Odgaard
8f5ddc672f Move bundles pop-up menu to BundleMenu library 2012-09-06 23:10:56 +02:00
Allan Odgaard
cf5e9f1530 Leave autoenablesItems at its default value 2012-09-06 23:10:56 +02:00
Allan Odgaard
f57d35362e Rename method: scope → scopeContext
This is to avoid a clash as there is also another method called scope (WebKit / DOM).
2012-09-06 23:10:56 +02:00
Allan Odgaard
73d586c2ba Use helper for bundle item’s key equivalent
This is to allow a bundle item to display another key than the one assigned to the item, e.g. when the bundle item is matched by a proxy item it should show that item’s key equivalent.
2012-09-06 23:10:56 +02:00
Elia Schito
6dde27d33c Add revision numbers to release notes 2012-09-05 16:25:20 +02:00
Allan Odgaard
7631add8e5 Checkin release notes 2012-09-05 15:28:57 +02:00
Allan Odgaard
4faeec4795 Checkin release notes 2012-09-04 23:53:37 +02:00
Allan Odgaard
81de007bd4 Use new API for better bundle item display names 2012-09-04 20:34:54 +02:00
Allan Odgaard
c61977ea57 Use outlet for bundles menu item
This way we don’t rely on the menu item title (which could be localized).
2012-09-04 19:22:52 +02:00
Allan Odgaard
456072c798 Re-save with Xcode 4.4.1 2012-09-04 19:22:52 +02:00
Allan Odgaard
049611064d Handle bundle item keys in OakMainMenu
This is an attempt of simplifying the arcane key equivalent handling.
2012-09-04 19:22:52 +02:00
Allan Odgaard
18175e455a Position filter lists relative to parent window
I am not sure if this is desired for the Go to Symbol as some people prefer to keep this open at all time.
2012-09-04 19:22:51 +02:00