Commit Graph

704 Commits

Author SHA1 Message Date
Allan Odgaard
60388c325c Add preliminary bundle install support. v2.0-alpha.9329 2012-12-20 18:53:53 +01:00
Allan Odgaard
7428cd0939 Add workaround for 10.8 API
This should cause TextMate to once again run on 10.7 (issue #643).
2012-12-20 18:52:31 +01:00
Allan Odgaard
cf676cb01c Checkin release notes 2012-12-20 14:45:48 +01:00
Allan Odgaard
601cf28366 Use the low priority dispatch queue for update checks
Presently mainly a semantic change, as the dispatch queues are mostly empty, but as we adopt GCD for more things, it’ll be more important to put background tasks in a queue with lower priority than the one handling user requested tasks.
2012-12-20 14:02:39 +01:00
Allan Odgaard
2374aafde2 Clear delegate/datasource in dealloc
There are crash reports showing the gutter view accessing its datasource in OakDocumentView’s dealloc (based on a “bounds did change” notification fired when releasing a view).
2012-12-20 14:02:39 +01:00
Allan Odgaard
c7780d1392 Add placeholder text for “time remaining” 2012-12-20 14:02:39 +01:00
Allan Odgaard
cd78f6d29d Eliminate two instance variables 2012-12-20 14:02:39 +01:00
Allan Odgaard
bb38a193e2 Set window autosave name 2012-12-19 20:42:55 +01:00
Allan Odgaard
97ca44f8ad Use NSRunningApplication for application name 2012-12-19 19:42:45 +01:00
Allan Odgaard
f87a11f1bb Improve s/w update dialog text
A “Downgrade” button now appear if the version on the server is lower than the current one. This would e.g. happen if the user has upgraded to a nightly build and does a manual version check (for non-nightly builds).

If the version on the server is the same version as the one running, the user can make a “Redownload” button appear by holding down shift (⇧) when running the update check.
2012-12-19 19:42:45 +01:00
Allan Odgaard
0bac97c9ae Use GCD + blocks for s/w update download 2012-12-19 19:42:45 +01:00
Allan Odgaard
6969d7a98e Use GCD + blocks for s/w update check 2012-12-19 19:42:36 +01:00
Allan Odgaard
71be61cbbb Enable ARC by default
We now explicitly disable it for targets that hasn’t yet been upgraded to ARC. This way, it’s easier to get an overview of which targets hasn’t yet been upgraded and ensures new targets has ARC enabled.
2012-12-19 19:42:36 +01:00
Allan Odgaard
2ae8d9371e Apply custom build flags last
This allows using RAVE_FLAGS to override the more general compiler flags.
2012-12-19 19:42:36 +01:00
Allan Odgaard
6e228b69aa Fix typo 2012-12-19 19:42:36 +01:00
Allan Odgaard
88358ccf26 ARC: Update SoftwareUpdate framework 2012-12-19 19:42:36 +01:00
Allan Odgaard
ed45e1a241 Handle download in s/w update singleton 2012-12-19 19:42:35 +01:00
Allan Odgaard
4a25c7b98d Refactor software update
Move logic out of DownloadWindowController.
2012-12-19 19:42:35 +01:00
Allan Odgaard
0834649011 Improve binding properties
Each property now correspond to exactly one aspect of the UI allowing us to remove the logic and use the class as a view.
2012-12-19 19:42:35 +01:00
Allan Odgaard
3fdb50aa23 Save with Xcode 4.5.2 (4G2008a) 2012-12-19 19:42:35 +01:00
Allan Odgaard
476247b047 Use generated properties 2012-12-19 19:42:35 +01:00
Allan Odgaard
6bc36a565b ARC: Update ns framework 2012-12-19 19:42:35 +01:00
Allan Odgaard
1eb54282af Move attr_string.h to Find framework 2012-12-19 19:42:35 +01:00
Allan Odgaard
1102f8a528 Remove use of ns::attr_string
This is only motivated by easier transition to ARC (one framework at a time) as the ns/attr_string.h header contains manual memory management, which thus cannot be included by a framework using ARC, yet the code needs to be in the header since the code is template-based.
2012-12-19 19:42:34 +01:00
Allan Odgaard
a7e70de9dd Help book index: Enable verbose output
This seems to be the only way to learn of problems creating the help index, as parsing errors are otherwise silently ignored.
2012-12-19 19:42:34 +01:00
Allan Odgaard
05357539d0 fixup! Rename method: scope → scopeContext
Missed one case causing “Current Scope” in bundle item chooser to not have any effect.
2012-12-19 19:42:34 +01:00
Allan Odgaard
71ec3d4c82 Add block-based show alert API 2012-12-16 21:27:06 +01:00
Allan Odgaard
0311f10974 Fix syntax error in debug line 2012-12-16 21:27:06 +01:00
Allan Odgaard
92c77ece36 Change long → int32_t for 68K struct
When building as 64 bit the ‘long’ type is 8 bytes which broke the “jump to selection” part of the ODBEditor protocol support (issue #499).
2012-12-16 21:27:06 +01:00
Allan Odgaard
4d8f0422ec Provide “More Info…” for unsatisfied command requirements
See issue #622 for more details.
2012-12-16 00:01:13 +01:00
Allan Odgaard
397dc877af Use a block-based wrapper for NSAlert
This code isn’t ideal: We should make it a function instead of a class and the ‘info’ property should instead be done using a captured variable.
2012-12-16 00:01:13 +01:00
Allan Odgaard
74f85c74ba Make help book template XHTML
The help indexer requires the pages to be valid XML and (silently) fails to generate the proper index (with anchors) when they are not.

This fixes issue #548.
2012-12-15 21:25:57 +01:00
Allan Odgaard
c7934a5ae5 Do not hide pop-up list when losing focus
The “hide on focus” setting is inherited by the parent window, causing the entire window to hide.

Closes issue #590.
2012-12-15 20:41:03 +01:00
Allan Odgaard
5be8d4b041 Factor out “Contributing” section of README
Motivated by https://github.com/blog/1184-contributing-guidelines
2012-12-14 23:06:12 +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