Commit Graph

3129 Commits

Author SHA1 Message Date
Allan Odgaard
73999c09ae Checkin release notes v2.0-beta.3 2014-10-20 22:56:59 +02:00
Allan Odgaard
141f8009ac Skip recreating replacement preview if nothing has changed 2014-10-20 22:40:44 +02:00
Allan Odgaard
487f0f22d9 Don’t use bold nor shadow for tab titles on Yosemite
Closes #1270
2014-10-20 22:24:34 +02:00
Allan Odgaard
3cc60f8b6e Don’t remember documents opened via ⌘G (Open Recent menu) 2014-10-20 22:06:39 +02:00
Allan Odgaard
3d6ad065ce Update dialog plug-in (method signature presumably confusing ARC) 2014-10-20 22:01:37 +02:00
Allan Odgaard
a64c0cef90 Rename menu item to decrease default width of encoding pop-up 2014-10-20 21:56:26 +02:00
Allan Odgaard
9fb2a36774 Decrease size of save panel’s encoding options 2014-10-20 21:54:59 +02:00
Allan Odgaard
8a36e40a0d Update byte order mark checkbox when changing encoding
We want to enable it for UTF-16/32 and otherwise disable it, which was previously the case but broke in acde8a019d.
2014-10-20 21:31:09 +02:00
Allan Odgaard
6aa23aeb0a Create save dialog’s encoding options in code (using auto-layout) 2014-10-20 20:51:54 +02:00
Allan Odgaard
b526201cbd NSPopUpButton already use correct default font 2014-10-20 20:35:11 +02:00
Allan Odgaard
e867c27926 Bring project with unsaved documents to front during save warning
If multiple projects have unsaved documents then we show an app modal dialog (not a sheet).
2014-10-20 16:01:07 +02:00
Allan Odgaard
d59029b70c File flags were lost when saving to a non-local file system
This broke in 9b3dd8c.
2014-10-20 16:01:07 +02:00
Allan Odgaard
1b3ce16c77 Add info to crash reports trying to track down a crash
Also delay setting the save panel’s delegate since the delegate method seems to be what the save panel tries to call when crashing.
2014-10-19 21:59:37 +02:00
Allan Odgaard
844f24eb63 Remove the commit window framework’s Info.plist
This is only required when we have resources (and need to build the target as a framework bundle).
2014-10-19 21:59:37 +02:00
Ronald Wampler
986b9f54af Switch to programmatic CWTableCellView 2014-10-19 21:59:37 +02:00
Ronald Wampler
8902ccf4fe Don't use deprecated mate API 2014-10-19 21:59:37 +02:00
Ronald Wampler
7ae4b29421 Use grammar to set the default settings for git
This way the settings can also be applied in the Commit Window (and .git/MERGE_MSG).
2014-10-19 21:59:37 +02:00
Allan Odgaard
a0e297c3e0 Set custom name for the commit window document
This causes it to release its untitled token so that untitled documents created while the commit sheet is showing, does not appear to skip a number.
2014-10-19 21:59:25 +02:00
Ronald Wampler
8fd1e1088d Set path for the commit window document
This is so that the commit window’s text view sources project specific settings.
2014-10-19 21:52:26 +02:00
Allan Odgaard
062a939189 Workaround for traditional/simplified Chinese conversion service
After converting simplified Chinese (example: 已估计) to traditional Chinese, the pasteboard sent to readSelectionFromPasteboard: contains several string types, but some of them will return nil, and the one we get back when using “public.plain-text” (“public.utf16-external-plain-text”) is one of these.

To enable the conversion service add both Traditional and Simplified Chinese as languages in System Preferences → Language & Region.
2014-10-19 21:06:49 +02:00
Allan Odgaard
930ab2c496 Remember sort column when bundles are updated
Closes #1268
2014-10-19 20:26:00 +02:00
Allan Odgaard
30eeb88dac Maximum size of gutter image are now 1.5 times font’s cap height
We still prefer the line height but fonts like Everson Mono have a (calculated) line height twice that of the cap height which makes the images appear too big relative to the line numbers (which use a slightly smaller version of the text view’s font).

