1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-23 19:21:53 +03:00

Merge branch 'master' into update-neovim

This commit is contained in:
Tae Won Ha 2022-09-10 15:49:07 +02:00
commit fefd5d78f4
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
7 changed files with 34 additions and 32 deletions

View File

@ -115,21 +115,21 @@ extension TabBar {
stack.autoPinEdge(toSuperviewEdge: .bottom)
stack.spacing = self._theme.tabSpacing
stack.postDraggingHandler = { stackView, draggedView in
self.tabs = stackView.arrangedSubviews.compactMap { $0 as? Tab<Rep> }
stack.postDraggingHandler = { [weak self] stackView, draggedView in
self?.tabs = stackView.arrangedSubviews.compactMap { $0 as? Tab<Rep> }
if let draggedTab = draggedView as? Tab<Rep>,
let indexOfDraggedTab = self.tabs.firstIndex(where: { $0 == draggedTab })
let indexOfDraggedTab = self?.tabs.firstIndex(where: { $0 == draggedTab })
{
self.reorderHandler?(
self?.reorderHandler?(
indexOfDraggedTab,
draggedTab.tabRepresentative,
self.tabs.map(\.tabRepresentative)
self?.tabs.map(\.tabRepresentative) ?? []
)
}
let endIndex = stackView.arrangedSubviews.endIndex - 1
self.tabs.enumerated().forEach { index, tab in
self?.tabs.enumerated().forEach { index, tab in
tab.position = []
if index == 0 { tab.position.insert(.first) }
if index == endIndex { tab.position.insert(.last) }

View File

@ -1127,7 +1127,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220703.104316;
CURRENT_PROJECT_VERSION = 20220910.153746;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@ -1188,7 +1188,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 20220703.104316;
CURRENT_PROJECT_VERSION = 20220910.153746;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
@ -1217,7 +1217,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20220703.104316;
CURRENT_PROJECT_VERSION = 20220910.153746;
DEFINES_MODULE = YES;
IBC_MODULE = VimR;
INFOPLIST_FILE = VimR/Info.plist;
@ -1239,7 +1239,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20220703.104316;
CURRENT_PROJECT_VERSION = 20220910.153746;
DEFINES_MODULE = YES;
IBC_MODULE = VimR;
INFOPLIST_FILE = VimR/Info.plist;

View File

@ -1224,7 +1224,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.42.0</string>
<string>0.42.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@ -1241,7 +1241,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>20220703.104316</string>
<string>20220910.153746</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSMinimumSystemVersion</key>

View File

@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.42.0</string>
<string>0.42.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>20220703.104316</string>
<string>20220910.153746</string>
</dict>
</plist>

View File

@ -6,23 +6,22 @@
<description>Most recent changes with links to updates for VimR.</description>
<language>en</language>
<item>
<title>v0.42.0-20220703.104316</title>
<title>v0.42.1-20220910.153746</title>
<link>https://twitter.com/vimrefined</link>
<sparkle:version>20220703.104316</sparkle:version>
<sparkle:shortVersionString>v0.42.0</sparkle:shortVersionString>
<sparkle:version>20220910.153746</sparkle:version>
<sparkle:shortVersionString>v0.42.1</sparkle:shortVersionString>
<description><![CDATA[
<ul>
<li>Add <code>VimRRefreshFileBrowser</code> and <code>VimRRevealCurrentBufferInFileBrowser</code> functions. Thanks @jaanauati for the PR!</li>
<li>Include <code>libintl</code> again.</li>
<li>Bugfix: Memory leak (custom tabs).</li>
</ul>
]]></description>
<releaseNotesLink>
https://github.com/qvacua/vimr/releases/tag/v0.42.0-20220703.104316
https://github.com/qvacua/vimr/releases/tag/v0.42.1-20220910.153746
</releaseNotesLink>
<pubDate>2022-07-03T10:54:09.065903</pubDate>
<pubDate>2022-09-10T15:46:20.838961</pubDate>
<minimumSystemVersion>10.13.0</minimumSystemVersion>
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.42.0-20220703.104316/VimR-v0.42.0.tar.bz2"
sparkle:edSignature="QK450vv5rdWyzpT7lJ9f4aFeL8VNbb1Izr/fb7wSVZhrIsNXn5tNI8p5ERiY+R1GxQFK5AWKYuvBDHwdYEuHDQ==" length="21355522"
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.42.1-20220910.153746/VimR-v0.42.1.tar.bz2"
sparkle:edSignature="TVgFx+Ceev99TOq4Xc1iSu4uh7Ko+sS2tiyyM607inTsxbDNL3lr+Cm/WzloyNdrLC85ifMSq6AhPfAwkJaQCQ==" length="21437371"
type="application/octet-stream"/>
</item>
</channel>

View File

@ -6,23 +6,22 @@
<description>Most recent changes with links to updates for VimR.</description>
<language>en</language>
<item>
<title>v0.42.0-20220703.104316</title>
<title>v0.42.1-20220910.153746</title>
<link>https://twitter.com/vimrefined</link>
<sparkle:version>20220703.104316</sparkle:version>
<sparkle:shortVersionString>v0.42.0</sparkle:shortVersionString>
<sparkle:version>20220910.153746</sparkle:version>
<sparkle:shortVersionString>v0.42.1</sparkle:shortVersionString>
<description><![CDATA[
<ul>
<li>Add <code>VimRRefreshFileBrowser</code> and <code>VimRRevealCurrentBufferInFileBrowser</code> functions. Thanks @jaanauati for the PR!</li>
<li>Include <code>libintl</code> again.</li>
<li>Bugfix: Memory leak (custom tabs).</li>
</ul>
]]></description>
<releaseNotesLink>
https://github.com/qvacua/vimr/releases/tag/v0.42.0-20220703.104316
https://github.com/qvacua/vimr/releases/tag/v0.42.1-20220910.153746
</releaseNotesLink>
<pubDate>2022-07-03T10:54:09.065903</pubDate>
<pubDate>2022-09-10T15:46:20.838961</pubDate>
<minimumSystemVersion>10.13.0</minimumSystemVersion>
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.42.0-20220703.104316/VimR-v0.42.0.tar.bz2"
sparkle:edSignature="QK450vv5rdWyzpT7lJ9f4aFeL8VNbb1Izr/fb7wSVZhrIsNXn5tNI8p5ERiY+R1GxQFK5AWKYuvBDHwdYEuHDQ==" length="21355522"
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.42.1-20220910.153746/VimR-v0.42.1.tar.bz2"
sparkle:edSignature="TVgFx+Ceev99TOq4Xc1iSu4uh7Ko+sS2tiyyM607inTsxbDNL3lr+Cm/WzloyNdrLC85ifMSq6AhPfAwkJaQCQ==" length="21437371"
type="application/octet-stream"/>
</item>
</channel>

View File

@ -1,5 +1,9 @@
# Next
* Bugfix: Memory leak (custom tabs).
# 0.42.0-20220703.104316
* Add `VimRRefreshFileBrowser` and `VimRRevealCurrentBufferInFileBrowser` functions. Thanks @jaanauati for the PR!
* Include `libintl` again.