aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Update Xcode build for new pcre2 versionGravatar David Adam2016-04-19
|
* Update to pcre2 10.21Gravatar Aaron Gyes2016-04-19
| | | | Point build tools at 10.21
* Allow overriding fish_term24bit on launchGravatar Fabian Homborg2016-04-18
| | | | (cherry picked from commit ba1008b75033e9ff8f4ad17fa2de25eed115de5c)
* Move 24bit setup into config.fishGravatar Fabian Homborg2016-04-18
| | | | | | Fixes #2941. (cherry picked from commit 8558561650995b330a1ae5ee87c592382856cc40)
* fix off by one errorGravatar Kurtis Rader2016-04-15
| | | | (cherry picked from commit ea3d9c36a52dcf6bcde0ff41af8ca19daca2267e)
* fish handling of readlink()Gravatar Kurtis Rader2016-04-15
| | | | | | | | | | | | | | The readlink() function does not null terminate the path it returns. Remove the OS X code that deals with a path buffer that is too short. For one thing a loop isn't needed since we're told how big of a buffer is required if the first _NSGetExecutablePath() call fails. But more important it is so unlikely that the path will be longer than PATH_MAX that if it is we should just give up. Fixes 2931. (cherry picked from commit 8e103c231e74a3dda40d0a0e5a844ea8b6aa1e4b)
* Add completions for 'pacaur' (#2934)Gravatar Yauhen Kirylau2016-04-15
|
* Correct typo in valgrind completionsGravatar Laurence McGlashan2016-04-15
|
* Remove the default self-insert binding in vi-default modeGravatar Fabian Homborg2016-04-15
| | | | Fixes #2832.
* Fix #2919 by removing the entire block.Gravatar Aaron Gyes2016-04-09
| | | | | | | | | | | | | | This code represents only risk and does nothing useful for anything that can compile fish. In C++ situations where __STDC_VERSION__ is unset (as it should be), fish was assuming we are on < C99 and setting it to __FUNCTION__. Basically always, __PRETTY_FUNCTION__ ends up reaplaced by __FUNCTION__, this hurt error message usefulness and richness. __PRETTY_FUNCTION__: const thing::sub(int) __FUNCTION__: sub
* fix handling of line continuation in keywordsGravatar Jak Wings2016-04-08
| | | | | | | This behavior is more consistent with line continuation in strings other than keywords. Fixes #2897
* add missing special-case for ../Gravatar Kurtis Rader2016-04-08
| | | | | When I reviewed the fix for #952 I noted that "../" wasn't handled but in my haste to merge it forgot to augment the pull-request.
* Remove non-existing functions in bind docsGravatar Fabian Homborg2016-04-08
| | | | | | At least delete-line was previously a thing, but none of these are still available. First part of #2914
* Fix "." and ".." paths in cd completionsGravatar Fabian Homborg2016-04-08
| | | | | Previously if a directory called "a" was in $CDPATH, `cd ./a<TAB>` would complete from there even if it was invalid.
* CHANGELOG: include release notes for previous releasesGravatar David Adam2016-04-08
| | | | [ci skip]
* CHANGELOG: move release_notes.html to a markdown documentGravatar David Adam2016-04-08
| | | | [ci skip]
* Migrate PATH-completion logic from complete.cpp to expand.cppGravatar ridiculousfish2016-04-07
| | | | | | | | | | | | | | | | Prior to this fix, when completing a command that doesn't have a /, we would prepend each component of PATH and then expand the whole thing. So any special characters in the PATH would be interpreted when performing tab completion. With this fix, we pull the PATH resolution out of complete.cpp and migrate it to expand.cpp. This unifies nicely with the CDPATH resolution already in that file. This requires introducing a new expand flag EXPAND_SPECIAL_FOR_COMMAND, which is analogous to EXPAND_SPECIAL_CD (which is renamed to EXPAND_SPECIAL_FOR_CD). This flag tells expand to resolve paths against PATH instead of the working directory. Fixes #952
* Stringify many completions and functions, with --invert stringification.Gravatar Aaron Gyes2016-04-08
| | | | | | | | I believe apm must have been buggy - example output that I found online showed `tr` was mangling paths with spaces in it. Should be fixed. Also, use dscl on OS X in __fish_complete_users.fish like __fish_print_users.fish already does.
* Implement an --invert/-v for string match, like grep -v.Gravatar Aaron Gyes2016-04-08
| | | | Only lines that do not match the pattern are shown.
* Complain less about "bogus" PATH entriesGravatar ridiculousfish2016-04-07
| | | | | | When determining the old path, get the existing value in any scope, not just the set scope. Also only complain about absolute paths: relative paths are expected to be invalid sometimes.
* Update Xcode project for latest XcodeGravatar ridiculousfish2016-04-07
|
* fix git command in lint.fish scriptGravatar Kurtis Rader2016-04-07
|
* Remove a dead function bool_from_env_varGravatar ridiculousfish2016-04-07
|
* Correct true-color statement in set_color docsGravatar Fabian Homborg2016-04-07
| | | | | | - OSX Terminal does not support it - We do some detection
* Update osx/config.h for removed ifdefsGravatar David Adam2016-04-07
|
* pcre2: add maintainer mode and disable by defaultGravatar David Adam2016-04-07
|
* configure: remove tiny leftover from xsel buildGravatar David Adam2016-04-07
|
* clarify documentation for the `source` commandGravatar Kurtis Rader2016-04-06
| | | | Make it clear that fish 2.3.0 changed how `$argv` is initialized.
* fix setting of $argv for `source` w/no argsGravatar Kurtis Rader2016-04-06
| | | | Fixes #139
* change how redirections are formattedGravatar Kurtis Rader2016-04-05
| | | | | | | | Modify `fish_indent` to emit redirections without a space before the target of the redirection; e.g., "2>&1" rather than "2>& 1" as the former is clearer to humans. Fixes #2899
* augment the guide for contributingGravatar Kurtis Rader2016-04-05
| | | | | | | | | | Include information about how to deal with lint warnings and suppress `clang-format` reformatting of blocks of code. Move information only relevant to developers from the README.md to the CONTRIBUTING.md document. Closes #2901
* Rename "snippets" to "conf" internally, and document them as snippetsGravatar David Adam2016-04-06
| | | | Discussed in #2896.
* Fix a couple of minor issues in string examplesGravatar Mark Griffiths2016-04-05
| | | | | | | Print correct return code in 2nd example Remove syntax colouring in \cg Signed-off-by: Mark Griffiths <mark@thebespokepixel.com>
* make the string man page more readableGravatar Kurtis Rader2016-04-04
| | | | | | | I didn't notice when I merged commit cb6d5d76c8232264f66c9a1db895d9dd69d77bc3 by thebespokepixel.com that it removed the explicit wrapping in the `string` man page. That makes `man string` harder to read so reinstate the explicit wrapping.
* support making fish code match the style guideGravatar Kurtis Rader2016-04-04
| | | | | | | | This changes implements two new make targets: `style` and `style-all`. These make it easy to ensure that a change conforms to the project style guides for C++ and fish code. Fixes #571
* don't try to use st_gen (inode generation) numberGravatar Aaron Gyes2016-04-04
| | | | | | | | | Per discussion in pull-request #2891, it's not available on Linux (we just fill it with zero), and unless run as root on OS X (or other BSD system) it will be zero. Remove it from file_id_t. Also fix the initialization of the file_id_t structure. Fixes #2891
* remove unused special color "ignore"Gravatar Kurtis Rader2016-04-04
| | | | | | Resolve lint warning about unused method "rgb_color_t::ignore()". Fixes #2893
* Customisable extra configuration, completion and function directoriesGravatar David Adam2016-04-04
| | | | | | | | | | | | | | | - Add options to the autotools build to set the path for the "vendor" or "extra" configuration snippets, functions and completions directories. - Remove the vendor_completions directory from the Xcode build, as these are relocatable and compiling the paths in does not make sense. This allows packaging tools like Homebrew and Nix to use a common directory outside of the main prefix for third-party completions, and to make these available for programmatic discovery through `pkg-config`. Closes #2113
* update lexicon for latest docsGravatar Mark Griffiths2016-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #2699 Fixes issues with: * 'string' function synopsis * Redirection display issues * Better file & path detection * Rendering of % & @ chars in both html and man * @ symbol in tutorial Improves robustness by implementing an @EOL marker to prevent hold buffer dumping extra chars after the end of an expression. Added new '{{' and '}}' meta-chars for when you want curly braces in a regexp that was previously tripping up the lexicon. Improve man/html presentation consistency for * string * printf * prompt_pwd * type Use cli-styling for 'practical' examples. Add <bs> tag for presenting content with preceding backslash. Signed-off-by: Mark Griffiths <mark@thebespokepixel.com>
* fixes for cppcheck lint warningsGravatar Kurtis Rader2016-04-04
| | | | | | Refine the linting behavior. Fix several of the, mostly trivial, lint errors.
* cd completion: No description for absolute pathsGravatar Fabian Homborg2016-04-04
| | | | | This also removes the "pushd/popd" dance and only executes the CDPATH stuff when we need to.
* convert atypical env_universal_common loggingGravatar Kurtis Rader2016-04-03
| | | | | | | | | | This is a quick and dirty conversion of the atypical, and undocumented, logging done by env_universal_common.cpp to the usual `debug()` pattern. I didn't want to drop the messages because they could be useful when debugging future issues. So I simply converted them to the lowest debug level using the normal debug() function. Fixes #2887
* lint: remove or comment out unused functionsGravatar Kurtis Rader2016-04-03
| | | | | | Cppcheck has identified a lot of unused functions. This removes funcs that are unlikely to ever be used. Others that might be useful for debugging I've commented out with "#if 0".
* remove unused wgetopt() method found by lintingGravatar Kurtis Rader2016-04-02
|
* remove create_wajig_completions.py scriptGravatar Kurtis Rader2016-04-01
| | | | | | | | This script is really old and no longer works correctly. This discussion, http://comments.gmane.org/gmane.comp.shells.fish.user/4062, from over two years ago concluded it should be removed. Resolves #2881
* add make targets to lint the codeGravatar Kurtis Rader2016-04-01
| | | | Fixes #2818
* travis: move to clang 3.8 for ASan buildsGravatar David Adam2016-04-01
|
* Correction to make rule for fish_versionGravatar Laurence McGlashan2016-03-31
|
* rename make target "user_doc" to "doc"Gravatar Jak Wings2016-03-31
| | | | Fixes #2875
* remove "doc" make target and rename "user_doc"Gravatar Kurtis Rader2016-03-30
| | | | Fixes #2874