Commit Graph

124 Commits

Author SHA1 Message Date
Allan Odgaard
e97efb3f67 Use dispatch queues for signal actions 2012-09-30 15:25:44 +02:00
Allan Odgaard
456374342a Remove use of openssl constants 2012-09-30 15:25:44 +02:00
Allan Odgaard
15bd31880e Update about text 2012-09-30 15:25:44 +02:00
Allan Odgaard
144825e3f9 Checkin release notes 2012-09-29 01:19:42 +02:00
Allan Odgaard
ffbcd192ef Fix ⌘1-⌘n for about window
We have to go via OakSubmenuController because the menu item may not exist. The reason for this is related to not having old menu items exist after a delegate has disappeared, though it might be possible to improve.
2012-09-29 00:46:26 +02:00
Allan Odgaard
7af2a71de0 Conditionally show release notes during startup 2012-09-29 00:39:14 +02:00
Allan Odgaard
fcfec66214 Hookup About TextMate to about window 2012-09-29 00:39:14 +02:00
Rasmus Abrahamsen
eb248eb579 Combine about, changes, and credits window
This includes bundle changes.
2012-09-29 00:39:14 +02:00
Allan Odgaard
a29479bca7 Remove Credits / License menu item 2012-09-29 00:21:53 +02:00
Allan Odgaard
a0c4af64bd Remove trailing whitespace
Only removed from non-empty lines.
2012-09-25 14:16:50 +02:00
Allan Odgaard
983bce86aa Use @autoreleasepool blocks 2012-09-25 12:30:12 +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