| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
This is quite ugly because the syntax is ugly, the documentation both
under- and overspecified at the same time (a BNF that isn't...) and it
has a lot of functionality.
But the completion works half-decent for `ip address`, so let's ship it.
|
| |
| |
| |
| |
| | |
Rather than using porcelain commands, try using plumbing for a more
stable interface with less string munging.
|
| | |
|
| |
| |
| |
| | |
It's not required as part of fallback functions any more.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Drops configure check for wcsdup, wcslen, wcscasecmp, wcsncasecmp,
wcwidth, wcswidth, wcstok, fputwc, fgetwc, and wcstol. Drop the fallback
implementations of these on non-Snow Leopard platforms.
Work on #2999.
|
| |
| |
| |
| |
| |
| |
| | |
All modern operating systems implement fwprintf, including NetBSD (which
introduced them in 2005).
Work on #2999.
|
| |
| |
| |
| |
| |
| |
| | |
sysconf was introduced in IEEE Std 1003.1-1988 (POSIX.1) and exists
on every system I can find.
Work on #2999.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fwprintf would segfault on DragonFly BSD 1.4.0, released in January
2006. This was fixed by DragonFly BSD 1.4.4, released in April 2006. It
seems unlikely that anyone is still running a ten-year-old, unsupported
version, and hoping that fish will continue to build.
I've checked this in virtual machines.
Work on #2999.
|
| |
| |
| |
| | |
Work on #2999.
|
| |
| |
| | |
Work on #2999.
|
| |
| |
| | |
Work on #2999.
|
| |
| |
| |
| |
| |
| |
| | |
375bef44432a0fad7ebbd3634a3e950e2d457ec1 includes the appropriate
autoconf method of checking for this feature flag.
Work on #2999.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The autoconf-generated config.h contains a number of directives which
may alter the behaviour of system headers on certain platforms. Always
include it in every C++ file as the first include.
Closes #2993.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of just using Courier New across the board, have the
browser try several likely available fonts before defaulting
to the system's "monospace".
Thanks @MarkGriffiths
Fixes #2924
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change does several things. First, and most important, it allows
dumping the "n" most recent stack frames on each debug() call. Second,
it demangles the C++ symbols. Third, it prepends each debug() message
with the debug level.
Unrelated to the above I've replaced all `assert(!is_forked_child());`
statements with `ASSERT_IS_NOT_FORKED_CHILD()` for consistency.
|
| |
| |
| |
| |
| |
| |
| | |
Fix a minor bogosity I noticed while building fish on OS X Snow
Leopard. It's technically not a bug because only old compilers complain
about the original statement but this change makes the one line this
changes consistent with the rest of the fish code.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's currently too easy for someone to bork their shell by doing something
like `function test; return 0; end`. That's obviously a silly, contrived,
example but the point is that novice users who learn about functions are
prone to do something like that without realizing it will bork the shell. Even
expert users who know about the `test` builtin might forget that, say, `pwd`
is a builtin.
This change adds a `--shadow-builtin` flag that must be specified to
indicate you know what you're doing.
Fixes #3000
|
| |
| |
| |
| |
| |
| | |
I'm doing this as part of fixing issue #2980. The code for managing tty modes
and job control is a horrible mess. This is a very tiny step towards improving
the situation.
|
| |
| |
| |
| | |
(cherry picked from commit 149e601743f2ad85df8a3bd0cc857bfd0387ef67)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
It's about time I finally fixed my emacs config.
|
| |
| |
| |
| | |
characters are given
|
| |
| |
| |
| |
| | |
Because it allows sub-subcommands, it has functions to determine which,
if any, is used. These were too simplistic.
|
| | |
|
| |
| |
| |
| | |
This _should_ be all of them.
|
| |
| |
| |
| |
| |
| | |
Now we can easily add an option to multiple commmands.
This should also fix some edgecases.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The original `key_reader` program was useful but didn't do much that `xxd`
or `od -tx1z` didn't do. Furthermore, it wasn't built and installed by
default. This change adds features that make it superior to those programs
for decoding interactive key presses and makes it a first-class citizen
like the `fish_indent` program that is always available.
Fixes #2991
|
| | |
|
| |
| |
| |
| |
| |
| | |
I'm going to modify these functions as part of dealing with issue #3000
and don't want those changes to be masked by running the files through
`make style`.
|
| |
| |
| |
| |
| | |
I noticed while working on an unrelated change that deleting a file caused
`make lint` to behave in an unexpected manner.
|
| |
| |
| |
| | |
(cherry picked from commit ac47100a7d89d53fa2c44c7de692617741387f38)
|
| |
| |
| |
| |
| |
| | |
See #3002.
(cherry picked from commit 1d101ef3d01a7a8f7e651527fc81ee4bd4588ac5)
|
| |
| |
| |
| | |
(cherry picked from commit 59c8800c4d0c77d8f6490f47b78e9465aaa474e4)
|
| |
| |
| |
| | |
(cherry picked from commit 100eef4e426402ebde1040dbfab8ded5a20854d1)
|
| | |
|
| | |
|
| |
| |
| |
| | |
See #3002.
|
| | |
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 01e5ca5c9679b8745f660469afc1995c3c44f3fd)
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
| |
| |
| |
| | |
the Readme
|
|\|
| |
| |
| | |
(Bump version numbers to reflect post-2.3b2)
|
| |
| |
| |
| | |
(cherry picked from commit 1c6f6df2b3ae4a13d89242964ca3dbd3c146d1fe)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The fork (create new process) related debugging messages rely on an
undocumented env var and use `printf()` rather than `debug()`. There are
also errors in how the fork count is tracked that this fixes.
Fixes #2995
|
| | |
|
| |
| |
| |
| |
| | |
The remaining lint work to be done on screen.cpp will require refactoring
several functions that are way too large and complex.
|