aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* | Add completion for `ip`Gravatar Fabian Homborg2016-05-19
| | | | | | | | | | | | | | | | 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.
* | lint, style: use git plumbing commandsGravatar David Adam2016-05-18
| | | | | | | | | | Rather than using porcelain commands, try using plumbing for a more stable interface with less string munging.
* | configure: fix _nl_msg_cat_cntr checkGravatar David Adam2016-05-18
| |
* | move convert_digit from fallback to commonGravatar David Adam2016-05-18
| | | | | | | | It's not required as part of fallback functions any more.
* | fallback: drop fallbacks for C99/C++0x wide character functionsGravatar David Adam2016-05-18
| | | | | | | | | | | | | | | | 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.
* | fallback: remove fwprintf and friends fallbacksGravatar David Adam2016-05-18
| | | | | | | | | | | | | | All modern operating systems implement fwprintf, including NetBSD (which introduced them in 2005). Work on #2999.
* | fallback: remove sysconf fallbackGravatar David Adam2016-05-18
| | | | | | | | | | | | | | sysconf was introduced in IEEE Std 1003.1-1988 (POSIX.1) and exists on every system I can find. Work on #2999.
* | configure: drop fwprintf testGravatar David Adam2016-05-18
| | | | | | | | | | | | | | | | | | | | | | 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.
* | configure: drop tests for ancient platformsGravatar David Adam2016-05-18
| | | | | | | | Work on #2999.
* | configure: drop unnecessary feature flag checksGravatar David Adam2016-05-18
| | | | | | Work on #2999.
* | configure: Use standard macro to enable Large File SupportGravatar David Adam2016-05-18
| | | | | | Work on #2999.
* | configure: drop manual checks for __EXTENSIONS__Gravatar David Adam2016-05-18
| | | | | | | | | | | | | | 375bef44432a0fad7ebbd3634a3e950e2d457ec1 includes the appropriate autoconf method of checking for this feature flag. Work on #2999.
* | add (or restore) config.h to all filesGravatar David Adam2016-05-18
| | | | | | | | | | | | | | | | 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.
* | Use fonts found on terminals for the web config.Gravatar Aaron Gyes2016-05-18
| | | | | | | | | | | | | | | | | | 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
* | make debug() output more usefulGravatar Kurtis Rader2016-05-17
| | | | | | | | | | | | | | | | | | | | 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.
* | trivial fix to fish_tests.cppGravatar Kurtis Rader2016-05-16
| | | | | | | | | | | | | | 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.
* | add `function --shadow-builtin` flagGravatar Kurtis Rader2016-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | rename get_is_interactive and remove stupid testGravatar Kurtis Rader2016-05-14
| | | | | | | | | | | | 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.
| * Remove the errant newline in __fish_cancel_commandline againGravatar ridiculousfish2016-05-13
| | | | | | | | (cherry picked from commit 149e601743f2ad85df8a3bd0cc857bfd0387ef67)
* | Remove the errant newline in __fish_cancel_commandline againGravatar ridiculousfish2016-05-13
| |
* | git: Complete reflog for resetGravatar Fabian Homborg2016-05-13
| |
* | fix typo in webconfig.py commentGravatar CoolOppo2016-05-11
| |
* | Indent git completionGravatar Fabian Homborg2016-05-11
| | | | | | | | It's about time I finally fixed my emacs config.
* | git completion: Complete commits for cherry-pick if at least threeGravatar Fabian Homborg2016-05-11
| | | | | | | | characters are given
* | git completion: Fix option-before-command for stashGravatar Fabian Homborg2016-05-11
| | | | | | | | | | Because it allows sub-subcommands, it has functions to determine which, if any, is used. These were too simplistic.
* | git completion: More stringificationGravatar Fabian Homborg2016-05-11
| |
* | git completion: Allow --pretty for more commandsGravatar Fabian Homborg2016-05-11
| | | | | | | | This _should_ be all of them.
* | git completion: Allow more than one arg to using_commandGravatar Fabian Homborg2016-05-11
| | | | | | | | | | | | Now we can easily add an option to multiple commmands. This should also fix some edgecases.
* | git completion: Show commits for revert and tag --containsGravatar Fabian Homborg2016-05-11
| |
* | Add git commit --fixup completions (#3021)Gravatar Terje Larsen2016-05-11
| |
* | enhance the key_reader programGravatar Kurtis Rader2016-05-10
| | | | | | | | | | | | | | | | | | | | 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
* | restyle the key_reader sourceGravatar Kurtis Rader2016-05-10
| |
* | fix the style of several functionsGravatar Kurtis Rader2016-05-08
| | | | | | | | | | | | 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`.
* | only deal with files that existGravatar Kurtis Rader2016-05-08
| | | | | | | | | | I noticed while working on an unrelated change that deleting a file caused `make lint` to behave in an unexpected manner.
| * Add tags to completion list for git show. (#2998)Gravatar Daniel Bergmann2016-05-08
| | | | | | | | (cherry picked from commit ac47100a7d89d53fa2c44c7de692617741387f38)
| * docs: Mention cartesian product in variable-expansion sectionGravatar Fabian Homborg2016-05-08
| | | | | | | | | | | | See #3002. (cherry picked from commit 1d101ef3d01a7a8f7e651527fc81ee4bd4588ac5)
| * Added completions for rmmod (#3007)Gravatar [Redacted]2016-05-08
| | | | | | | | (cherry picked from commit 59c8800c4d0c77d8f6490f47b78e9465aaa474e4)
| * docs: fix location of generated_completions (#3010)Gravatar Vladimír Čunát2016-05-08
| | | | | | | | (cherry picked from commit 100eef4e426402ebde1040dbfab8ded5a20854d1)
* | docs: fix location of generated_completions (#3010)Gravatar Vladimír Čunát2016-05-08
| |
* | Added completions for rmmod (#3007)Gravatar [Redacted]2016-05-08
| |
* | docs: Mention cartesian product in variable-expansion sectionGravatar Fabian Homborg2016-05-07
| | | | | | | | See #3002.
* | Add tags to completion list for git show. (#2998)Gravatar Daniel Bergmann2016-05-07
| |
| * FAQ: Synchronise code to add fish to /etc/shells with READMEGravatar Alexey Alekhin2016-05-07
| | | | | | | | | | | | (cherry picked from commit 01e5ca5c9679b8745f660469afc1995c3c44f3fd) Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
* | Changed the code to add fish to /etc/shells to the one that is mentioned in ↵Gravatar Alexey Alekhin2016-05-06
| | | | | | | | the Readme
* | Merge branch 'Integration_2.3.0'Gravatar David Adam2016-05-06
|\| | | | | | | (Bump version numbers to reflect post-2.3b2)
| * Change abbr to allow non-letter keys (#2996)Gravatar Elis Axelsson2016-05-06
| | | | | | | | (cherry picked from commit 1c6f6df2b3ae4a13d89242964ca3dbd3c146d1fe)
* | Change abbr to allow non-letter keys (#2996)Gravatar Elis Axelsson2016-05-06
| |
* | fix fork debug printf() callsGravatar Kurtis Rader2016-05-05
| | | | | | | | | | | | | | | | 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
* | lint: low hanging fruit in history.cppGravatar Kurtis Rader2016-05-05
| |
* | lint: screen.cpp low hanging fruitGravatar Kurtis Rader2016-05-04
| | | | | | | | | | The remaining lint work to be done on screen.cpp will require refactoring several functions that are way too large and complex.