Commit Graph

2946 Commits

Author SHA1 Message Date
Allan Odgaard
bf73951ec9 Checkin release notes v2.0-alpha.9567 2014-09-26 23:18:48 +02:00
Allan Odgaard
e7bfe7b238 Fix reappearing regular expression error popover
If it was shown and dismissed, then it would show again the next time the text field content was changed (and the content was not a valid expression).
2014-09-26 23:10:24 +02:00
Allan Odgaard
e064491261 By default we no longer show the tab bar for a single document
Once we have two documents (in same window) we show the tab bar and never hides it again (to avoid content from jumping.
2014-09-26 23:10:24 +02:00
Allan Odgaard
5eb7ede829 Don’t ignore case changes on case-insensitive file systems 2014-09-26 23:10:24 +02:00
Allan Odgaard
89d2450c88 Reload tabs before changing selected tab index
This worked previously because selected tab was stored using an index and we were only changing it (before reload) when closing tabs, so the new index would be valid both before and after reload.

With the new OakTabBarView the index of selected tab is instantly converted into a reference to a tab item.
2014-09-26 23:10:24 +02:00
Allan Odgaard
cb463534b8 Make window key in actions that show file browser field editor
It is possible to bring up menus for inactive windows and e.g. select Rename or Duplicate.
2014-09-26 23:10:24 +02:00
Allan Odgaard
a983643fb8 Workaround for weak pointers to NSWindow crashing on 10.7 2014-09-26 23:10:24 +02:00
Ronald Wampler
a627991ac3 HOBrowserView: Avoid calling super on key events
This workaround is to avoid a couple of undesired behaviors in the `HTMLOutputWindow` when the web page implements keyboard commands such as Git → Browse Annotated File (Blame). Namely, when using the keyboard commands, we would always receive an NSBeep. Also, fixed an issue when these key commands may conflict with menu keys. See comment in the commit for details.
2014-09-26 23:10:24 +02:00
Allan Odgaard
13a3ac49ba Update OakTabBarView class to use an NSView per tab item 2014-09-26 23:10:24 +02:00
Allan Odgaard
baff543c47 Add OakTabItemView to be used in upcoming OakTabBarView 2014-09-26 23:10:23 +02:00
Allan Odgaard
6a81bad1e4 Add “create tab” images from MMTabBarView 2014-09-25 22:48:13 +02:00
Allan Odgaard
cba03ff594 Add tab images from Safari 2014-09-25 22:48:13 +02:00
Allan Odgaard
b7088bac3d Add OakRolloverButton 2014-09-25 22:48:13 +02:00
Allan Odgaard
7ebd14876c Introduce OakBackgroundFillView which replaces NSBox for dividers
This view has an active/inactive color or image. The latter is drawn as a pattern color (tiled image).
2014-09-25 19:33:17 +02:00
Allan Odgaard
e54a170eae NSBox is an implementation detail so use NSView instead 2014-09-25 19:33:17 +02:00
Allan Odgaard
1f06ac9ff4 Add identifier to OakTabBarViewDataSource 2014-09-25 19:33:16 +02:00
Allan Odgaard
cf3b830610 Make the ‘expanded’ property of OakTabBarView private 2014-09-20 13:47:30 +02:00
Allan Odgaard
bff8094976 Decrease minimum required width of document status bar 2014-09-19 11:40:29 +02:00
Allan Odgaard
da669a482c Update documentation reference in comment 2014-09-19 07:37:15 +02:00
Allan Odgaard
6f4afd97fa Checkin release notes v2.0-alpha.9565 2014-09-17 11:41:40 +02:00
Allan Odgaard
c2ef79c10c Update dialog plug-in 2014-09-17 11:12:56 +02:00
Allan Odgaard
ec81a045af Force a layout before opening window (from tests)
This appears to be a requirement (to do it manually). Running 10.9.4.
2014-09-17 10:35:25 +02:00
Allan Odgaard
ed29cf9374 Ensure a capture begin/end rule does not leak its scope
Previously if a capture contained a begin/end rule with an unsatisfied end match then its scope would be applied beyond the end of the capture.
2014-09-16 20:38:09 +02:00
Allan Odgaard
651138d660 Update debug output 2014-09-16 14:54:11 +02:00
Allan Odgaard
b265927501 Perform cache invalidation for value_for_setting cache 2014-09-16 14:22:54 +02:00
Allan Odgaard
1d3ccb157a Use a std::string instead of scope_t as cache key
Since we do a lot of lookups the faster operator< of std::string improves performance slightly.
2014-09-16 14:13:06 +02:00
Allan Odgaard
de6724aad5 Minor scope_t implementation improvements
We let std::string do comparisons and we shortcut the equivalence test for scope_t when the node pointers are identical.
2014-09-16 13:57:52 +02:00
Allan Odgaard
d9dfeff56b Introduce a cache for value_for_setting
Currently no cache invalidation is done.
2014-09-16 13:13:12 +02:00
Allan Odgaard
b6c77d1960 Change behavior and implementation of to_s overload for scopes
For a scope context with identical left/right scopes we now return the scope without “decoration” and when the left/right scopes differ, we return them separated by the unit separator character.

The change is motivated by the need to use the result of to_s as a cache key where speed is important.
2014-09-16 12:54:48 +02:00
Allan Odgaard
356999392d Remove crash report info gathering from buffer type
This was affecting performance when performing actions that go through the entire buffer. Also, none of the functions are involved in any crash reports.
2014-09-15 20:41:51 +02:00
Allan Odgaard
8a87ee16e2 Only allow a single history window per clipboard type 2014-09-15 17:41:54 +02:00
Allan Odgaard
3dcd9ba89b Make OakPasteboard’s name property public 2014-09-15 17:37:20 +02:00
Allan Odgaard
ee3f90366d Remember Filter Through Command output choice in user defaults 2014-09-15 17:08:22 +02:00
Allan Odgaard
8224994f5d Convert dragged indexes to items when starting a drag operation
The indexes are not always valid when the drag ends because rows can have been expanded or (when dragging to another file browser) removed.
2014-09-15 12:42:02 +02:00
Allan Odgaard
ab83cc6e50 Strip diacritics and combining marks when asciifying
Previously we would transliterate æ → ae and å → a (via iconv) but something like é became 'e.

Related to issue textmate/latex.tmbundle#87.
2014-09-15 11:02:25 +02:00
Allan Odgaard
279fdbbd3f Add new folder search options to action/options menu 2014-09-14 19:12:19 +02:00
Allan Odgaard
2474af5d16 Skip searching binary files
Binary files are identified by containing a null byte (after applying encoding heuristics and decoding potential UTF-16 etc.).
2014-09-14 18:28:39 +02:00
Allan Odgaard
9a3ab4c46f Add option to search linked files (rather than folders)
Also reworked API slightly to make things more explicit.
2014-09-14 18:17:00 +02:00
Allan Odgaard
2d3de8513c Using ⌘G after a folder search no longer visits removed documents 2014-09-14 17:27:00 +02:00
Allan Odgaard
0ed6ae555c Extend folder search glob when removing result and holding option
This is a quick way to exclude the file from future searches.
2014-09-14 17:14:05 +02:00
Allan Odgaard
e78a9ced21 Make glob string property settable 2014-09-14 17:11:22 +02:00
Allan Odgaard
7920c930c3 Use Objective-C boxing instead of stringWithUTF8String: 2014-09-13 17:09:22 +02:00
Allan Odgaard
c5e1303a2a Rename stdinFd variable to inputFd
This is just to make it consistent with our outputFd and errorFd variable names.
2014-09-13 16:19:07 +02:00
Allan Odgaard
01543db36f Show malformed match result “warning” with correct font size 2014-09-13 15:53:52 +02:00
Allan Odgaard
dd0afb381f Set regexp error popover behavior to NSPopoverBehaviorTransient
This allows using escape to close the popover.
2014-09-12 16:17:35 +02:00
Allan Odgaard
5d4fe11e70 Speedup tool-tip fadeout except when closing due to mouse moved 2014-09-10 15:28:19 +02:00
Allan Odgaard
73b21bd836 Move WebView related print support to OakHTMLOutputView 2014-09-10 14:02:08 +02:00
Allan Odgaard
707da020bb Ensure our HTML output view is first responder after load
When redirecting to a PDF file the PDFView (inside the WebView) is not made first responder (on 10.9, it might have worked on 10.8).
2014-09-10 13:46:39 +02:00
Allan Odgaard
a4f47a7bfc Use Core Animation for the open document animation (zooming icon) 2014-09-10 13:34:11 +02:00
Allan Odgaard
d0ba80d72e Update dialog-1.x plug-in 2014-09-10 12:33:17 +02:00