Closes #1267
2014-10-19 20:26:00 +02:00
Allan Odgaard
cf94c1c5ca Clear search gutter marks if find clipboard is changed 2014-10-19 20:26:00 +02:00
Allan Odgaard
e934d3ab2e Show number for search results when holding down command key
The number appears after command has been held down for 0.2 seconds and is meant as a hint about being able to press ⌘1-n to jump to the n’th file with matches.
2014-10-19 20:26:00 +02:00
Allan Odgaard
a1f1ab1d7d Add a ‘note’ gutter image (pointing hand) 2014-10-19 20:26:00 +02:00
Allan Odgaard
e559290503 Show popover window when clicking mark with associated value
We also suppress the “add bookmark” hover image when mouse is over a mark with associated value.
2014-10-19 20:26:00 +02:00
Allan Odgaard
72fbba6339 Associate value with a mark using: mate --set-mark «mark»:«value» 2014-10-19 20:26:00 +02:00
Allan Odgaard
d3b0ef3677 Allow a string value to be stored with each mark (document) 2014-10-19 20:26:00 +02:00
Allan Odgaard
2cb480364f Asking for marks of any type now return both type and value
Previously we would only return the type.
2014-10-19 20:26:00 +02:00
Allan Odgaard
862a543074 Don’t rebase mark positions when returning marks for a subset 2014-10-19 20:25:59 +02:00
Allan Odgaard
12b981a202 Simplify code to remove a bookmark 2014-10-19 20:25:59 +02:00
Allan Odgaard
a22801f615 Remove undesired space character 2014-10-19 20:25:59 +02:00
Allan Odgaard
0d917f8f94 Allow a string value to be stored with each mark (buffer)
We were already storing a string for each mark but was (redundantly) using the mark type as value.
2014-10-19 20:25:59 +02:00
Allan Odgaard
0b9cb46754 Improve thin tab bar overflow image 2014-10-19 20:25:59 +02:00
Allan Odgaard
f39ac2874a Reorder Edit → Find submenu
Also assign ⌥⌘G to the Replace menu item (previously this key equivalent was used for Replace & Find).
2014-10-18 14:02:42 +02:00
Allan Odgaard
8d8b6e4e9e Add menu item for Replace 2014-10-18 13:45:21 +02:00
Allan Odgaard
e22651f9d8 Add replace button to find dialog 2014-10-18 13:38:11 +02:00
Allan Odgaard
405e627c18 Add test for wrong checksum passed to document::replace 2014-10-18 13:03:01 +02:00
Allan Odgaard
9c9de99418 Verify checksum when replacing in non-open documents
If the checksum does not match we simply skip the document and does not show the replacement as having been done (in the UI).
2014-10-18 13:03:01 +02:00
Allan Odgaard
053b08456f Use a real content checksum when doing folder searching 2014-10-18 13:03:01 +02:00
Allan Odgaard
e71147a430 Use OakBackgroundFillView for our divider image
This is both simpler and more future proof since using an NSImageView requires a cell subclass to disable accessibility (voice over), and cells are deprecated.
2014-10-18 13:03:01 +02:00
Allan Odgaard
3447b88850 Support images with alpha in OakBackgroundFillView 2014-10-18 13:02:54 +02:00
Allan Odgaard
07b7200a73 When creating a label, don’t allow providing what class to use
Also change return type from NSImage* to NSView* when creating divider image.
2014-10-18 12:40:09 +02:00
Allan Odgaard
1404d25145 Don’t assume our divider is an NSImageView 2014-10-18 12:38:24 +02:00
Allan Odgaard
d35ee3b9ab Saved window frame was wrong if file browser didn’t adjust width 2014-10-18 12:37:59 +02:00
Allan Odgaard
3a86535022 Move boost crc include to PCH
Also use unsigned integer for the checksum.
2014-10-18 12:36:23 +02:00
Allan Odgaard
578a679ace Simplify test preparation code 2014-10-17 18:06:27 +02:00
Allan Odgaard
207c642614 Use number formatter for all numbers in search dialog 2014-10-17 15:28:03 +02:00
Allan Odgaard
65e72d9ed2 Allow both --clear-mark and --set-mark in one invocation of mate
The advantage is that TextMate will update the marks in a single refresh cycle, so there is no redraw after clearing the old marks and before setting the new, which could cause a short flash.

When using both, the --line arguments specified are used for --set-mark.
2014-10-17 13:42:08 +02:00
Allan Odgaard
d9cc82ced8 Handle both clearing and setting marks in same command stream 2014-10-17 13:31:13 +02:00