mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
Revert a series of accidentally rebased commits
This commit is contained in:
parent
838e784c5f
commit
ef18d6f70c
6 changed files with 14 additions and 30 deletions
|
@ -21,10 +21,3 @@ xcodebuild install -scheme install_tree -configuration Release DSTROOT=/tmp/fish
|
||||||
pkgbuild --scripts build_tools/osx_package_scripts --root /tmp/fish_pkg/root/ --identifier 'com.ridiculousfish.fish-shell-pkg' --version "$VERSION" /tmp/fish_pkg/intermediates/fish.pkg
|
pkgbuild --scripts build_tools/osx_package_scripts --root /tmp/fish_pkg/root/ --identifier 'com.ridiculousfish.fish-shell-pkg' --version "$VERSION" /tmp/fish_pkg/intermediates/fish.pkg
|
||||||
|
|
||||||
productbuild --package-path /tmp/fish_pkg/intermediates --distribution build_tools/osx_distribution.xml --resources build_tools/osx_package_resources/ ~/fish_built/fish.pkg
|
productbuild --package-path /tmp/fish_pkg/intermediates --distribution build_tools/osx_distribution.xml --resources build_tools/osx_package_resources/ ~/fish_built/fish.pkg
|
||||||
|
|
||||||
|
|
||||||
# Make the app
|
|
||||||
xcodebuild -scheme fish.app -configuration Release DSTROOT=/tmp/fish_app/
|
|
||||||
rm -f ~/fish_built/fish.app.zip
|
|
||||||
cd DerivedData/fish/Build/Products/Release/
|
|
||||||
zip -r ~/fish_built/fish.app.zip fish.app
|
|
||||||
|
|
20
fallback.cpp
20
fallback.cpp
|
@ -1503,20 +1503,14 @@ static int mk_wcwidth(wchar_t ucs)
|
||||||
|
|
||||||
static int mk_wcswidth(const wchar_t *pwcs, size_t n)
|
static int mk_wcswidth(const wchar_t *pwcs, size_t n)
|
||||||
{
|
{
|
||||||
int width = 0;
|
int w, width = 0;
|
||||||
for (size_t i=0; i < n; i++)
|
|
||||||
{
|
for (; *pwcs && n-- > 0; pwcs++)
|
||||||
if (pwcs[i] == L'\0')
|
if ((w = mk_wcwidth(*pwcs)) < 0)
|
||||||
break;
|
return -1;
|
||||||
|
else
|
||||||
|
width += w;
|
||||||
|
|
||||||
int w = mk_wcwidth(pwcs[i]);
|
|
||||||
if (w < 0)
|
|
||||||
{
|
|
||||||
width = -1;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
width += w;
|
|
||||||
}
|
|
||||||
return width;
|
return width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1190,7 +1190,7 @@
|
||||||
"DATADIR=L\\\"/usr/local/share\\\"",
|
"DATADIR=L\\\"/usr/local/share\\\"",
|
||||||
"SYSCONFDIR=L\\\"/usr/local/etc\\\"",
|
"SYSCONFDIR=L\\\"/usr/local/etc\\\"",
|
||||||
"BINDIR=L\\\"/usr/local/bin\\\"",
|
"BINDIR=L\\\"/usr/local/bin\\\"",
|
||||||
"FISH_BUILD_VERSION=\\\"2.1.0\\\"",
|
"FISH_BUILD_VERSION=\\\"2.0.0\\\"",
|
||||||
);
|
);
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
|
@ -1342,7 +1342,7 @@
|
||||||
"DATADIR=L\\\"/usr/local/share\\\"",
|
"DATADIR=L\\\"/usr/local/share\\\"",
|
||||||
"SYSCONFDIR=L\\\"/usr/local/etc\\\"",
|
"SYSCONFDIR=L\\\"/usr/local/etc\\\"",
|
||||||
"BINDIR=L\\\"/usr/local/bin\\\"",
|
"BINDIR=L\\\"/usr/local/bin\\\"",
|
||||||
"FISH_BUILD_VERSION=\\\"2.1.0\\\"",
|
"FISH_BUILD_VERSION=\\\"2.0.0\\\"",
|
||||||
);
|
);
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||||
|
@ -1370,7 +1370,7 @@
|
||||||
"DATADIR=L\\\"/usr/local/share\\\"",
|
"DATADIR=L\\\"/usr/local/share\\\"",
|
||||||
"SYSCONFDIR=L\\\"/usr/local/etc\\\"",
|
"SYSCONFDIR=L\\\"/usr/local/etc\\\"",
|
||||||
"BINDIR=L\\\"/usr/local/bin\\\"",
|
"BINDIR=L\\\"/usr/local/bin\\\"",
|
||||||
"FISH_BUILD_VERSION=\\\"2.1.0\\\"",
|
"FISH_BUILD_VERSION=\\\"2.0.0\\\"",
|
||||||
);
|
);
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
|
|
|
@ -183,7 +183,7 @@
|
||||||
#define PACKAGE_NAME "fish"
|
#define PACKAGE_NAME "fish"
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
/* Define to the full name and version of this package. */
|
||||||
#define PACKAGE_STRING "fish 2.1.0"
|
#define PACKAGE_STRING "fish 2.0.0"
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
/* Define to the one symbol short name of this package. */
|
||||||
#define PACKAGE_TARNAME "fish"
|
#define PACKAGE_TARNAME "fish"
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
#define PACKAGE_URL ""
|
#define PACKAGE_URL ""
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#define PACKAGE_VERSION "2.1.0"
|
#define PACKAGE_VERSION "2.0.0"
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
#define STDC_HEADERS 1
|
#define STDC_HEADERS 1
|
||||||
|
|
|
@ -260,7 +260,8 @@ void parse_util_cmdsubst_extent(const wchar_t *buff, size_t cursor_pos, const wc
|
||||||
/* No subshell found, all done */
|
/* No subshell found, all done */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Interpret NULL to mean the end */
|
|
||||||
|
/* Intrepret NULL to mean the end */
|
||||||
if (end == NULL)
|
if (end == NULL)
|
||||||
{
|
{
|
||||||
end = const_cast<wchar_t *>(buff) + bufflen;
|
end = const_cast<wchar_t *>(buff) + bufflen;
|
||||||
|
@ -272,9 +273,6 @@ void parse_util_cmdsubst_extent(const wchar_t *buff, size_t cursor_pos, const wc
|
||||||
begin++;
|
begin++;
|
||||||
ap = begin;
|
ap = begin;
|
||||||
bp = end;
|
bp = end;
|
||||||
/* pos is where to begin looking for the next one. But if we reached the end there's no next one. */
|
|
||||||
if (begin >= end)
|
|
||||||
break;
|
|
||||||
pos = begin + 1;
|
pos = begin + 1;
|
||||||
}
|
}
|
||||||
else if (begin >= cursor)
|
else if (begin >= cursor)
|
||||||
|
|
|
@ -19,7 +19,6 @@ body
|
||||||
top: 36px;
|
top: 36px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
-webkit-overflow-scrolling: touch; /* necessary for momentum scrolling */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fish_left_bar
|
.fish_left_bar
|
||||||
|
|
Loading…
Reference in a new issue