aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* More migration away from al_listGravatar ridiculousfish2011-12-26
|
* Migrate some more off of al_listGravatar ridiculousfish2011-12-26
|
* More migration to the STLGravatar ridiculousfish2011-12-26
|
* Migrate blocked to std::vectorGravatar ridiculousfish2011-12-26
|
* Migrate killme to std::vectorGravatar ridiculousfish2011-12-26
|
* Migrate events to std::vectorGravatar ridiculousfish2011-12-26
|
* Fixed a build failureGravatar ridiculousfish2011-12-26
| | | | Added a thread assertion to function.cpp
* Migrated some more data structures to the STL. Removed some ad-hoc data ↵Gravatar ridiculousfish2011-12-26
| | | | structure implementations.
* Fix to migrate the universal variable server off of dyn_queue_tGravatar ridiculousfish2011-12-26
|
* Added iothreadGravatar ridiculousfish2011-12-26
|
* Merge branch 'master' into CPlusPlusGravatar ridiculousfish2011-12-26
|\
| * Fix to use proper type to compute difference between two pointers, which ↵Gravatar ridiculousfish2011-12-26
| | | | | | | | fixes a crash when fish is compiled LP64
* | IO portGravatar ridiculousfish2011-12-26
| |
* | Removed a logGravatar ridiculousfish2011-12-26
| |
* | Some changes to migrate towards C++ and a multithreaded modelGravatar ridiculousfish2011-12-26
| |
* | Initial C++ conversionGravatar ridiculousfish2011-12-26
|/
* update aptitude completions, patch by Dániel Ugra, closes Launchpad bug 238282Gravatar Jan Kanis2011-09-25
|
* Merge commit 'refs/merge-requests/13' of ↵Gravatar Jan Kanis2011-09-21
|\ | | | | | | git://gitorious.org/fish-shell/fish-shell into merge-requests/13
* | fixed bug where case-insensitive completion of /path\ with\ spaces/ doesn't ↵Gravatar Jan Kanis2011-09-21
| | | | | | | | reposition the cursor correctly
| * Fix an old, old reference to a long-gone fish function for gem.fishGravatar Mark A. Miller2011-08-13
|/
* Merge commit 'refs/merge-requests/12' of ↵Gravatar Grissiom2011-07-28
|\ | | | | | | git://gitorious.org/fish-shell/fish-shell into merge-requests/12
* | fix: Fish may hang in Linux virtual consoleGravatar Adam Cozzette2011-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I find that if I have a config.fish consisting of the following two lines status --job-control full . empty.fish where empty.fish is just an empty file in ~/.config/fish, Fish will hang when I attempt to log in on a virtual console (e.g. tty1). If I run Fish within X11 or with either of those lines commented out, everything's fine. I think the second line can be any command that cause Fish to perform a fork(). The fix is pretty simple and just involves replacing getpid() with getpgrp() in terminal_return_from_job in proc.c. See below for the detailed explanation. I'm certainly no expert so I would appreciate it if anyone else can confirm that my fix looks ok. Here's what causes the bug as far as I can tell: 1. When I login on a virtual console, /bin/login calls Fish. When Fish begins executing its process group and the process group controlling the terminal are both the pid of the /bin/login process. 2. The ". empty.fish" line causes Fish to fork a new process. The new process creates a new process group and takes control of the terminal under the name of that process group. 3. When the child process finishes, the parent prcoess attempts to take back control of the terminal by setting its controlling process group id to be its pid. 4. Now there is a mismatch between the process group id of the Fish shell (= the pid of the /bin/login process) and the process group id controlling the terminal (= the pid of the Fish shell). reader_interactive_init detects the mismatch and it thinks that it doesn't have control of the terminal, so it hangs as it waits for control. My fix just solves the problem in step 3 by having the parent process correctly reassign control of the terminal to its process group. Signed-off-by: Grissiom <chaos.proton@gmail.com>
* | Merge commit 'refs/merge-requests/10' of ↵Gravatar Chris Nilsson2011-07-10
|\ \ | | | | | | | | | git://gitorious.org/fish-shell/fish-shell into merge-requests/10
| | * still didn't work correctly, there were delimiters missing in the ↵Gravatar Andreas Raster2011-06-24
| | | | | | | | | | | | conditional as well
| | * last commits fix now also applied in the 'else' clauseGravatar Andreas Raster2011-06-21
| | |
| | * fixed an issue when trying to complete something like 'cd ↵Gravatar Andreas Raster2011-06-21
| | | | | | | | | | | | | | | | | | | | | /mnt/windows7/Program\ Files\ \(' fish would always spew a huge error message all over my terminal complaining about some kind of tokenizer error, this patch fixed that
| * | Change git-symbolic-ref to git symbolic-ref.Gravatar Shaun Reich2011-06-19
| |/ | | | | | | | | | | | | On my system at least (fedora 15), git-symbolic-ref is an invalid command. Not sure if it's a BIC change from git itself, a distribution thing, or a mistake on my end. Either way, no harm in using the extended version. Now I get git branch status (yay).
* / minor changes on user docGravatar Jakukyo Friel2011-02-20
|/
* Merge commit 'refs/merge-requests/8' of ↵Gravatar Christopher Nilsson2011-01-11
|\ | | | | | | git://gitorious.org/fish-shell/fish-shell into merge_request_8
| * mimedb: Search all the defaults.list files rather than just the first.Gravatar Dylan Smith2010-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first defaults.list file found should not override all the other ones, it just needs to be searched first. E.g. For me (cat ~/.local/share/applications/defaults.list) returns [Default Applications] text/html=chromium-browser.desktop So this should be used for text/html mimetypes, but the other defaults.list files should be searched for other mimetypes. I had to refactor get_filename so that it can return all the filenames, so I changed it to append_filenames that appends all the filenames to a list and provided a wrapper function called get_filename.
| * fish_indent: indent "case" with the same level as "swith"Gravatar Grissiom2010-12-02
| |
| * fish_indent: don't indent commands after a pipeGravatar Grissiom2010-12-02
| | | | | | | | | | commands after a pipe tend to be at the same line of previous command. So don't indent them.
| * Use eix instead of emerge when possibleGravatar James Bowlin2010-12-02
| | | | | | | | | | | | | | | | | | On Gentoo the eix program is MUCH faster than emerge for listing package names. I've left the emerge code in as a 2nd choice because not every Gentoo system has eix installed (although they should). Also, the emerge code didn't seem to produce any output on my system. Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * mimedb: Search for exact mime type match in search_ini.Gravatar Dylan Smith2010-12-02
| |
| * mimedb: Add seperator between directory and filename in file_exists.Gravatar Dylan Smith2010-12-02
| | | | | | | | | | | | get_filename tried to work around this with hardcoded strings that end with a '/', but would fail to work properly for environment variables XDG_DATA_HOME or XDG_DATA_DIRS that don't do the same.
| * funcsave: Fixed error and help handling.Gravatar Dylan Smith2010-12-02
| | | | | | | | | | | | Renamed references to the previous command name of save_function to funcsave, and returned an error after printing the help text when no arguments are specified.
| * default_key_bindings: Added mappings for ctrl-arrow keys.Gravatar Dylan Smith2010-12-02
| | | | | | | | | | On debian and ubuntu these control sequences are output while using gnome-terminal and xterm.
| * Makefile: test for xsel directory before trying to clean it.Gravatar Dylan Smith2010-12-02
| | | | | | | | This avoids the users seeing ignored errors for make -C clean.
| * fish_indent: only output fd number when have toGravatar Grissiom2010-12-01
| | | | | | | | | | The original patch is own by Dylan. I just did some cleaning and reformating.
| * builtin: count should not accept options, not even helpGravatar Dylan Smith2010-11-26
| | | | | | | | | | | | | | | | | | It is documented this way, but the common builtin_run function was checking for -h or --help before even calling the builtin_count. Without this functions like funced can't use count to check the number of arguments before checking for -h or --help. Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * builtin: read's --shell long option should require an argumentGravatar Dylan Smith2010-11-25
| | | | | | | | | | | | The short option -s doesn't need it and it won't be used. Signed-off-by: Grissiom <chaos.proton@gmail.com>
* | Merge commit 'refs/merge-requests/6' of ↵Gravatar Christopher Nilsson2010-11-24
|\| | | | | | | git://gitorious.org/fish-shell/fish-shell into merge_req_6
| * Allow fish_greeting to be NULL or an arrayGravatar James Vega2010-11-24
| | | | | | | | | | | | | | | | | | | | | | Treat fish_greeting as a whole when show up the greeting messages. And the user may want to set fish_greeting to an null value or an array. This requires that the variable be quoted when used as an argument for switch in __fish_config_interactive. Signed-off-by: James Vega <jamessan@debian.org> [modified the commit message] Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * add test case for 364d3dbbf8dGravatar Grissiom2010-11-24
| |
| * exec: Don't format status returned directly from builtin functionGravatar Dylan Smith2010-11-24
| | | | | | | | | | | | | | | | | | | | | | | | The builtin function returns the raw status, which is not the same as the integer return by waitpid. Therefore, the WIF macros shouldn't be used for checking or obtaining the status. This bug can be seen by executing (eval false). The builtin eval function returns 1, but proc_format_status misinterprets it as a signal by checking WIFSIGNALED, so adds 128 to the status to return 129. Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * Fix some spelling mistakesGravatar James Vega2010-11-23
| | | | | | | | | | | | | | Fix spelling mistakes in various bits of the documentation. Signed-off-by: James Vega <jamessan@debian.org> Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * help.fish: Fix the sed expression to find anchors with id or nameGravatar Dylan Smith2010-11-23
| | | | | | | | | | | | | | | | | | | | | | Previously the expression only searched for anchors with a name attribute, but doxygen 1.7.1 is producing anchors with the id attribute instead. The sed expression allows both cases for compatibility. I also used single quotes for the sed expression to avoid escaping double quotes. Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * add test case for 6b243fbcGravatar Grissiom2010-11-23
| |
| * eval: (eval false) should return an error statusGravatar Dylan Smith2010-11-22
| | | | | | | | | | | | | | | | This also caused (isatty < /dev/null) to return 0 since it uses eval, and (ls | cat) to output using the classify indicator style since it uses isatty. This is how I found the bug. Reviewed-by: Grissiom <chaos.proton@gmail.com>
| * Makefile: Provide PACKAGE_TARNAME for autoconf default docdirGravatar Dylan Smith2010-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | docdir was previously being set to "${prefix}/share/doc/${PACKAGE_NAME}" when it wasn't explicitely set on configuration using --docdir. Without this appearing in the Makefile, some files silently get silently installed directly into ${prefix}/share/doc instead within a fish subdirectory. I also added datarootdir to fix an autoconf warning, since autoconf normally would use it for the directory paths (e.g. docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}). The autoconf generated configure script has a hack to fix this, but states: "FIXME: This hack should be removed a few years after 2.60."