Allan Odgaard
32a3d939cd
Checkin release notes
v2.0-beta.5.1
v2.0-beta.5
2014-10-29 22:20:48 +01:00
Allan Odgaard
10c135e803
Swap “New File” and “New Folder” key equivalents to match Finder
2014-10-29 21:47:37 +01:00
Allan Odgaard
165000d00c
Add “Show in Finder” context menu actions to bundle editor
...
When a default/pristine item has local changes, the Show in Finder menu item shows a submenu with all the paths.
2014-10-29 21:39:52 +01:00
Allan Odgaard
2c58bb80f9
Introduce ‘disableTabAutoClose’ defaults key
...
This disables tabs from closing when the tab bar overflows.
2014-10-29 20:47:59 +01:00
Allan Odgaard
f2c54e0e72
Don’t restore untitled document window with no project path
2014-10-29 20:36:19 +01:00
Allan Odgaard
503b01e56b
Make search field first responder before showing window
...
On Yosemite the search field will do an animation when made first responder and while this is happening, it appears that the effective first responder remains unchanged, so if we set first responder after ordering front the window, the user’s input may not go to the expected interface element.
2014-10-29 12:46:33 +01:00
Allan Odgaard
3588f26395
Remove unused include
2014-10-29 12:40:58 +01:00
Allan Odgaard
8462eb6512
Remove unused NSView, NSWindow, and NSScreen categories
2014-10-29 12:40:37 +01:00
Allan Odgaard
19f4695a2b
Do not use weak pointer for NSSavePanel (crashes on 10.7)
2014-10-29 12:27:02 +01:00
Allan Odgaard
ce35b78fba
Fix include path (make it relative to current directory)
2014-10-29 12:26:29 +01:00
Allan Odgaard
609558edac
Regexp search a 5+ MB file could find matches in wrong locations
...
The code was supposed to stop the search after 5 MB, this didn’t always work, and when it worked, the returned match offsets were not always correct (as they didn’t account for the capped buffer size).
2014-10-29 12:24:12 +01:00
Ronald Wampler
b9b9a7fa54
Bring the action button back for the commit window
...
The new layout allows us to place the action button back in its original place when the table is revealed.
2014-10-28 23:03:40 -04:00
Ronald Wampler
b9b6ecf025
Disable toggle button in the commit window when animating
2014-10-28 23:03:40 -04:00
Ronald Wampler
c4f7b38882
Rename populateTableView to setupArrayController
...
With the previous refactoring the new name is more appropriate.
2014-10-28 23:00:47 -04:00
Ronald Wampler
12f964c3fa
Commit Window: Refactor
...
The view layout is rearranged in order to animate showing the table, which is now shown below the toggle button with the Cancel and Commit buttons sliding down. Additionally, when not showing the table we remove all relevant views from memory.
2014-10-28 22:59:19 -04:00
Allan Odgaard
6e9874a5d0
Introduce heuristic priorities for gutter images
...
Images with associated text are preferred, after that, bookmarks, and last are custom marks (without associated text).
2014-10-21 09:53:17 +02:00
Allan Odgaard
74c76fb2aa
Don’t assert CFSocket functions always succeed
2014-10-21 09:51:36 +02:00
Allan Odgaard
df1a29d7b0
Improve window restoring
...
Zoom or minimize windows before ordering them front, and for the latter, don’t actually order them front (as that magnifies them). Also order front windows without also setting the window as key window.
2014-10-21 09:28:52 +02:00
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