Commit Graph

671 Commits

Author SHA1 Message Date
Allan Odgaard
2657f66360 Add preliminary bundle install support. v2.0-alpha.9325 2012-12-14 22:42:40 +01:00
Allan Odgaard
16561c14de Checkin release notes 2012-12-14 22:42:04 +01:00
Boris Dušek
5369b7cf81 Add support for “Zoom follows the keyboard focus”
Zoom is an OS X accessibility feature that lets sighted visually
impaired users magnify screen content. This commit notifies Zoom of
changes of TextMate’s caret position on screen so that Zoom can
automatically follow the caret when the user moves it.
2012-12-14 21:55:12 +01:00
Boris Dušek
224ee5fd5e VoiceOver/accessibility support for text view
This commit adds support for most common accessibility
methods/attributes to the OakTextView component. In user's language,
VoiceOver users (i.e. blind and visually impaired users) can now use
TextMate to read and write text.

A few less used accessibility attributes remain to be supported -
especially AttributedStringForRange and StyleRangeForIndex which should
allow blind users to e.g. see and seek for spelling errors in text.
2012-12-14 21:55:12 +01:00
Allan Odgaard
36902cbc6c Factor out ng::range_t ⇔ NSRange methods 2012-12-14 21:55:12 +01:00
Allan Odgaard
d4513dd76d Use YAML::load to parse JSON
This avoids depending on the user having installed the JSON gem (and fixes problems where user has it installed, but for a different ruby than the one used to run this script).
2012-12-14 18:03:37 +01:00
Michael Sheets
8bdbeacfcd Add indentOnPaste to ordering in bundle editor 2012-12-14 18:03:37 +01:00
Joachim Mårtensson
b03ee2f6ee Use same mechanism to limit redraw in modifiedURLs 2012-12-14 18:03:37 +01:00
Joachim Mårtensson
417ecef624 Refactored calculations of touched filebrowser items into its own method 2012-12-14 18:03:36 +01:00
Michael Sheets
ac8f88b33e Always set the TM_SOFT_TABS variable
Backwards compatibility for commands that expect the variable to always exist or match the NO state, this matches the behavior of 1.x.
2012-12-11 17:52:20 +01:00
Joachim Mårtensson
d983d5a5d2 Limit file browser refresh on open/close
If changes are limited to visible rows, we only reload these.
2012-12-11 17:52:16 +01:00
Allan Odgaard
90e1f1b9ba Checkin release notes v2.0-alpha.9323 2012-11-14 11:23:15 +07:00
Allan Odgaard
c995b758c8 fixup! Allow disabling document status in file browser
If ‘location’ was nil, we would implicitly create a std::string from that, which is not allowed (and crashes).
2012-11-14 11:18:51 +07:00
Allan Odgaard
f9705ffa70 Checkin release notes v2.0-alpha.9321 2012-11-12 15:40:35 +07:00
Brad Choate
09a81e9024 Seed the contributor lookup table a bit. 2012-11-12 14:49:47 +07:00
Brad Choate
eb30ea3cb8 Add dynamic contributions page to the About window 2012-11-12 14:49:47 +07:00
Brad Choate
6753f4e3d6 Evaluate embedded ruby in markdown files
This is when generating HTML for the release notes, manual, and, where we actually need this, list of contributions.

Long-term we should probably switch to template tags as we are effectively adding code to the (otherwise declarative) build graph, which means we don’t have any way to tell if the generated HTML is up-to-date or not (as that would require analyzing the embedded ruby code).
2012-11-12 14:34:22 +07:00
Brad Choate
a1a73e8593 Don’t output markdown headers when generating HTML 2012-11-12 14:30:39 +07:00
Allan Odgaard
9b00db3139 Update CxxTest 2012-11-12 13:28:34 +07:00
Josh Goebel
dc34d5c9d9 Allow disabling document status in file browser
Disabling this is achieved by setting `fileBrowserDocumentStatus` to `false` in `.tm_properties`.

