Commit Graph

3030 Commits

Author SHA1 Message Date
Allan Odgaard
c7ad4350d8 Checkin release notes v2.0-alpha.9573 2014-10-10 16:39:32 +02:00
Allan Odgaard
36e6172dba Add thin chevron image for the tab bar 2014-10-10 16:21:40 +02:00
Allan Odgaard
0d98d0df54 Add thin close button for all states 2014-10-10 14:15:11 +02:00
Allan Odgaard
56be5a90cd Use to_s instead of fileSystemRepresentation to guard against nil 2014-10-09 11:30:22 +02:00
Allan Odgaard
b876a6a577 Remove “Unsaved Changes” warning from find in folder dialog 2014-10-08 22:05:20 +02:00
Allan Odgaard
e4f62343f6 Save immediately after folder search‘n’replace on closed document 2014-10-08 22:03:48 +02:00
Allan Odgaard
012a700429 Allow clearing the (cached) content of a non-open document 2014-10-08 21:52:27 +02:00
Allan Odgaard
74ae2b21dd Bump document revision after doing folder search and replace
Without this, the document would not appear as modified (if it wasn’t already).
2014-10-08 21:51:17 +02:00
Allan Odgaard
591876f3f2 Introduce FFResultsViewController
This moves a lot of view related code out of the Find singleton.
2014-10-08 12:23:56 +02:00
Allan Odgaard
23a66a40b9 Move FFResultNode to its own file 2014-10-07 22:27:59 +02:00
Allan Odgaard
4d0f4b4c03 File names in search results stay dark gray (and bold)
Since the headers use a bigger font size than the document excerpts, making file names both black and bold, like the matches, makes them too dominant.
2014-10-07 19:10:27 +02:00
Allan Odgaard
8322954ec9 Ignore extended attribute storing foldings if content has changed 2014-10-07 18:24:27 +02:00
Allan Odgaard
3feec01e66 Add CRC 32 member function to io::bytes_t 2014-10-07 18:23:25 +02:00
Allan Odgaard
6b5daa5069 Update dialog plug-in (option parser) 2014-10-07 16:21:34 +02:00
Allan Odgaard
c03d312f0b Remove “anonymous usage info” from software update settings
We don’t actually have anything to include.
2014-10-07 14:49:54 +02:00
Allan Odgaard
355d3d03bd Change “Phone Home” label to “Crash Reports” 2014-10-07 14:47:22 +02:00
Allan Odgaard
a933284744 Save with Xcode 6.0.1 (6A317) 2014-10-07 14:45:42 +02:00
Allan Odgaard
c0c7f04a10 Only retrieve encoding settings during save when they are missing
Previously we would also retrieve settings for untitled documents, but we now rely on untitled documents getting their encoding settings from the choice made in the save panel.
2014-10-06 20:42:42 +02:00
Allan Odgaard
d9341386c7 Provide save panel with current document’s encoding settings
This is instead of the encoding settings for the initially proposed save path.
2014-10-06 20:42:42 +02:00
Allan Odgaard
acde8a019d Update encoding settings in save panel when save folder changes 2014-10-06 20:42:42 +02:00
Allan Odgaard
44b8d5986f Go via set_disk_encoding member function 2014-10-06 20:42:42 +02:00
Allan Odgaard
6928505062 Only set encoding settings (post open) for documents with a path 2014-10-06 20:42:38 +02:00
Allan Odgaard
26dfefc7d5 Revert "Simplify constraints used to layout document window"
This reverts commit 9a85ff2d57.

The problem with priorities (less than required) is that it allows for the constraint to not be satisfied, which could cause the document view to overlap file browser (or be cut by window’s content view) when the size available for the document view was less than its fitting size.
2014-10-05 21:51:35 +02:00
Allan Odgaard
8760e970db Do not set default settings for Makefile (only source.makefile)
The problem is that if the user changes default settings then these are recorded for the current scope, which has lower precedence than settings set for a glob, so it was effectively impossible for the user to change soft tabs settings for Makefiles (without editing a .tm_properties file).

