aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Hand-build 256, 24-bit color esc strings same wayGravatar Aaron Gyes2016-06-12
| | | | | ... using snprintf() for the 256-color function in same manner as the 24-bit function.
* Improve comments, update DoxyfileGravatar Aaron Gyes2016-06-12
| | | | Some changes were cribbed from #1317
* Fix env_universal_common.cpp filesize comparisons.Gravatar Aaron Gyes2016-06-12
| | | | | | | | * if (result == ULLONG_MAX) is always false, likely a typo as result is unsigned long, and the comment says ULONG_MAX. * use off_t instead of size_t for file size where it can mismatch st_size's type in stat.h
* Don't allow specifying an fd with a caret redirectionGravatar ridiculousfish2016-06-12
| | | | | | | | For example, an argument 12345^ is a real argument, not a redirection There's no reason to use ^ here instead of >, and it's annoying to git users. Fixes #1873
* Error on -w without a path before reading stdinGravatar Aaron Gyes2016-06-12
| | | | | Oops, `fish_indent -w` just sits there waiting for input if nothing is pointing at it, only to give user the error afterwards.
* Update CONTRIBUTING.mdGravatar Aaron Gyes2016-06-11
| | | Mention Coverity
* Don't cppcheck the pcre sourcesGravatar ridiculousfish2016-06-11
|
* Avoid using chmod --reference in style.fishGravatar ridiculousfish2016-06-11
| | | | | | chmod --reference is not available on OS X Instead, we copy the source file into the temporary path, so that mode bits are preserved
* Merge pull request #3123 from moverest/completionGravatar Fabian Homborg2016-06-10
|\ | | | | Extend autocompletion support
* | Fix crash when fish_indent is using stdin with -wGravatar Aaron Gyes2016-06-10
| | | | | | | | | | | | | | | | | | | | | | When given no path, the logic was happy to try to use an unitialized output_location. $ fish_indent -w < test.fish Opening "(null)" failed: Bad address Initialize the string, and repair the logic to catch this case and report the problem correctly.
* | Allow compressed man pages in `help`Gravatar Fabian Homborg2016-06-10
| | | | | | | | | | | | | | | | It seems Fedora compresses our whopping 340k of man pages. Fixes #3130. Inspired by @TieDyedDevil's work there.
* | don't print header for each jobGravatar Corey Ford2016-06-08
| |
| * Fix and enhance netctl-auto completionsGravatar Clément Martinez2016-06-08
| | | | | | | | | | | | | | | | | | | | | | I mixed things up with `netctl` somehow. Since the two are quite different they do not have the same function, they should not have the same completions. I also find that I would be smarter to only display the relevent profiles given what we want to do. If we want to disable a profile we should only complete with enabled profile for completion for instance. I don't know if the implemention is nice enough however.
| * Add help option completions for godoc, gofmt, goimports, golint, gorenameGravatar Clément Martinez2016-06-08
| |
| * Clean mkdir completionsGravatar Clément Martinez2016-06-08
| |
| * Split __fish_print_modules from modprob.fish and modinfo.fishGravatar Clément Martinez2016-06-08
| |
* | Expand string documentationGravatar Fabian Homborg2016-06-08
| | | | | | | | | | Explain that globs need to match the entire string and a bit about our regular expressions.
| * Refine mkdir completions for non SELinux and non GNUGravatar Clément Martinez2016-06-08
| |
| * Add xz completionsGravatar Clément Martinez2016-06-08
| |
| * Add modinfo completionsGravatar Clément Martinez2016-06-08
| |
| * Add lscpu completionsGravatar Clément Martinez2016-06-08
| |
| * Add gorename completionsGravatar Clément Martinez2016-06-08
| |
| * Add golint completionsGravatar Clément Martinez2016-06-08
| |
| * Add goimports completionsGravatar Clément Martinez2016-06-08
| |
| * Clean udisksctlGravatar Clément Martinez2016-06-08
| |
| * Clean netctl-auto and udiskctl completionsGravatar Clément Martinez2016-06-07
| |
| * Add udisksctl autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add termite autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add poweroff autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add netctl-auto autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add mkdir autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add gofmt autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add godoc autocompleteGravatar Clément Martinez2016-06-07
| |
| * Add alsamixer autocompleteGravatar Clément Martinez2016-06-07
|/
* Merge pull request #3118 from floam/headerdoc-fixesGravatar Aaron Gyes2016-06-05
|\ | | | | | | | | | | | | Update Xcode project, HeaderDoc comments. Fix various invalid HeaderDoc comments. Normalize autoload.cpp/autoload.h as an example of something closer to "proper" HeaderDoc formatting. Have clang/Xcode validate HeaderDoc comments. Remove key_reader.cpp from Xcode project.
| * Be a bit more consistent and proper.Gravatar Aaron Gyes2016-06-05
| |
| * These autoload comment should be HeaderDoc comments.Gravatar Aaron Gyes2016-06-05
| |
| * Repair various invalid HeaderDoc comments.Gravatar Aaron Gyes2016-06-05
| | | | | | | | | | Enable build setting to allow Xcode to complain about invalid comments.
* | remove dependency on dcgettext()Gravatar Kurtis Rader2016-06-05
| | | | | | | | | | While fixing issue #3110 I noticed there is exactly one place we use dcgettext() and that use is completely unnecessary. So remove it.
* | simplify, and fix, setting the current localeGravatar Kurtis Rader2016-06-05
|/ | | | | | | | | | Fix test setup bogosities. Specifically, they weren't hermetic with respect to locale env vars. Rewrite the handling of locale vars to simplify the code and make it more like the pattern most programs employ. Fixes #3110
* git completions: Only take general options before commandGravatar Fabian Homborg2016-06-04
|
* git completions: Ignore stderr everywhereGravatar Fabian Homborg2016-06-04
| | | | | | This allows us to run git commands outside of a git repo. Fixes #3114.
* put curses/terminfo vars into the environmentGravatar Kurtis Rader2016-06-03
| | | | | | | | | | | | | We need to actually export the curses/terminfo env vars in order for `setupterm()` to be able to use them. While fixing this I reworked the fallback logic implemented by @zanchey in response to issue #1060 in order to simplify the logic and clarify the error messages. This does not allow someone to change the curses/terminfo env vars after the first prompt is displayed (you can but it won't affect the current fish process). It only makes it possible to set `TERM`, `TERMINFO`, and `TERMINFO_DIRS` in *config.fish* or similar config file and have them be honored by fish.
* Don't insert prefix for non-prefix matchesGravatar Fabian Homborg2016-06-02
| | | | | | | | | | | | | | | | | | The issue here is that when inserting a common prefix for e.g. a substring match, we increase the amount of available candidates again to things the user didn't want. An example is in share/functions - a completion for "inter" would previously expand to "__fish_" because it matched: - __fish_config_interactive.fish - __fish_print_interfaces.fish - __fish_print_lpr_printers.fish The completion afterwards would then show 189 possible matches, only three of which (the above) actually matched the original "inter". Fixes #3089.
* mention nullglob exceptions in failglob error msgGravatar Beni Cherniavsky-Paskin2016-06-02
|
* Add completions for git blame command (#3094)Gravatar Hunsu2016-06-02
|
* fix lint error in wgettext()Gravatar Kurtis Rader2016-06-01
| | | | | | | | | | | | | | | | Cppcheck was complaining about the `return val.c_str()` at the end of the `wgettext()` function. That would normally a bug since the lifetime of `val` ends when the function returns. In this particular case that's not true because the string is interned in a cache. Nonetheless, rather than suppress the lint warning I decided to modify the API to be more idiomatic. In the process of fixing the aforementioned lint warning I fixed several other lint errors in that module. This required making our copy of `wgetopt()` compatible with the rest of the fish code. Specifically, by removing its local definitions of the "_" macro so it uses the same macro used everywhere else in the fish code. The sooner we kill the use of wide chars the better.
* Do not hardcode RGB values in color definitions.Gravatar Jorge Bucaran2016-06-01
|
* travis: disable clang buildGravatar David Adam2016-06-02
| | | | | | | Clang repositories currently offline, causing build errors. Can be reverted once https://github.com/travis-ci/travis-ci/issues/6120 is fixed.
* correct __fish_contains_opts to __fish_contains_opt (#3102)Gravatar Jens Fredskov2016-06-01
| | | Completion throws and error about the command `__fish_contains_opts` beings unknown. It seems to be a simple typo, as all other completions use `__fish_contains_opt`