Commit Graph

214 Commits

Author SHA1 Message Date
Allan Odgaard
a261a4c942 Add preliminary bundle install support. v2.0-alpha.9289 2012-08-23 00:57:46 +02:00
Allan Odgaard
8d4cf3cad0 Checkin release notes 2012-08-23 00:57:07 +02:00
Allan Odgaard
aa06fa8b7b Add encoding options to Chinese localization
This isn’t localized.
2012-08-23 00:44:24 +02:00
Allan Odgaard
031fe94fd0 Fix missing underline for misspelled words
As we are using a CGImage for this, we miss out on the retina version, so this code should be revised.
2012-08-22 21:35:55 +02:00
Gerd Knops
51cb92b527 Added GitHub workflow info to README.md 2012-08-22 21:34:30 +02:00
Gerd Knops
e13f1ec13f Remember Bundle Editor column widths 2012-08-22 21:15:18 +02:00
Gerd Knops
d19e2fa49e BundleEditor: follow truncated names with ellipsis 2012-08-22 21:15:17 +02:00
Allan Odgaard
12a1d86735 Add upload targets for executables
This is to make it easy to push test programs.
2012-08-22 18:24:41 +02:00
Joachim Mårtensson
ab310cbdab Use cf::color_t RGBA constructor when converting color_info_t 2012-08-22 17:06:56 +02:00
Gerd Knops
9d17d74b1b File Browser will now remember it's width
This closes issue #5.
2012-08-22 15:48:34 +02:00
David Howden
f2dd19f2a3 Extend support for theming the gutter
New theme setting: gutterSelectionBackground
2012-08-22 15:10:21 +02:00
Jacob Bandes-Storch
f24462a523 Use URL-based (modern?) NSWorkspace method 2012-08-22 15:01:38 +02:00
Jacob Bandes-Storch
caf77cc40c ⌘+click a file browser icon to show in Finder 2012-08-22 15:01:38 +02:00
Jacob Bandes-Storch
a611fc213d Prevent horizontal scrolling of search results 2012-08-22 15:01:37 +02:00
Jacob Bandes-Storch
b24f2294fb Clean up find results view positioning
The left and right borders are no longer visible, so the results are flush with the edges of the find window.
2012-08-22 14:43:09 +02:00
Paul Wilde
cd84a864d2 Added Retina icons for bottom bar and file browser
As all the icons have been remade some of them should look better on non-retina also.

This closes issue #42.
2012-08-22 14:34:25 +02:00
Allan Odgaard
7b4bf9c893 fixup! Move border drawing to OakDocumentView
Drawing the border did not account for auxiliary views (presently used by incremental search). See issue #240.

It also did not properly layout the views when adding/removing such views, causing the border to disappear after having used incremental search.
2012-08-22 14:34:25 +02:00
Allan Odgaard
d629f6cbe3 Checkin release notes 2012-08-22 14:34:25 +02:00
Allan Odgaard
4e9d9414f1 Add encoding options to save dialogs
A minor caveat is that if there are encoding or newline (folder specific) settings in effect for the chosen path, these trump what’s selected in the save dialog.

If we wish to solve this, the best would be to update the options (shown in the save panel) based on selected folder/filename (and the settings in effect for that).

This closes issue #163.
2012-08-21 23:45:45 +02:00
Allan Odgaard
6fa92db265 fixup! Prune redundant items from SCM data source 2012-08-21 23:45:45 +02:00
Allan Odgaard
566d9b27dc Expose encoding variables for document_t 2012-08-21 23:45:45 +02:00
Dennis Vennink
fc9767b520 Community effort to redesign and retinafy the gutter icons. 2012-08-21 23:45:45 +02:00
Allan Odgaard
d38308f6c8 Move ‘mate’ socket (back) to /tmp
We moved it to TMPDIR so that multiple instances of TextMate could run (for different users) but have since gotten a lot of reports about problems with this location. The short version is that ‘ls’ shows the socket exists (in TMPDIR), but stat’ing it or similar will fail.

To still allow different users to use mate side-by-side we add the user ID to the socket name.

Hopefully this closes issue #183.
2012-08-21 21:54:18 +02:00
Allan Odgaard
0d4185bfeb Don’t remove existing mate on install
The reason for this is that we might be able to overwrite mate even if we do not have write access to the parent directory. This will avoid us having to prompt the user for an admin password (when updating mate).

It should be mentioned though that incase mate is not a regular file, we do need to remove it first, because if e.g. it is a symbolic link, our install would write to where the link points to.
2012-08-21 21:32:40 +02:00
Allan Odgaard
53bcc664b3 Update installed mate if required 2012-08-21 21:23:41 +02:00
Allan Odgaard
69196f58f3 Add missing dependencies to debug targets 2012-08-21 20:24:06 +02:00
Allan Odgaard
fcaa957d4b fixup! Add support for theming the gutter
Theme was no longer initialized by OakTextView, instead we relied on OakDocumentView to provide us with a theme, but if the user had no themes installed, it would never do so, leading to a crash when OTV uses a theme member function to obtain colors.