Also removed the ‘*.ninja’ glob for the same reason.
2014-10-03 21:49:13 +02:00
Allan Odgaard
6f68d2afb1 Titlecase does not preserve case when everything is uppercase 2014-10-03 21:49:13 +02:00
Allan Odgaard
aa96f1f342 Account for tar potentially failing 2014-10-03 21:49:13 +02:00
Allan Odgaard
55765b5769 Checkin release notes 2014-10-03 21:49:13 +02:00
Allan Odgaard
e92759af78 Ensure we create signature before uploading file
This is so that we do not upload anything if signature creation fails.
2014-10-03 21:49:13 +02:00
Allan Odgaard
9a326d1f5f Do not prevent empty lines from being a fold start/stop marker
This is compatible with how TextMate 1.x works. We identify empty lines because we want to ignore them when finding the last line in an indented block, though this commit should not break that, unless the language in question have one of the folding patterns match empty lines and have also enabled indent based foldings.
2014-10-03 21:49:13 +02:00
Allan Odgaard
1547462212 Set MATEFLAGS to ‘--no-recent’ for TextMate commands
This way commands that open files via TM_MATE will not fill up the Open Recent menu.
2014-10-03 21:49:12 +02:00
Allan Odgaard
29019d536b Read mate options from the MATEFLAGS environment variable
This is useful for users who want to permanently set things like --[no-]recent and --[no-]escapes.
2014-10-03 21:49:09 +02:00
Allan Odgaard
dcf647236c Use thin close button images on 10.10 2014-10-03 21:12:59 +02:00
Allan Odgaard
f9ee7caf31 Add thin close button image 2014-10-03 21:12:53 +02:00
Allan Odgaard
243d1c8808 Add contentFrame property to OakTabItemView
This should return the content excluding borders and is used to create an image when dragging tabs. Long-term we probably should create a special drag image rather than ask the tab to draw itself.
2014-10-02 19:57:26 +02:00
Allan Odgaard
444df54849 Use different tab background/divider images on 10.10 2014-10-02 19:17:29 +02:00
Allan Odgaard
1a3d76880c Refactor 2014-10-02 19:15:50 +02:00
Allan Odgaard
93624253ce Add left/right padding properties to OakTabBarStyle 2014-10-02 18:56:20 +02:00
Allan Odgaard
9a85ff2d57 Simplify constraints used to layout document window
We now do the core layout with priorities that allow optional elements to insert themselves between existing elements.
2014-10-02 17:49:40 +02:00
Adam Strzelecki
b137014777 Tabs above document file browser header in tab bar
Integrate visually file manager header in tab bar when tabs above document
option in on. If tabs above document are off then use default gradient L&F.

Bottom divider for file browser header view is not integrated in header for
easier control if it is shown or not.
2014-10-02 11:03:41 +02:00
Allan Odgaard
1c3b5c170a Use template image for tab bar overflow button 2014-10-02 11:03:41 +02:00
Allan Odgaard
929d7ed80e Set button background as raised when using a template image 2014-10-02 11:03:41 +02:00
Allan Odgaard
7c05b6c611 Require mouse to be moved 2.5 points before dragging a tab 2014-10-02 11:03:41 +02:00
Allan Odgaard
8c44780616 Update dialog plug-ins (font sizes) 2014-10-02 11:03:41 +02:00
Allan Odgaard
a40efd3971 Support OakBundleManagerDisambiguateMenuFontSize
This was supported by TextMate 1.x and are also used by the menus brought up by the dialog plug-ins.
2014-10-02 11:03:40 +02:00
Allan Odgaard
197222f93e Disable find action buttons when there is no find string 2014-10-02 11:03:40 +02:00
Allan Odgaard
c080a5d5d3 Use NSNegateBooleanTransformerName constant instead of string 2014-10-02 11:03:40 +02:00
Allan Odgaard
639f1d282f Remove OakCreateSmallLabel helper since it’s only used once 2014-09-30 17:08:01 +02:00
Allan Odgaard
bb87e6fabe Do not relayout tabs to the left of clicked close button
Previously we would still perform layout on the tabs to the left since with tabs having equal width, the layout should result in the same. Now that we compress tabs, the layout can change.

In theory the user could close a tab, have the mouse remain inside the tab bar, and then perform an action that changes the underlying tabs, which would then leave us with tab item views that need layout.
2014-09-30 17:05:54 +02:00
Allan Odgaard
5de3b2558a Redistribute tab whitespace to minimize title compression 2014-09-30 17:05:53 +02:00
Allan Odgaard
894314592f Enable tab overflow button before doing layout
This is so that we can use fittingSize during layout (i.e. have it include the width of the overflow button when the tab item view shows it).
2014-09-30 17:05:53 +02:00