Disabling it should remove potential delays after opening, closing, and saving files when file browser is showing a lot of files. It is meant as a temporary workaround until the performance issues are addressed.
2012-11-12 13:28:34 +07:00
Gary S. Weaver
3ca80b9020 Spell out that “prebuilt binaries” is a link
A user may read the text and use GitHub’s download button, thinking this is what the README refers to.
2012-11-12 13:28:34 +07:00
Adam Strzelecki
e5ac757fb6 Make command properties drawer shorter.
Re-layout input & output fields, so they don't enlarge whole drawer too much.
2012-11-12 13:28:34 +07:00
Allan Odgaard
805d1af0e2 Add ‘filepanel’ command to DIALOG 2012-11-12 13:28:34 +07:00
Allan Odgaard
91903319be ARC: Update BundleEditor framework 2012-11-12 13:28:34 +07:00
Allan Odgaard
921efb9f6e Don’t link with QuartzCore
This was originally done for CoreAnimation (which is no longer used).
2012-10-24 21:07:21 +07:00
Robert Hencke
7a9ff232fe Apply default gutter theme when no theme is active
Previously, if no themes were active, the gutter colors would
not be set.  This would, effectively, give you random gutter colors
on TextMate startup. (or, sometimes, a completely transparent gutter).
2012-10-24 21:07:21 +07:00
Robert Hencke
1ebe9d9373 Fix typo in comment (NSMneu → NSMenu) 2012-10-24 20:48:59 +07:00
Jonas Müller
c49f06fd28 Add comma to release notes 2012-10-24 20:48:59 +07:00
Allan Odgaard
6908062ac9 Fix command input with column selections
Discontinuous selections are still not supported for commands — probably the command should be run for each selection.

Issue #524.
2012-10-24 18:19:24 +07:00
Allan Odgaard
78d0effb5a ARC: Update Preferences framework 2012-10-24 18:19:18 +07:00
Allan Odgaard
ef175b3a78 Checkin release notes 2012-10-01 01:17:27 +02:00
Allan Odgaard
b81bac3fda Change {updates → api}.textmate.org
Ideally we’d use the REST_API define setup for a few other targets.
2012-10-01 01:17:00 +02:00
Allan Odgaard
1c4b8f45e7 rmate: Preserve file’s group and owner 2012-10-01 00:57:39 +02:00
Allan Odgaard
c8983cf95d Remove unused function
Previously was used by the ‘bl’ utility.
2012-09-30 23:06:58 +02:00
Allan Odgaard
4b67c6d587 Use dispatch queues when updating bundle sources 2012-09-30 23:06:58 +02:00
Allan Odgaard
da6afa03f0 Fix concurrency bug in path::make_dir
The function could fail if the directory was created after the function had tested that it didn’t exist, as the mkdir() would then fail (with “Already Exists”).
2012-09-30 23:06:58 +02:00
Allan Odgaard
c7c3d3af38 Use dispatch queues when downloading bundles
This enables concurrency which offers a nice speedup.
2012-09-30 23:06:58 +02:00
Allan Odgaard
494d38df16 Cycle discontinuous selections when using ‘transpose’
It performs a cyclic permutation. If there are only two selections, this is equivalent to swap, but with more discontinuous selections, it is possible to repeat the transpose until the selections are ordered as desired.
2012-09-30 23:06:58 +02:00
Allan Odgaard
e1b3f71a69 Let about window show license (if any)
There is currently no way to add a TextMate (1.x) license to the key chain, but those who used TextMate r9147 or earlier should have one stored already.
2012-09-30 23:06:57 +02:00
Allan Odgaard
aef4a2206c Use caret’s right scope when expanding tab triggers 2012-09-30 15:25:45 +02:00
Allan Odgaard
fa6659db28 Update dyn.caret/selection scopes
If there is one or more selections:

    dyn.selection

If there is a single zero-width selection:

    dyn.caret.mixed.columnar

If there are multiple carets and/or selections:

    dyn.caret.mixed

When there is only a single caret or a single continuous selection the left scope may contain:

    dyn.caret.begin.line
    dyn.caret.begin.document

Likewise the right scope may contain:

    dyn.caret.end.line
    dyn.caret.end.document
2012-09-30 15:25:45 +02:00
Allan Odgaard
cba6b3275b Send crash reports in low-priority dispatch queue 2012-09-30 15:25:45 +02:00
Allan Odgaard
67ab3de2b1 Refactor crash reporting code 2012-09-30 15:25:44 +02:00
Allan Odgaard
49c37ca864 Skip ‘null’ payload fields when posting to server 2012-09-30 15:25:44 +02:00
Allan Odgaard
e97efb3f67 Use dispatch queues for signal actions 2012-09-30 15:25:44 +02:00
Allan Odgaard
efb6eb6b08 Update required headers 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