This closes issue #222.
2012-08-21 20:11:21 +02:00
Allan Odgaard
80bf684510 Don’t disallow snippet expansion in last placeholder
This was (temporarily) disallowed by previous commit. We do however need to allow it in the last placeholder since that is used for chaining snippets. See issue #182.
2012-08-21 19:43:30 +02:00
Allan Odgaard
40822e87e6 Limit recursive snippet expansion
If caret is at the first position of a place holder then we no longer look for tab expansions, should the user press tab.

This address the issue where a placeholder has optional content and the word to the left of this optional content is a tab trigger. Previously deleting the placeholder text and pressing tab would insert a new snippet, which would generally not be expected.

This closes issue #226.
2012-08-21 19:43:10 +02:00
Allan Odgaard
621c821689 Don’t register existing value transformers
It can happen that we register the same value transformer twice, e.g. if we register it in an initialize method (since these are not guaranteed to only be called once).

This isn’t a problem per se, but there is no reason to create the new instance.
2012-08-21 18:21:40 +02:00
Allan Odgaard
a09b58422f Fix releasing of array
Previously we used ‘dealloc’ to release the array, which is wrong.

Since instances of OakStringListTransformer is normally never released this bug wasn’t affecting anything. But since we have a dealloc, it should be correct.
2012-08-21 18:21:40 +02:00
Allan Odgaard
998eec410d View → Toggle Foldings now work for find results
This will expand/collapse the find results.

The benefit here is just having a key to quickly collapse all the results so that we get a list of files (with matches).
2012-08-20 22:57:52 +02:00
Allan Odgaard
d8328e2c4f Drop use of OakSavePanel in Terminal preferences 2012-08-20 22:50:32 +02:00
Allan Odgaard
4606e4bca5 Simplify creating an OakEncodingPopUpButton
We now do the (sort of required) sizeToFit in the initializer. Users can still bypass this by using initWithFrame:pullsDown: instead of init:.
2012-08-20 22:36:12 +02:00
Allan Odgaard
c3bb5857ed Search at most 5 MB in regular expression mode
This is to avoid running out of memory, ideally we would search in chunks, but given that Oniguruma has no direct support for this, such fix is more involved, and it’s likely rare people want to perform regular expression searches on files larger than 5 MB, so I feel this is sufficient to close issue #38.
2012-08-20 21:58:27 +02:00
Allan Odgaard
81c8d403b5 Update rmate: Preserve file permission flags 2012-08-20 21:07:43 +02:00
Jacob Bandes-Storch
8eb3dd0379 Calculate default gutter colors based on theme 2012-08-20 19:10:39 +02:00
Jacob Bandes-Storch
66650f8190 Store component values in cf::color_t 2012-08-20 19:10:39 +02:00
Jacob Bandes-Storch
1c83eaa389 Add support for theming the gutter
Theme setting keys gutterForeground, gutterBackground, and gutterDivider
2012-08-20 19:01:56 +02:00
Jacob Bandes-Storch
dc810607b2 Refactor theme selection to pass through OakDocumentView 2012-08-20 18:49:47 +02:00
Jacob Bandes-Storch
c0f65b6101 Convert multipage tiffs back to 1x/2x pngs 2012-08-20 17:30:33 +02:00
Allan Odgaard
74085dd53c Don’t mark empty snippet placeholders ‘unanchored’
Ranges can be unanchored which is when they are made (mainly) by a unit selection, for example “select to enclosing braces”. What it means is that if we later use shift + movement actions (to “move” the selection end point) we will always extend it (as we don’t know which of the two end points should be considered the anchor).

Though the unanchored flag has a double role, for snippet placeholders we also set it, when we select the placeholder field, and when user press tab, we ignore tab expansions if there is an unanchored selection. So this disables recursive snippet expansion if the user immediately press tab when reaching a snippet placeholder.

Turns out that when we reach the last field of a snippet, some users want a new snippet expansion.

This fix is not ideal, but by far the easiest, and it achieves the goal.

This closes issue #182.
2012-08-20 15:44:48 +02:00
Allan Odgaard
98c6b16c2e Show current framework in window title 2012-08-20 15:44:48 +02:00
Allan Odgaard
d737efd7e1 Generalize bin/upload
It now takes key path and destination (github repostiory) as arguments. The generated build.ninja assumes the user local build.ninja sets these variables.
2012-08-20 15:44:47 +02:00
Allan Odgaard
95a9ab8561 Improve error reporting in gen_build
This is for the case where the user is missing targets (e.g. did not checkout submodules).
2012-08-20 15:44:47 +02:00
Allan Odgaard
a463e8f621 Let build.ninja include $USER.ninja (if it exists)
User specific settings and rules can go into this file.
2012-08-20 15:44:47 +02:00
Allan Odgaard
134bea2b6c Checkin release notes 2012-08-20 15:44:47 +02:00
Paul Wilde
edcaffed91 Retina assets for the "Bundle Editor" window 2012-08-19 21:13:25 +02:00
Paul Wilde
54b0d200af Retina assets for the "Find in Project" window 2012-08-19 21:13:25 +02:00
Paul Wilde
38801c7c79 Retina assets for the "OakFileBrowser" 2012-08-19 21:13:25 +02:00