ridiculousfish
3c5d5b344e
Fix for buffer overflows identified by libgmalloc
2013-10-16 01:02:15 -07:00
ridiculousfish
4980959fce
Fix to enable momentum scrolling on iOS in new documentation
2013-10-15 12:45:33 -07:00
Konrad Borowski
8edb53e902
Document appending / feature.
2013-10-06 14:16:15 +02:00
ridiculousfish
460bfc6853
Update OS X make_pkg script to also produce fish.app
2013-10-05 17:06:22 -07:00
ridiculousfish
3e5b8f1e97
Bump version to 2.1.0
2013-10-05 13:17:51 -07:00
ridiculousfish
fab7299d49
Replace nextd/prevd <pre>s with \code
2013-10-05 12:13:16 -07:00
ridiculousfish
09ff1e7af0
Update make_tarball.sh to work on Darwin
2013-10-05 01:56:25 -07:00
ridiculousfish
ad5ae9ba3b
New documentation UI, including tutorial.
2013-10-05 00:37:44 -07:00
Ronaldo Maia
3788f462b4
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
Ronaldo Maia
238bbfcbbb
Add postgres psql completion
...
Options and descriptions are from psql --help output. Database and username
completion based on the bash completion
2013-10-04 23:28:01 -07:00
sra
0efa211a05
Use manpath instead of man --path in man.fish function (as in commit
...
c7941fc ).
2013-10-03 11:46:58 +02:00
David Adam
00a890c8c7
configure: use C++ for all tests, kill CFLAGS
2013-10-02 21:44:06 +08:00
nulltrek
6990871efd
Fix git completions when aliased command is not found.
2013-10-02 21:40:19 +08:00
Konrad Borowski
a62ebc9a69
Restore directories' tab completion without slash in command.
...
This is needed for implicit cd when ending command with `/`.
2013-10-01 08:29:40 +02:00
Konrad Borowski
6c82e7acda
Support implicit cd with appended /.
...
This is an experimental feature, proposed in the issue #22 .
https://github.com/fish-shell/fish-shell/issues/22#issuecomment-20483478
2013-10-01 08:25:13 +02:00
ridiculousfish
084e435883
Strip out git commit numbers from doxygen documentation
2013-09-30 16:03:34 -07:00
ridiculousfish
2f33e5919d
Better error messages for EDITOR=vim git... type commands.
...
https://github.com/fish-shell/fish-shell/issues/809
2013-09-30 14:55:25 -07:00
ridiculousfish
cbe615224d
Make tok_last_type return an enum token_type instead of int
2013-09-30 13:57:36 -07:00
ridiculousfish
6c70ed79ae
Update docs to describe autosuggestions. Fixes #937
2013-09-30 11:45:54 -07:00
Konrad Borowski
488652c23a
Support term256 in config.fish. Fixes #1022 .
2013-09-30 14:45:12 +02:00
ridiculousfish
bb3a00d1eb
Fix fish.app for directories with spaces. Fixes #774
2013-09-29 14:01:52 -07:00
ridiculousfish
bf3cf2580f
Fix for bug where fish fails to source config files if the path contains
...
a space
2013-09-29 13:39:41 -07:00
MagicMuscleMan
843944f558
Complete apt-get purge identical to apt-get remove
...
As apt-get purge really has the same operations as apt-get remove, there is not reason to handle them differently in its completion file.
2013-09-29 13:35:03 +02:00
ridiculousfish
991c900fc6
Set of changes to improve detection of escape sequences for prompt width
...
computation. Addresses #767
2013-09-29 02:48:35 -07:00
Siteshwar Vashisht
0d2af9e742
Updated help text of fish_config command
2013-09-28 17:22:46 +05:30
Konrad Borowski
4aa9f76d06
Fix one element tuple to be actually tuple.
...
While in this case it doesn't mean much (neither `z` or `-` would be
passed to options parser), it makes things possibly less buggy.
2013-09-25 16:39:22 +02:00
David Adam
1235e60a29
default key bindings: fix syntax errors introduced in 735af50
2013-09-24 22:49:11 +08:00
David Adam
735af50ce9
default key bindings: add further iTerm2 bindings
2013-09-24 20:04:05 +08:00
ridiculousfish
7ce5f34d6f
Disable flow control per #814
2013-09-22 18:14:18 -07:00
Konrad Borowski
f76a16a727
Add Perl modules completion.
2013-09-22 20:12:14 +02:00
Ryan Hileman
f2a5237802
Improve dangerous/undefined PID expansion behavior
...
1. Use Bash-like expansion for empty searches (when you just use a '%' by
itself).
'%' will now *only* match the last valid backgrounded process.
If there are no such processes, an expansion error will be generated.
'%' by itself would previously match either *all* backgrounded
processes, or failing that, all processes owned by your user. If you
ever tried to run `kill -9 %`, it would either kill all backgrounded
processes or *all* of your processes. I'm not sure why anyone would ever
want that to be a single keystroke away. You could almost typo it.
As a result, `fg %`, `bg %`, `kill %`, etc will all operate on the last
process touched by job control.
2. Don't run 'by-name' matches when the search term is numeric.
This prevents you from running a command like `kill %1` and accidentally
killing a process named something like "1Command". Overloaded behavior
can be dangerous, and we probably shouldn't play fast and loose with
expansion characters that generate process IDs.
2013-09-22 19:54:37 +08:00
David Adam
4ea92a97ea
Update to newer install-sh version
...
(Now from Automake 1.11.6.)
2013-09-22 17:51:48 +08:00
David Adam
a7ed3658e3
Update to latest config.sub and config.guess versions
...
(Now from Automake 1.11.6.)
2013-09-22 15:57:52 +08:00
Alex Charron
061b872498
Refactored builtin_echo with better argument parsing.
2013-09-22 08:53:12 +02:00
ridiculousfish
97ea61a407
Fix for parse_util_token_extent doing the wrong thing inside a command
...
substitution. Fixes https://github.com/fish-shell/fish-shell/issues/833
2013-09-21 16:38:57 -07:00
ridiculousfish
44bd405ed3
reader_replace_current_token can be made static
2013-09-21 16:27:37 -07:00
ridiculousfish
73f1030bde
Fix set_color crash on 'ignore' and 'reset'
...
https://github.com/fish-shell/fish-shell/issues/996
2013-09-21 15:15:06 -07:00
David Adam
fdef82f89c
rsync completions: complete hostnames ala scp
...
Closes #1010
2013-09-19 23:24:36 +08:00
David Adam
3d68d1bbe2
scp completions: use __fish_print_hostnames rather than doing independent hostname searches
2013-09-19 23:24:36 +08:00
David Adam
c2dcfc9176
__fish_print_hostnames: do a better job of searching SSH files
2013-09-19 23:24:36 +08:00
bathtub
df300e042b
Small fix for fish_update_completions (amended)
...
Amended from https://github.com/fish-shell/fish-shell/pull/1003 .
Fix a Unicode parsing error; search man6.
2013-09-19 13:15:15 +02:00
Konrad Borowski
3996f178e5
Added git stash completion options.
...
Squashed commit of the following:
commit 962a19dfab
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com >
Date: Wed Sep 18 18:09:49 2013 +0530
Add missing 'git stash' completion options
Fixed typo.
commit 57bbd89caf
Author: Mandeep Sandhu <mandeepsandhu.chd@gmail.com >
Date: Wed Sep 18 17:59:36 2013 +0530
Add missing 'git stash' completion options
Added the following options which were missing:
* save
* branch
2013-09-18 14:54:11 +02:00
David Adam
7935b1613a
__fish_print_packages: ignore errors, do less manipulation
...
Closes #479 by piping STDERR to /dev/null.
Also does much less manipulation of the package list; there are no
packages in any of the archives containing the names that are stripped
out as far as I can see.
2013-09-17 22:27:15 +08:00
David Adam
8df81f93c8
__fish_print_packages: whitespace fix
2013-09-17 22:20:16 +08:00
ridiculousfish
95d5e55df2
Don't do fuzzy matching for file completions for arguments beginning
...
with a dash, as suggested in #568
2013-09-15 00:00:35 -07:00
nulltrek
daf3469ce4
Add newline before listing current token.
2013-09-13 14:30:13 +08:00
David Adam (zanchey)
1565f9d9c3
fix typo introduced in b56542a9f
...
Thanks to @siteshwar for spotting.
b56542a9f1 (commitcomment-4083982)
b56542a9f1 (commitcomment-4083982)
2013-09-13 13:43:36 +08:00
David Adam (zanchey)
b56542a9f1
document new bindings introduced in cd1c2f74d3
2013-09-13 11:59:03 +08:00
David Adam (zanchey)
5b5b53872c
tarball generation: include config.h.in, set mode and ownership
...
Include config.h.in as well as configure.
Also sets correct owner, group and mode for all appended files.
Update the mtime of all appended files so that configure and config.h.in
are always newer than configure.ac.
(Fixes many problems introduced by 5023ade7 , and makes the commit
message actually true.)
2013-09-13 11:59:03 +08:00
David Adam (zanchey)
1442a2abe8
test documentation: update wording, generate test manual page ( closes #734 )
2013-09-13 11:59:03 +08:00
nulltrek
e031fa7207
Fix some typos.
2013-09-12 11:46:31 +02:00
nulltrek
1b521d0822
Rename internal functions for consistency.
2013-09-12 11:46:31 +02:00
ridiculousfish
e529f4d75f
Fix a comment typo
2013-09-12 01:03:41 -07:00
ridiculousfish
307a4ae9e8
Don't do completions or autosuggestions for commands with wildcards.
...
Fixes https://github.com/fish-shell/fish-shell/issues/785
2013-09-11 18:50:14 -07:00
ridiculousfish
46452e7634
Improve error messages for double square brackets -
...
https://github.com/fish-shell/fish-shell/issues/875
2013-09-11 14:22:16 -07:00
ridiculousfish
ee3b355c34
Fix certain wildcard tab completions -
...
https://github.com/fish-shell/fish-shell/issues/929
2013-09-11 02:33:44 -07:00
ridiculousfish
61c5b631f3
Fix for infinite loop in cycle_competions, and potential issue in
...
fish_pager when given an empty completion list
2013-09-10 21:13:47 -07:00
ridiculousfish
b993dce12f
Rework some of the new case-modifying commands to share more code, and
...
also to update the autosuggestion and syntax highlighting
2013-09-10 20:46:46 -07:00
Christian Rishøj
cd1c2f74d3
add support for downcase-word, upcase-word and capitalise-word
2013-09-09 18:46:16 +02:00
Konrad Borowski
a1020b3e61
Remove useless semicolon in webconfig.py
2013-09-08 20:19:43 +02:00
Leonardo Boiko
1b1aa07414
When exiting, only warn about _stopped_ background jobs ( fix #111 )
2013-09-08 22:51:34 +08:00
David Adam (zanchey)
5023ade7ac
tarball generation should build configure script
...
For the next release, this means that `autoconf` is no longer required
if building from the tarball. The website and documentation should be
updated accordingly at that time.
2013-09-06 10:43:43 +08:00
David Adam (zanchey)
9921e9e79f
document and enforce Autoconf 2.60 or greater
2013-09-06 10:41:58 +08:00
ridiculousfish
5ef13d9011
Remove duplicates from history in fish_config
...
https://github.com/fish-shell/fish-shell/issues/900
2013-09-05 13:49:18 -07:00
ridiculousfish
3816abb9de
Make __fish_print_mounted work better on OS X
2013-09-05 11:40:51 -07:00
ridiculousfish
7561075af8
OS X Mavericks keybinding fix
2013-09-05 00:46:19 -07:00
Konrad Borowski
fe10f98038
Fix VTE version test
2013-09-04 22:08:44 +02:00
Konrad Borowski
6709d1067d
Recommend eval when using variable as command.
2013-09-04 20:43:40 +02:00
Tim Cuthbertson
74e27a0a82
Notify vte-based terminals of $PWD change ( #906 )
2013-09-04 20:30:42 +02:00
Tim Cuthbertson
04c0ac9ee8
add __fish_urlencode function which URL-escapes stdin
2013-09-04 20:30:42 +02:00
David Adam (zanchey)
8159f55243
git version generation fixes
...
- Remove the `version` file created for the tarball after the tarball is finished
- Use the builtin type instead of which.
2013-09-02 20:08:46 +08:00
ridiculousfish
cca60adc35
Fix useradd completion syntax
...
(https://github.com/fish-shell/fish-shell/issues/863 )
2013-09-02 00:34:54 -07:00
David Adam (zanchey)
16ba544edd
docs: don't remove/rebuild share/man if we don't have doxygen
2013-09-02 13:07:31 +08:00
Adrien Grellier
f230da12c5
completion for vim-addons
2013-09-01 16:07:59 +02:00
ridiculousfish
03aae47424
Fix more indentation in fish_default_key_bindings.fish
2013-08-31 21:11:09 -07:00
ridiculousfish
df0aaa1ebe
Fix indentation
2013-08-31 21:10:11 -07:00
ridiculousfish
68f9342060
Try to improve the error message printed when libcurses is not found
2013-08-31 15:08:51 -07:00
ridiculousfish
c38a40d193
Adjust prefix completions to sort alphabetically instead of by length.
...
Other completions are still sorted by length.
https://github.com/fish-shell/fish-shell/issues/923
2013-08-31 15:01:02 -07:00
ridiculousfish
23ba7b5bff
Support iTerm2 forward/backward word escapes
...
(https://github.com/fish-shell/fish-shell/issues/920 )
2013-08-31 14:29:52 -07:00
Konrad Borowski
173fd4fd23
Replace IRC link with WebChat link
...
It seems GitHub doesn't allow irc:// protocol, so replace it with WebChat link.
2013-08-30 18:12:50 +02:00
Konrad Borowski
3a893ff17f
Put an IRC link to README.
2013-08-30 18:10:23 +02:00
Konrad Borowski
da89591a53
Initialize cycle_cursor_pos.
...
This removes the warning from compiler.
2013-08-29 13:06:04 +02:00
Konrad Borowski
097e2030b4
libncursesw5-dev is not needed on Debian
...
I just checked on new Debian installation, and only libncurses5-dev appears to be needed.
2013-08-28 09:35:22 +02:00
ridiculousfish
24f1da7f30
Add a fancy new paths_are_equivalent function to test for equivalent
...
paths instead of merely equal ones
2013-08-27 18:26:22 -07:00
ridiculousfish
85ce80d72e
Stop insisting on trying to add /usr/bin and /bin to $PATH.
...
https://github.com/fish-shell/fish-shell/pull/854
2013-08-27 18:23:33 -07:00
ridiculousfish
ec1037fcbc
Fix bad error message for certain options.
...
https://github.com/fish-shell/fish-shell/issues/979
2013-08-26 21:10:19 -07:00
Konrad Borowski
7a1bedcab6
Fix #976 . Now prompt tries to use standard git command.
2013-08-26 16:24:59 +02:00
ridiculousfish
06b4964dd8
Clean up some comments and make a function static
2013-08-26 00:05:23 -07:00
Tony Wang
d2ffdc8986
improve comments and extract a common function
2013-08-25 19:33:39 -07:00
Tony Wang
7e1a3148fb
fixed fish-shell/fish-shell#944
...
When the completion list includes the exact typed string with other
candidates, i.e. completion_t.match.type == fuzzy_match_exact,
the other candidates will be removed from the list, as they are not
the "best type". This is inconvenient for the user who wants to
type and complete commands in the other candidates.
The commit is to make the best_type to fuzzy_match_prefix as highest
priority, also, when comparing to best_type, the same or higher
priority completions can both match.
2013-08-25 19:33:39 -07:00
Tony Wang
5559962f6f
use wstat in test command to follow symbolic link
2013-08-25 15:54:06 -07:00
Tony Wang
1d67d8ff23
add -O and -G to test command
...
they are available on Linux and OS X, and now ported to fish
2013-08-25 15:54:06 -07:00
ridiculousfish
9f46881c16
Fix to respect the order of paths in /etc/paths (oops)
2013-08-25 14:02:03 -07:00
ridiculousfish
dead45fa67
Rearrange the PATH to respect the order defined in /etc/paths ( #927 ) and
...
to prepend it to $PATH instead of appending it (#950 )
2013-08-25 13:27:52 -07:00
ridiculousfish
a8af974895
Fix a C++11 compile error with clang.
...
https://github.com/mxcl/homebrew/pull/22016#issuecomment-23222977
2013-08-25 00:45:43 -07:00
ridiculousfish
8605cc685d
Fix tabs in share/functions/__fish_config_interactive.fish
2013-08-24 12:20:21 -07:00
nulltrek
9a49b2c9fb
Fix "command not found" handler behaviour.
2013-08-24 12:16:28 -07:00
ridiculousfish
b6f495d107
Expand abbreviations at the beginning of commands as discussed in https://github.com/fish-shell/fish-shell/issues/731
2013-08-24 11:47:37 -07:00
David Adam (zanchey)
05233aa6f4
configure.ac: don't add RPATH when searching for extra libs
...
Closes #766
doesn't appear to actually be required, and adding RPATH breaks Debian and OpenSUSE policy
all flames to me
2013-08-22 12:07:28 +08:00
ridiculousfish
7541fac245
Fix the build on OS X Mavericks
...
https://github.com/fish-shell/fish-shell/issues/968
2013-08-21 14:41:12 -07:00
ridiculousfish
7b6780f712
Put read pipe last so that eval works again. Addresses https://github.com/fish-shell/fish-shell/issues/966
2013-08-21 13:46:11 -07:00
ridiculousfish
d6791a836b
Include the autosuggestion in history if it was truncated
...
https://github.com/fish-shell/fish-shell/issues/650
2013-08-20 20:08:56 -07:00
lledey
69c6b007aa
Remove grep warning from make target completion
...
grep was throwing warnings when no Makefile was found
Signed-off-by: lledey <lledey@gmail.com >
2013-08-19 22:14:20 -04:00
ridiculousfish
ee113a5632
Replace some #warnings with a comment explaining why the code is OK
2013-08-19 18:17:01 -07:00
ridiculousfish
4899086b3c
Big fat refactoring of how redirections work. In fish 1.x and 2.0.0, the redirections for a process were flattened into a big list associated with the job, so there was no way to tell which redirections applied to each process. Each process therefore got all the redirections associated with the job. See https://github.com/fish-shell/fish-shell/issues/877 for how this could manifest.
...
With this change, jobs only track their block-level redirections. Process level redirections are correctly associated with the process, and at exec time we stitch them together (block, pipe, and process redirects).
This fixes the weird issues where redirects bleed across pipelines (like #877 ), and also allows us to play with the order in which redirections are applied, since the final list is constructed right before it's needed. This lets us put pipes after block level redirections but before process level redirections, so that a 2>&1-type redirection gets picked up after the pipe, i.e. it should fix https://github.com/fish-shell/fish-shell/issues/110
This is a significant change. The tests all pass. Cross your fingers.
2013-08-19 18:06:24 -07:00
ridiculousfish
f4f2847662
Trivial cleanup of a function in proc.cpp
2013-08-19 18:06:24 -07:00
ridiculousfish
fb89e1a26f
Reenable free_redirected_fds_from_pipes.
2013-08-19 18:06:24 -07:00
ridiculousfish
e849beabba
Initial work towards various IO cleanups with an eye to fixing https://github.com/fish-shell/fish-shell/issues/110
2013-08-19 18:06:24 -07:00
Konrad Borowski
2979d3bf16
Fix #684 by putting newline after $argv
...
It's rather hacky, but it sort of works. (but then, this makes fish
compare to PHP (but PHP doesn't put that newline), so perhaps I
shouldn't do that - http://git.io/GFurbg )
2013-08-18 10:57:33 +02:00
ridiculousfish
88efc73797
Actually commit the no-scope-shadowing to . function
2013-08-17 17:04:16 -07:00
ridiculousfish
77b13d02f0
Fix "." function to not shadow scopes, so the tests pass again. Remove eval's use of "." function.
2013-08-17 17:00:15 -07:00
ridiculousfish
588c520c4a
Move FISH_BUILD_VERSION from osx/config.h to the pbxproj so that we can build with the generated config.h
2013-08-17 15:46:33 -07:00
David Adam (zanchey)
d371af0504
configure.ac: remove m4_esyscmd_s
...
m4_esyscmd_s is a macro only available in Autoconf 2.64, which despite
being released in 2009 is not available on a number of build targets for
the project (specifically CentOS/RHEL 6).
ca8e4c08a7 tries to remove the error produced with m4_pattern_allow,
but that just silences the sanity check.
Instead, replace m4_esyscmd_s with m4_esyscmd + manual removal of
newlines.
2013-08-17 10:47:35 +08:00
Konrad Borowski
3e115b7a85
Mac OS X doesn't support uname -o. Use uname instead.
...
I break compatibility with Mac OS X again, that I don't have access
to. Result: Stuff break, and I have to fix it, so it will perhaps
work. At least, I hope it will work.
2013-08-16 20:48:44 +02:00
Konrad Borowski
ca8e4c08a7
Fix compilation under CentOS
...
I hope I didn't broke anything, but it works for me.
2013-08-16 19:59:16 +02:00
Mikko Viitamäki
6ec4591f02
fixing small typo
2013-08-16 11:45:15 +03:00
Konrad Borowski
679ef95257
Document source command.
2013-08-14 18:55:15 +03:00
Konrad Borowski
5818289c2d
Deprecate "." command. Fixes #310 .
...
Needs documentation (for the new name), but manages to move . to source,
while preserving compatibility.
2013-08-14 18:43:09 +03:00
Konrad Borowski
d407d680ea
Show path containing current disk drive in Windows in title
2013-08-14 12:21:17 +03:00
Konrad Borowski
feb36e7342
Show drive letter under Cygwin
...
/c/c looks awful, and C:/ is simply better.
2013-08-14 12:11:09 +03:00
Konrad Borowski
8ab81e6d4b
Implement 'help' for Cygwin.
2013-08-13 17:26:38 +03:00
Konrad Borowski
4fc2ee1bd4
Implement 'open' for Cygwin.
2013-08-13 17:21:40 +03:00
Konrad Borowski
07c48590c0
Be quiet about "if" conditional.
2013-08-13 17:13:18 +03:00
Konrad Borowski
4388b73077
Don't mention chsh if it doesn't exist.
...
This is case in Cygwin, which doesn't have /etc/shells ans chsh.
2013-08-13 17:07:24 +03:00
Konrad Borowski
d7c6855918
Remove problems with fishd under Cygwin.
...
Yes, it's an awful hack, but IPC support (and fork support as well -
even FAQ mentions that, and suggests "restarting process" to solve the
problem (http://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures ),
but let's ignore that for now) is simply broken in Cygwin. Having to try
to do exactly same thing in Cygwin, just so perhaps it will work is a
completely normal thing (not). I love Windows.
2013-08-12 20:19:51 +03:00
Konrad Borowski
e5e7da1482
Ignore executable files
...
I commited executables in previous commit (removed using git push
--force - sorry, I wouldn't want to waste space in git repository), so I
think *.exe files should be forbidden to avoid any problems (there is no
reason to ever commit them)
2013-08-12 09:58:45 +03:00
Konrad Borowski
64921fe08a
Fix hostname command under Cygwin with Unicode characters
...
Yes, hostname is broken under Cygwin, but for fish it's an issue, as it
makes fish_config more buggy than it needs to be (by making UTF-8 errors
according to Python).
2013-08-12 09:56:03 +03:00
Konrad Borowski
79d5ff0350
Fix ls command under Cygwin
...
It appears that dircolors -c under Cygwin has >&/dev/null at end that is
valid C shell syntax, but isn't accepted in fish shell.
2013-08-12 09:38:17 +03:00
David Adam (zanchey)
ada3ab4213
.gitignore: ignore tarball files
2013-08-11 23:45:39 +08:00
David Adam (zanchey)
a00b979bb6
tarball contents should match the filename
2013-08-11 23:23:28 +08:00
David Adam (zanchey)
b1d8492c3f
Makefile.in: don't build dist stuff from Makefile, use build_tools
2013-08-11 23:13:38 +08:00
David Adam (zanchey)
75fe438f21
osx/config.h: define the FISH_BUILD_VERSION symbol
2013-08-11 23:13:38 +08:00
David Adam (zanchey)
8cdcfc2a91
configure.ac: generate the fish version number dynamically
...
Note that this will NOT get updated on every run - even if autoconf is run manually, the value may be cached. The PACKAGE_VERSION variable/symbol will not be reliable. Use FISH_BUILD_VERSION instead.
2013-08-11 23:13:38 +08:00
David Adam (zanchey)
2a06c72113
Generate version numbers dynamically
...
This commit hooks the Makefile up to generate a FISH_BUILD_VERSION
symbol and kills off PACKAGE_VERSION in .cpp files.
It also modifies the tarball generation script to add the necessary
version file for releases.
2013-08-11 23:13:38 +08:00
David Adam (zanchey)
05563ab11e
add git_version_gen: generate a version number from the git tree
...
Originally from the git sources (GIT-VERSION-GEN)
(C) Junio C Hamano <junkio@cox.net >
Reused under GPL v2.0
2013-08-11 23:13:38 +08:00
David Adam (zanchey)
625a1cb0b5
.gitattributes: mark most scripts in build_tools as not for export
...
(but not all!) build_documentation.sh is needed for the tarball if you run make distclean
2013-08-11 23:13:38 +08:00
David Adam (zanchey)
ed8ff85d2a
accidentally reopened #943 , fixed now
2013-08-07 11:26:57 +08:00
David Adam (zanchey)
b482cab7be
docs: add editor documentation, move binding information
...
closes #931
also fixes a crossreference error
2013-08-07 11:23:17 +08:00
Kevin Ballard
0bf5316249
git_prompt: Default upstream_prefix to nothing
...
git.git's __git_ps1 doesn't have an upstream prefix. I'm not sure why
one was added to our __fish_git_prompt, but it certainly shouldn't
default to a space.
2013-08-05 12:41:58 +08:00
Kevin Ballard
969928e500
git_prompt: Fix bad test if bash.showUntrackedFiles isn't set
2013-08-05 12:41:58 +08:00
David Adam (zanchey)
f30a5fe288
.gitignore: ignore generated source docs, don't ignore Doxyfile.help
...
Doxyfile.help isn't generated
2013-08-05 09:26:38 +08:00
Gennadiy Zlobin
6f3d7209c2
Fixes broken link in docs. Fixes #943
2013-08-04 14:53:00 +04:00
Brian Gernhardt
82b589e390
git_prompt: Make informative separator configurable
...
It reuses $__fish_git_prompt_char_stateseparator, since it has a
similar meaning and goes otherwise unused when
$__fish_git_prompt_show_informative_status is set.
2013-07-30 11:31:24 +08:00
Brian Gernhardt
b280cc5e75
git_prompt: Change informative character defaults
...
This changes the defaults for several characters when
$__fish_git_prompt_show_informative_status is set so that the prompt
looks more like the typical informative prompt.
Before: (master >1<2|+3#4*5%6)
After: (master↑1↓2|â—3✖4✚5…6)
The defaults were taken from magicmonty/bash-git-prompt
2013-07-30 11:31:24 +08:00
Brian Gernhardt
1964b04ea9
git_prompt: Show upstream with informative status
...
This makes $__fish_git_prompt_show_informative_status imply
$__fish_git_prompt_showupstream = "informative", while adding a none
option for showupstream to disable it if desired.
2013-07-30 11:31:24 +08:00
Brian Gernhardt
c4bc216815
git_prompt: Informative upstream with informative status
...
This makes $__fish_git_prompt_showupstream = "auto" mean "informative"
instead of "git" if $__fish_git_prompt_show_informative_status is set.
2013-07-30 11:31:24 +08:00
David Adam (zanchey)
3af40efdb1
builtin_test: drop unused condstr
2013-07-29 17:59:38 +08:00
David Adam (zanchey)
27d84ef8be
documentation for test and function ( closes : #734 )
...
plus speling in documentation for bind.
Note that this commit does not re-enable the generation of the manpage for
test, which will therefore still fall through to the system manual page with
`man test`.
2013-07-29 16:07:00 +08:00
Konrad Borowski
be77b9201e
Rename STYLEGUIDE.md to CONTRIBUTING.md, so GitHub would notice it.
2013-07-28 20:49:38 +02:00
Konrad Borowski
0479f0ad63
Remove useless debugging code
2013-07-27 17:08:06 +02:00
Brian Gernhardt
aa8b3cb6d6
git_prompt: fix non-informative upstream
...
`test -n informative` will always succeed. We want to test the
informative variable instead so that other modes can still work.
2013-07-27 10:35:46 -04:00
Brian Gernhardt
c62d9c37d2
git_prompt: Repaint when show_informative_status is changed
2013-07-27 09:59:36 -04:00
Brian Gernhardt
70fbb4623f
git_prompt: Fix resetting colors in informative_status
2013-07-27 09:58:45 -04:00
Konrad Borowski
6aebeca1d0
Highlight incorrect use of command or exec
2013-07-27 14:57:16 +02:00
waterhouse
e3ea953ff4
Ctrl+E should insert suggested completion and then go to end of line
...
(Closes #91 , #932 )
Currently, control-E is bound to `end-of-line`.
This patch modifes the `end-of-line` procedure so that, if it is invoked when
the cursor is at the end of a command and there is pending completion text,
it will accept the completion text and move to the end. The behavior of
`end-of-line` will not otherwise be altered.
2013-07-27 18:00:02 +08:00
Brian Gernhardt
8dd9602f06
git-prompt: Document informative_status changes
2013-07-26 22:05:07 -04:00
Brian Gernhardt
92d2e681d6
git-prompt: Move status_order to near informative_status
...
It's easy to forget the definition of ___fish_git_prompt_status_order
when there are dozens of lines between where it is defined and where
it is used.
2013-07-26 22:05:07 -04:00
Brian Gernhardt
c82dbaca8b
git-prompt: Ensure repaint on all char and color changes
...
A few characters and colors got added without being added to the event
list for repainting.
Also sort and re-align list of characters in validate_chars.
2013-07-26 22:05:07 -04:00
Brian Gernhardt
6faeb71770
git_prompt: don't save output of ls-files for untracked files
...
based on git.git 14d7649: "bash prompt: avoid command substitution
when checking for untracked files"
2013-07-26 22:05:07 -04:00
Brian Gernhardt
d534b0ba81
git_prompt: Call git rev-parse less often
...
The code invoked `git rev-parse` several times when the required
information could be collected all at once.
This is based on the following commits from git.git:
efaa0c1: bash prompt: combine 'git rev-parse' executions in the main code path
e3e0b93: bash prompt: combine 'git rev-parse' for detached head
0f37c12: bash prompt: use bash builtins to check for unborn branch for dirty state
dd0b72c: bash prompt: use bash builtins to check stash state
2013-07-26 22:05:07 -04:00
Brian Gernhardt
87a0363ba7
git_prompt: remove __fish_git_prompt_git_dir
...
It's a one line function called in a single place. I suspect it only
existed because the bash equivalent __gitdir existed (it was more
complex), but that function no longer exists either, as of git.git
511ad15: "bash prompt: run 'git rev-parse --git-dir' directly instead
of __gitdir()"
2013-07-26 22:05:07 -04:00
Brian Gernhardt
0005702399
git_prompt: print unique detached HEAD abbreviated object name
...
Simply using cut duplicates (poorly) `git rev-parse --short`
This also restores the ... printed after the abbreviation which
__fish_git_prompt had been missing.
Based on git.git e8f21ca: "bash prompt: print unique detached HEAD
abbreviated object name"
2013-07-26 22:05:06 -04:00
Brian Gernhardt
8642a1e68e
git_prompt: Display head for simple rebase
...
based on git.git 1306321: "prompt: fix for simple rebase"
2013-07-26 22:05:06 -04:00
Brian Gernhardt
ec1d2e86c8
git_prompt: Add __fish_git_prompt_char_stateseparator
...
Unlike the rest of the __fish_git_prompt_char_* variables, it does not
have its own color because the most likely values are a space and
nothing.
based on git.git 15a54fb: prompt: introduce GIT_PS1_STATESEPARATOR
2013-07-26 22:05:06 -04:00
Brian Gernhardt
2a46b984cd
git_prompt: show where rebase is at when stopped
...
Adds a progress indicator to the rebase messages. (e.g. |REBASE 2/5)
based on the git-prompt portion of git.git b71dc3e: "bash-prompt.sh:
show where rebase is at when stopped"
2013-07-26 22:05:06 -04:00
Brian Gernhardt
5a7b85adc7
git_prompt: use REVERT_HEAD
...
git revert was taught to revert multiple commits, and it stores it
branch information in REVERT_HEAD just like the other *_HEAD files.
based on git.git 3ee4452: bash: teach __git_ps1 about REVERT_HEAD
2013-07-26 22:05:06 -04:00
Brian Gernhardt
914f83cb10
git_prompt: add bash.showUntrackedFiles option
...
The option was added in git.git 66cb5d4, so pay attention to it like
we do the other bash.* options.
2013-07-26 22:05:06 -04:00
Brian Gernhardt
db969dc85a
git_prompt: __fish_git_prompt_showcolorhints
...
Based on GIT_PS1_SHOW_COLORHINTS, it introduces more color by default
and also changes the color of the branch name based on if it is a real
branch or detached.
Based on the following commits from git.git:
9b7e776: show color hints based on state of the git tree
9b3aaf8: Fix up colored git-prompt
76c36c0: coloured git-prompt: paint detached HEAD marker in red
2013-07-26 22:04:22 -04:00
Brian Gernhardt
5b39d1819f
git_prompt: Add defaults to set_color
...
This is mostly useful for the next commit that will have different
colors default to different values, but it has one immediate change:
all __fish_git_prompt_color_* variables now default to
__fish_git_prompt_color instead of to nothing, as they used to.
2013-07-26 22:03:45 -04:00
Brian Gernhardt
3fe1adfc6d
git_prompt: Expand color/character explinations
...
This will be getting more complicated when I add the showcolorhint
option from git.git.
2013-07-26 22:03:45 -04:00
Brian Gernhardt
0af49d0533
git_prompt: Update documentation
...
* The original __git_ps1 function has split from the rest of
git-completion as of git.git af31a45
* Use the description for GIT_PS1_DESCRIBE_STYLE (added in git.git
50b03b0) for __fish_git_prompt_describe_style
* Update the description of __fish_git_prompt_showupstream to include
the meaning of '=' based on git.git f9db192: "Improve the
description of GIT_PS1_SHOWUPSTREAM"
* Note that the PROMPT_COMMAND versions of the command with extra
arguments don't work, in case someone used to the bash version is
looking for it.
* Note that I am updating the script so Kevin Ballard doesn't get
blamed for anything I break.
2013-07-26 21:50:21 -04:00
Brian Gernhardt
d5c1bf98d7
git_prompt: Add branch information for rebase
2013-07-26 16:10:38 -04:00
Brian Gernhardt
5753fa2106
git_prompt: Merge operation, branch, and bare helpers
...
Operation and branch detection are merged together in the original
because branch information may come from different places depending on
the operation.
Merging the bare helper in helps avoid testing for the working
directory and bare status twice, both of which requires forking a new
process.
Also helps the code match the original more, which will make adding
new features easier.
2013-07-26 16:10:33 -04:00
Brian Gernhardt
31b01f8de3
git_prompt: Reorder show_upstream to match original
...
This makes it easier to see if there are any changes. Also it puts
all of the extra functionality together instead of mixed in with
everything else.
2013-07-26 16:06:23 -04:00
Konrad Borowski
222e36ee3e
Fix make command completion. Fixes issue #928 .
...
Previously, TAB on make CC=/us caused CC=/us/usr/ to appear. This
commit fixes this, by properly removing part after equals sign.
2013-07-25 15:06:39 +02:00
ridiculousfish
f9c2a77c67
Next stab at abbreviations. Highlighting should work.
2013-07-19 12:41:35 -07:00
ridiculousfish
92099c7af2
Initial abbreviation work. Tests currently fail.
2013-07-19 12:41:34 -07:00
Konrad Borowski
58ad04b61c
Avoid standard command not found message when command-not-found is found
...
Squashed commit of the following:
commit c208bc30b7747b3743212483b3dd7e3f90819f49
Merge: 97bea94 2633372
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Fri Jul 19 09:56:12 2013 +0200
Merge branch 'command-not-found' of git://github.com/GlitchMr/fish-shell into command-not-found
commit 26333721b9
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Fri Jul 19 09:55:13 2013 +0200
Fix command_not_found when not found
commit db34460bb5
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Wed Jul 17 13:41:57 2013 +0200
Avoid showing standard command not found message when possible
In bash, command-not-found handler causes the standard messages to
not appear. Because of events model in fish, it isn't really an
option, so I moved the standard command not found message to
fish function. This way, the messages aren't repeated, and the
standard command not found message appears only when handler
couldn't be found.
2013-07-19 09:56:47 +02:00
Konrad Borowski
97bea94550
Fix canto completion
...
-d option was forgotten, causing error for last complete command
2013-07-19 09:28:05 +02:00
Johann Weging
51ae9b3ed4
Add completion for canto.
2013-07-19 09:24:00 +02:00
Konrad Borowski
4726221d18
Merge pull request #915 from GlitchMr/fix-printf
...
printf '\0' now works. Fixes #908 .
2013-07-19 00:17:37 -07:00
Siteshwar Vashisht
7353c6f94d
Fixed ftp completions
...
Merged pull request at https://github.com/fish-shell/fish-shell/pull/919
Squashed commit of the following:
commit c0662a9d4da12ba49ffe1dddc918533f8a52b91f
Author: Siteshwar Vashisht <siteshwar@gmail.com >
Date: Thu Jul 18 21:23:42 2013 +0530
Added missing quote in ftp completions
commit 9ef408d039
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Thu Jul 18 15:33:57 2013 +0200
Make punctuation consistent properly. Fixes #918 .
commit ea26da0f82
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Thu Jul 18 15:29:02 2013 +0200
Revert "make punctuation consistent"
This reverts commit 993c028579 .
2013-07-18 21:26:32 +05:30
Konrad Borowski
91a04c7638
printf '\0' now works. Fixes #908 .
2013-07-17 15:24:23 +02:00
ridiculousfish
1511de68ed
Make parse_util_locate_cmdsubst return the innermost command substitution instead of the outermost.
...
Fixes https://github.com/fish-shell/fish-shell/issues/913
2013-07-17 01:35:30 -07:00
Konrad Borowski
d6c9d3ce94
Use \x1B instead of \e.
2013-07-16 13:42:31 -07:00
ridiculousfish
c64a86efae
Fix some warnings exposed by -Wall
2013-07-16 13:40:11 -07:00
ridiculousfish
c522c0833a
Fix warnings about array subscript in builtin_printf.cpp
2013-07-16 13:38:15 -07:00
ridiculousfish
28fdfec7cb
Add -Wall to Xcode build
2013-07-16 13:37:55 -07:00
ridiculousfish
d3bb2a718a
Make printf support \e as the escape character
...
https://github.com/fish-shell/fish-shell/issues/910
2013-07-16 13:25:42 -07:00
raichoo
cabebd9f51
Fix broken darcs completion
2013-07-16 12:37:30 -07:00
ridiculousfish
886c4320d6
Merge branch 'informative_git' of git://github.com/mariuszs/fish-shell into mariuszs-informative_git
2013-07-11 12:26:25 -07:00
Siteshwar Vashisht
379cf3d249
Converted tabs to spaces in webconfig script
2013-07-06 21:09:20 +05:30
Siteshwar Vashisht
0fe44f0e2a
Cleaned up commented lines and updated method names in create_manpage_completions script
2013-07-06 20:57:41 +05:30
Konrad Borowski
07b7a65b86
Update documentation for $fish_user_paths
2013-06-22 17:22:05 +02:00
Konrad Borowski
7e7b50cd74
Put user paths at beginning
2013-06-22 17:15:43 +02:00
David Celis
0b8f7d4fe7
Add completion for Bundler
...
Signed-off-by: David Celis <me@davidcel.is >
2013-06-20 00:05:28 +08:00
David Adam
93278dc7e3
docs: configure/Makefile changes to require at least Doxygen 1.5
2013-06-19 23:59:13 +08:00
Mariusz Smykuła
a3c87fb30b
Less code is better, __fish_git_prompt_validate_chars refactoring
2013-06-18 22:40:09 +02:00
Mariusz Smykuła
228fa38240
Renaming, cleanup
2013-06-18 22:26:43 +02:00
Mariusz Smykuła
a142c5e1ec
Support for defining color with bold/brighter color set
2013-06-18 22:20:28 +02:00
Mariusz Smykuła
4702283280
Less code is better, __fish_git_prompt_validate_colors refactor
2013-06-18 21:49:53 +02:00
Mariusz Smykuła
918df393e6
Use tabs, sample prompt
2013-06-18 08:52:32 +02:00
Mariusz Smykuła
1e415a9943
Fixes, new method added to prompt
2013-06-17 23:06:05 +02:00
Mariusz Smykuła
c955379971
Added informative status method
2013-06-17 22:20:56 +02:00
Mariusz Smykuła
1debe4f055
Informative version of __fish_git_prompt_show_upstream
2013-06-17 19:29:34 +02:00
Mariusz Smykuła
9b9ce31550
Fix variable name
2013-06-17 19:26:21 +02:00
James French
292908c00a
Portmaster completions
...
* Added FreeBSD's pkg to __fish_print_packages
* Portmaster completes on installed packages and ports
* Options list as per fish_generate_completions, needs to be tidied
up further but will suffice for now
2013-06-17 00:14:16 -07:00
Ivan Giuliani
e027492e11
Added completions for Vagrant
2013-06-17 00:11:34 -07:00
ridiculousfish
640118e781
Cleanup of code that decides whether or not to fork. Fix for issue where stderr may be output twice.
2013-06-16 23:26:43 -07:00
ridiculousfish
c6ec2645dc
Fix for incorrect use of shared ptr references
2013-06-16 12:51:49 -07:00
ridiculousfish
5d75ee7721
Mark jobs as completed when all processes have finished, not just the last one.
...
Fixes https://github.com/fish-shell/fish-shell/issues/876 , and coincidentally also https://github.com/fish-shell/fish-shell/issues/848
2013-06-16 02:53:53 -07:00
Brian Gernhardt
70208eb33a
git prompt: Fix hang on detached head.
...
$git_dir was never set in __fish_git_prompt_current_branch, but used
in the case of a detached HEAD. This caused `cut -c1-7 $git_dir/HEAD`
to expand to `cut -c1-7` which then waited for input.
2013-06-12 16:29:02 -04:00
ridiculousfish
825a7311ea
Make funced properly handle an invalid number of arguments
...
Fixes https://github.com/fish-shell/fish-shell/issues/780
2013-06-08 20:29:38 -07:00
ridiculousfish
09b0213738
Fix for quoted variables in command position error message
...
https://github.com/fish-shell/fish-shell/issues/775
2013-06-08 20:08:54 -07:00
David Adam (zanchey)
8214ae9b15
docs: remove translation instructions
...
(Moved to https://github.com/fish-shell/fish-shell/wiki/Translations )
2013-06-05 16:00:08 +08:00
James French
e63ef84ac1
Added completions for apt-mark
2013-06-04 20:21:46 +08:00
Brian Gernhardt
697c44a293
git prompt: replace question with explanation
...
The code in question displays GIT_DIR! if the user is inside the .git
directory of a repository that has a working directory. Several git
commands won't work in that situation, so it's useful to warn the
user.
2013-06-03 13:04:16 -04:00
Brian Gernhardt
18e34902a5
git prompt: actually show staged token
2013-06-03 13:00:14 -04:00
Brian Gernhardt
4b0c3ffc2f
git prompt: reindent
...
Normally I wouldn't bother, but it was difficult to follow the nested
if statements. Most of the file used tabs, so replaced all leading
spaces with the appropriate amount of tabs.
2013-06-03 12:59:50 -04:00
David Adam (zanchey)
b4d33a58b1
rsync completions: use rsync --list-only to generate completions, allowing the use of rsync daemons
2013-06-03 20:04:32 +08:00
James French
c177965da5
Rsync Remote Path Completion
...
Relevant section lifted from scp.fish
Silenced SSH output to squash banners and failed connections
Erroneous 'and true' removed
echo (commandline -ct) is exactly the same as commandline -ct
2013-06-03 20:04:32 +08:00
ridiculousfish
220e1e8fb5
Fix for crash when setting tmux pane title
...
https://github.com/fish-shell/fish-shell/issues/846
2013-06-02 01:50:22 -07:00
ridiculousfish
464187491f
Formatting
2013-06-02 01:14:26 -07:00
ridiculousfish
fd15d30987
Add some const, fix spaces
2013-06-02 01:14:05 -07:00
Christian Rishøj
03e36bda72
make cursor placement consistent with transpose-words from readline
2013-06-02 00:59:22 -07:00
Christian Rishøj
a259c37415
transpose-words
2013-06-02 00:59:22 -07:00
Johann Weging
54c21f5974
Fixed the capitalization and shorten the descriptions.
2013-06-02 00:54:25 -07:00
Johann Weging
08f378c359
Added completions for head
2013-06-02 00:54:25 -07:00
Johann Weging
58818e9738
Added completions for netctl
2013-06-02 00:36:40 -07:00
Terje Larsen
599556d7d1
Add completions for lunchy (Service launcher for OSX)
...
Now when we have fuzzy matching it is actually quite useful.
2013-06-02 00:27:07 -07:00
ridiculousfish
9e4d7b41e0
Update osx/config.h for configure.ac changes
2013-06-01 23:55:32 -07:00
Ian Ray
b35a2d568a
Conditionally include sys/sysctl.h
2013-06-01 23:33:27 -07:00
ridiculousfish
9ca12e9f9d
Squashed commit of the following:
...
commit 5a577d970a293afe320b6c3280c10c2bd8a1ff50
Merge: 908b075 96941b3
Author: ridiculousfish <corydoras@ridiculousfish.com >
Date: Sat Jun 1 22:59:16 2013 -0700
Merge branch 'dotdir-two-chars' of git://github.com/GlitchMr/fish-shell into GlitchMr-dotdir-two-chars
commit 96941b3a92
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Sat May 25 09:55:43 2013 +0200
Support BSD sed
commit 60652c2bd2
Author: Konrad Borowski <glitchmr@myopera.com >
Date: Sun May 19 10:58:40 2013 +0200
Show first two characters for dotdirs. Fixes #754 .
2013-06-01 23:02:13 -07:00
ridiculousfish
908b07527e
Support for fuzzy completions
...
https://github.com/fish-shell/fish-shell/issues/568
https://github.com/fish-shell/fish-shell/issues/528
2013-05-25 15:41:18 -07:00
ridiculousfish
ee7339b661
Merge branch 'completions-git-add' of git://github.com/phisto/fish-shell into phisto-completions-git-add
...
Conflicts:
share/completions/git.fish
2013-05-25 14:10:18 -07:00
Ian Ray
35610da204
Fix wchar_t cast
2013-05-25 14:03:18 -07:00
Dag Odenhall
c06b1694a2
Parse man8 pages with fish_update_completions
...
Closes #727
2013-05-25 13:57:10 -07:00
ridiculousfish
c238bdd861
Indentation and quote cleanup of help.fish
2013-05-25 13:52:06 -07:00
David Adam (zanchey)
d378904b98
help function: tidy up messages, remove the 'difference' option
...
Fixes #73
2013-05-25 13:47:34 -07:00
David Adam (zanchey)
3a4a2a6dac
help command: only use $BROWSER if it is a valid command
...
(plus add Google Chrome and Chromium to graphical_browsers and a spelling fix)
2013-05-25 13:47:34 -07:00
ridiculousfish
cfe815135e
Use strerror in uClibc, which doesn't have sys_errlist
...
https://github.com/fish-shell/fish-shell/pull/808
2013-05-25 13:42:16 -07:00
Dennis Ideler
2eb97edf02
Fix typo
...
Remove extra instance of "builtin commands", shouldn't be there.
2013-05-25 01:00:37 -07:00
Valentin-Costel Hăloiu
cdfb5c2bd8
Add systemctl completions
2013-05-25 00:43:03 -07:00
Konrad Borowski
8f9ba2cd09
Escape question mark in ack completion
...
I haven't noticed that because I tested ack in directory with one file.
After @gfxmonk sent issue #797 , I have noticed the problem. This patch
fixes #797 by escaping question mark.
2013-05-25 00:27:30 -07:00
ridiculousfish
ee95a7309a
Fix issue where transpose fails if there is a trailing autosuggestion
2013-05-24 23:56:12 -07:00
Christian Rishøj
f32dfe2da6
command and binding for transpose-chars
2013-05-24 23:56:12 -07:00
Dag Odenhall
9f0775c873
Fix $LINES = $COLUMNS bug
...
Fixes #745
2013-05-24 23:23:29 -07:00
Marc Qualie
9169a673d5
Slightly modified this theme to match robbyrussel
...
I recently switch from ZSH to Fish shell and noticed that this theme is slightly different to the one provided by ZSH. I edited my own using funced but thought it might be useful for other people who are used to the ZSH interface.
2013-05-24 23:18:24 -07:00
ridiculousfish
37123ee053
Squashed commit of the following:
...
commit 4a9595845111bcc8d45419241f8f49bc3e8b3445
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:45:58 2013 +0200
use the new functions
commit 1c934ebbe65a82e92079952b15f31d3a92bc5e8f
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:45:21 2013 +0200
moves formatting code to the bottom in order to get it out of the way of all the colour handling
commit c62f827143c30f6810026c7e4a3d8b77178cd9a4
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:44:12 2013 +0200
adds helper returning whether or not there are staged files
commit 624e47cb85a7579bf284a6a7f0c9165dfa38b0ce
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:43:41 2013 +0200
adds helper returning whether or not the current branch is dirty
commit efc270da7b0998f564a7d2ae4ea3013ed6910e58
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:42:48 2013 +0200
adds helper returning whether or not a repo is bare
commit 0da668316cedb8e3fa166977be82c917ef67ad86
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:41:55 2013 +0200
adds helper returning current branch
commit 15cbcedc77199aea1868faee5d178d9547a4d541
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:41:10 2013 +0200
adds helper returning current operation
commit c3352d3e9e60bf94fd4bf412ad85d62bba4cbff8
Author: Harm Aarts <harmaarts@gmail.com >
Date: Fri May 24 10:40:20 2013 +0200
adds helper returning the git dir
commit f346e52b7814ebf1eed55f006c3bedc8ece38e3b
Author: Harm Aarts <harmaarts@gmail.com >
Date: Mon May 20 18:52:19 2013 +0200
use the fish_git_prompt_char_* variables
2013-05-24 23:15:46 -07:00
Bodo Tasche
c2616e385c
Added darwin uname completions, fixes #778
2013-05-24 23:11:45 -07:00
ridiculousfish
5297d46017
Squashed commit of the following:
...
commit bb27562af5333f84b9995b50b59c767eaae12f7c
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 04:18:09 2013 +0200
Enhance completions for git rebase
commit e9f69ea4f9deb7a7c9284148591ff2075748ab8c
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 03:56:51 2013 +0200
Enhance completions for git merge
commit 75974f9c2468b381069f11f8e1a03e86af1e47d7
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 03:40:27 2013 +0200
Enhance completions for git add
commit ec6aeab105f351a6d2184078d84d32bb12df3204
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 03:16:48 2013 +0200
Enhance completions for git tag
commit c3a1c17c436a670588a692240a562e2436538498
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 03:09:13 2013 +0200
Add git completions for stash
commit 40baae8c75151be753da9efc309287662818d93d
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 02:54:19 2013 +0200
Enhance completions for git push
commit 6d9023bb744f80e33481f765d542a17ecf6ccf19
Author: Terje Larsen <terlar@gmail.com >
Date: Mon May 20 02:32:27 2013 +0200
Enhance completions for git pull
2013-05-24 23:08:51 -07:00
David Adam (zanchey)
2ef9126744
FAQ: address local variable/env usage
2013-05-24 23:02:29 -07:00
David Adam (zanchey)
1d2cd99e96
FAQ: add questions from beta site
2013-05-24 23:02:29 -07:00
Max Gonzih
994e9fe9de
Implement subcommand arguments completion for zypper package manager
2013-05-24 20:52:34 -07:00
Max Gonzih
e63a2a2152
Add completion for zypper pkg manager (openSUSE)
...
Implemented subcommand completion, global arguments completion
Not implemented yet subcommand arguments completion
2013-05-24 20:52:34 -07:00
Patrick Browne
2997ce2e3c
quote command for it to be ran every time
2013-05-24 15:09:57 +02:00
Patrick Browne
b8028c1b1d
added options for git add
2013-05-24 14:10:00 +02:00
Patrick Browne
568de8157a
added completion for git add --patch
2013-05-24 14:01:47 +02:00
ridiculousfish
924b646b79
Fix for crashing and assertion failures when tab completing a token that consists of only backslash
...
Fixes https://github.com/fish-shell/fish-shell/issues/762
2013-05-20 01:40:24 -07:00
ridiculousfish
f8786c25be
Fix for failing to update command line while cycling through tab completions
...
https://github.com/fish-shell/fish-shell/issues/765
2013-05-20 00:31:47 -07:00
Siteshwar Vashisht
92b2c28532
Updated links to documentation in README.md
2013-05-19 23:59:20 +05:30
ridiculousfish
cc0c44f36b
Merge branch 'Integration_2.0.0'
2013-05-17 00:41:21 -07:00
ridiculousfish
ce279e9c2d
Use gnutar instead of tar for making tarballs
2013-05-17 00:41:06 -07:00
ridiculousfish
84978b7132
Fix for AppleScript error in fish.app
2013-05-17 00:40:33 -07:00
ridiculousfish
e4e9f6f221
Added missing osx/install.sh for building fish.app
2013-05-16 20:20:31 -07:00
ridiculousfish
77ec902ca7
Fix for failing to weak link wcsncasecmp - binary dies on SnowLeopard
2013-05-16 19:45:47 -07:00
ridiculousfish
7d9b0a00e4
Add note about uninstalling fish
2013-05-16 09:32:31 -07:00
ridiculousfish
f3c1ca3564
Merge branch 'Integration_2.0.0'
2013-05-15 01:03:15 -07:00
ridiculousfish
f109fa227d
Release notes for fish 2.0
2013-05-15 01:02:55 -07:00
ridiculousfish
8befc474c1
Ugly hack to move functions in sample prompts inside fish_prompt to address #736
2013-05-13 10:17:31 -07:00
ridiculousfish
622efba247
Space -> tab in ack completion to match rest of file
2013-05-13 02:06:18 -07:00
Dag Odenhall
ce0c52d353
Silence errors when ack doesn't support --dump
...
It seems to be new in ack 2.x and with 1.96 I get error messages when
the ack completions are loaded.
2013-05-13 02:04:53 -07:00
David Adam (zanchey)
b03515276e
update darcs completions
2013-05-13 01:59:50 -07:00
David Adam (zanchey)
30af350be0
update cvs completions
2013-05-13 01:59:50 -07:00
David Adam (zanchey)
1287b9d823
Help cleanup
...
Large list of changes, including formatting and typos for most commands.
More substantive changes have been made to alias, bind, block, break,
builtin, case, cd, commandline, count, else, emit, fish_config, funced,
function, functions, history, math, mimedb, nextd, not, popd, prevd,
pushd, pwd, random, read, set, set_color, switch, test, trap, type,
ulimit, umask, and while.
2013-05-13 01:48:20 -07:00
David Adam (zanchey)
91aab03b90
Document that fish functions cannot be background
...
(Documentation for #238 , #563 )
2013-05-13 01:48:20 -07:00
David Adam (zanchey)
e921dc50e0
FAQ updates - implicit cd and autosuggestions
2013-05-13 01:48:20 -07:00
David Adam (zanchey)
dd6bb04ba7
documentation typos
2013-05-13 01:48:20 -07:00
ridiculousfish
c80bd104d2
Add errret param to other calls to setupterm
2013-05-13 01:41:50 -07:00
Ian Munsie
22d1aaa27d
Prevent fish dying if setupterm() fails in builtin_set_color()
...
Since set_color was changed to a built-in command, the entire shell will
exit in the event that setupterm() fails for some reason since ncurses
does an exit() if an errret was not passed in.
setupterm() can fail if the TERM environment variable is not set. This can
cause the shell to die prematurely if set_color is called from a startup
file like config.fish (such as vi-mode.fish which caches the results of
set_color when it is loaded) and fish is started without a TERM set
(e.g. when started from .xsession, or when being used as a remote shell
by a command such as rsync, scp or git)
A simple repro case for this issue is:
ian@delenn~ [i]> echo set_color normal > ~/.config/fish/config.fish
ian@delenn~ [i]> scp localhost:test .
TERM environment variable not set.
ian@delenn~ [i]>
This patch passes in an errret variable to setupterm(), which causes
ncurses to return the error to builtin_set_color() rather than calling
exit():
ian@delenn~ [i]> scp localhost:test .
test 100% 0 0.0KB/s 00:00
ian@delenn~ [i]>
Signed-off-by: Ian Munsie <darkstarsword@gmail.com >
2013-05-13 01:35:57 -07:00
ridiculousfish
2f5016262a
Attempt again to fix UnicodeDecodeError (issue #658 )
2013-05-12 01:57:42 -07:00
ridiculousfish
47583877f1
Doc fix where wrong file was referenced in an example
2013-05-12 00:44:41 -07:00
ridiculousfish
1dbff80691
Correct sizes of certain fish.app icons
2013-05-05 03:35:37 -07:00
ridiculousfish
7abf6c71ad
Typos in the fish OS X package installer rtf file
2013-05-05 02:42:31 -07:00
ridiculousfish
2da81b0ae7
Formatting and style updates
2013-05-05 02:33:17 -07:00
Siteshwar Vashisht
d4c881791f
Avoid generating man page and help section for printf (to fallback on system man page for printf)
2013-05-05 14:59:34 +05:30
Siteshwar Vashisht
516be01366
Added documentation for printf
...
Fix for https://github.com/fish-shell/fish-shell/issues/488
2013-05-05 12:27:38 +05:30
Dag Odenhall
2b99190a1b
Add completions for cabal; closes #567
2013-05-04 12:48:38 -07:00
Tin Tvrtkovic
3087f57453
Manually cleaned up Mercurial completions.
2013-05-04 12:44:03 -07:00
ridiculousfish
4a4f8ec523
Clarify "input/output methods" in documentation
2013-05-04 11:53:50 -07:00
ridiculousfish
0c004147c0
Merge branch 'zanchey-docs'
...
Conflicts:
doc_src/index.hdr.in
2013-05-04 11:47:07 -07:00
ridiculousfish
451eb13e0e
Add a note about getting help through man pages
2013-05-04 11:43:15 -07:00
Kurtis Nusbaum
4e84cf1d38
Fixed small typo
...
Fixed a small typo that I noticed in the design docs.
Pretty sure it was meant to say "turned off" instead
of "turned of".
2013-05-01 18:37:52 -05:00
Eivind Uggedal
72b7e64ad8
Tiny typo.
2013-05-01 12:27:55 +02:00
David Adam
c3690b0878
index.hdr.in: slightly more controversial changes
...
- Clarify wording in functions section
- Use the term aliases rather than wrappers
- Clarification of concepts and better? examples in variable expansion
- Likewise in environment variables
- Using the phrase builtin commands rather than builtins
- Tidy up keybindings a bit
- Another example in the history section
- Remove TODO section in favour of mailing list, GitHub and IRC link
2013-04-30 18:24:23 +08:00
David Adam
b3f248fd19
index.hdr.in: (hopefully) non-controversial edits
2013-04-30 18:24:23 +08:00
David Adam
d4686e6a59
index.hdr.in: add code markup
2013-04-30 18:09:34 +08:00
David Adam
14af6ba2af
status command: improve help text
2013-04-29 13:46:00 +08:00
David Adam
c3ee3af201
miscellaneous typos
2013-04-29 13:45:48 +08:00
ridiculousfish
6496adf101
Make trap sort of work on OS X
...
https://github.com/fish-shell/fish-shell/issues/607
2013-04-28 16:31:25 -07:00
ridiculousfish
79f8d5c51e
Fix __fish_filter_mime to not pass 0 to seq
2013-04-28 15:59:33 -07:00
ridiculousfish
74ef1bc8ff
Fix typos in count documentation
2013-04-28 15:59:21 -07:00
Eivind Uggedal
26eeb9f37a
Fix broken sentence in the Job Control section of the user doc.
2013-04-28 14:51:13 -07:00
ridiculousfish
ab385cd609
Teach fish about rxvt's special key bindings
...
https://github.com/fish-shell/fish-shell/issues/657
2013-04-28 14:36:11 -07:00
ridiculousfish
0f12f2b6b1
Formatting cleanup of builtin_contains
2013-04-28 14:35:00 -07:00
Tin Tvrtkovic
32c1d50887
Refactored out individual VCS completions.
...
Autogenerated completions for Mercurial using a recent version (no extensions installed).
2013-04-28 14:54:59 +02:00
ridiculousfish
956c94f30a
Teach the Makefile to only instruct the user to edit /etc/shells if it needs to be edited
2013-04-27 16:36:35 -07:00
ridiculousfish
3e69e5b082
Large set of changes to improve history atomicity on filesystems that do not support locking
...
Should address https://github.com/fish-shell/fish-shell/issues/685
2013-04-27 15:21:14 -07:00
Adam
330faab6cd
Typo in tar completion (vevrify->verify)
2013-04-27 14:48:33 +02:00
ridiculousfish
fe6699f0bf
Rely on $PWD instead of getcwd() more often
...
Fixes https://github.com/fish-shell/fish-shell/issues/696
2013-04-27 00:45:38 -07:00
ridiculousfish
807c5f2ef2
Squashed commit of the following:
...
commit 839e9c2ec00fcd72b19f1d415bee26af7f51f8aa
Author: lledey <lledey@gmail.com >
Date: Tue Apr 23 13:28:23 2013 +0200
Fix git branch completion if grep output is not the default one
Signed-off-by: lledey <lledey@gmail.com >
commit 7798ed05744636f67d177bcb47d48d6aeca12787
Author: lledey <lledey@gmail.com >
Date: Tue Apr 23 10:35:35 2013 +0200
Fix git branch completion if grep output is not the default one
Signed-off-by: lledey <lledey@gmail.com >
2013-04-26 21:42:31 -07:00
ridiculousfish
f7708955b6
Make ack completion not spew to stderr if ack is not installed
2013-04-26 21:33:17 -07:00
Konrad Borowski
be9024767e
Allow dynamicly adding types
2013-04-26 12:08:11 -07:00
Konrad Borowski
a1a83f8880
Insanely long ack completion
2013-04-26 12:08:11 -07:00
ridiculousfish
eb3a1f6739
Fix for reported "out of memory" for filesystems that return -1 as _PC_NAME_MAX
2013-04-26 11:46:49 -07:00
Steven Fackler
03c1f2ef5b
Some documentation cleanup
2013-04-21 21:36:48 -04:00
ridiculousfish
d215e86662
Fix for issue where tab completing an empty string would produce no results
2013-04-21 15:49:45 -07:00
ridiculousfish
10962d7175
Remove code that disabled tests (oops)
2013-04-21 15:49:45 -07:00
Siteshwar Vashisht
6889232b41
Moved lein.fish under share/completions
2013-04-21 10:55:41 +05:30
Dmitry Chestnykh
c54097af20
Fix typo in docs
2013-04-20 13:30:40 -07:00
Thomas Kühnel
7c6695354e
Append / to the end of directories for scp completion as suggested by https://github.com/fish-shell/fish-shell/issues/42#issuecomment-7205032
2013-04-20 13:26:06 -07:00
ridiculousfish
2d7fbf2476
Teach xcode build about $BINDIR
2013-04-20 13:18:51 -07:00
Brent Sanders
1ef8206db1
Changed paths.bin to respect BINDIR
...
The compiled-in path to bin dir was not correct; it made the
common assumption that `$(prefix)` == `$(prefix)/bin` which is
usually true, but not in all cases.
1. [machine specific files](http://www.gnu.org/prep/standards/html_node/Directory-Variables.html#index-exec_005fprefix )
should use `$(exec_prefix)` (`@exec_prefix@` in Makefile.in)
instead of the usual `$(prefix)`.
2. [executable programs](http://www.gnu.org/prep/standards/html_node/Directory-Variables.html#index-bindir )
should use the more-specific `$(bindir)` (`@bindir@` in Makefile.in)
instead of assuming `$(exec_prefix)/bin` as this allows the
executable install location to be changed with the
`--bindir=_foo_` option to `./configure`.
Fortunately, the makefile is mostly correct and *installs* the
executable in the correct location. The problem shows up later
such as during tab-completion, when fish_pager is run - the
compiled-in path it uses was the incorrect `$(prefix)/bin`
resulting in an "Unknown command" error, which only required
this small fix.
2013-04-20 13:18:51 -07:00
ridiculousfish
b65f8d81fc
Don't block "hidden files" for wildcard expansions that aren't files (like case)
...
https://github.com/fish-shell/fish-shell/issues/667
2013-04-20 12:41:02 -07:00
ridiculousfish
e285d2939b
Teach fish to exit without destructors in the normal path
2013-04-19 10:24:33 -07:00
ridiculousfish
6b602a4589
Minor cleanup in syntax highlighting
2013-04-19 10:24:33 -07:00
ridiculousfish
084542b943
print_variables should use ellipsis_char instead of literal ellipsis
2013-04-19 10:24:33 -07:00
ridiculousfish
ef8ea97044
Prevent inline destructor of completion_t to reduce compiled code size a bit
2013-04-19 10:24:33 -07:00
ridiculousfish
dd6d0e774c
Rearrange some macros in configure.ac so that CXXFLAGS can default to -g -O2 again
2013-04-19 10:24:33 -07:00
ridiculousfish
f934310337
Build with -fno-exceptions
...
https://github.com/fish-shell/fish-shell/issues/664
2013-04-19 10:24:33 -07:00
Siteshwar Vashisht
afe293c20a
Fixed compilation by adding missing header libintl.h
2013-04-17 06:41:58 +02:00
Siteshwar Vashisht
7f0a68f8d6
Fixed check for msgfmt in configure.ac
2013-04-16 15:13:05 +02:00
ridiculousfish
2517832718
Teach fish_config how to find fish from __fish_bin_dir
...
Fixes https://github.com/fish-shell/fish-shell/issues/621
2013-04-15 14:15:47 -07:00
ridiculousfish
bcf3accb74
Eliminate a static string from input_terminfo_get_sequence
2013-04-15 13:07:17 -07:00
ridiculousfish
1c5556334d
Try to fix UnicodeDecodeError in create_manpage_completions.py
...
https://github.com/fish-shell/fish-shell/issues/658
2013-04-15 01:05:56 -07:00
hansstimer
299d803396
Update go.fish
...
Fix typo for vet subcommand
2013-04-14 16:13:50 -07:00
Hans Stimer
d513ace39d
add completion for the Go tool
2013-04-14 16:13:50 -07:00
ridiculousfish
d5a9a4463c
Turn off RTTI when building with libstdc++
2013-04-14 15:59:41 -07:00
ridiculousfish
cf0baada2c
Removed INSTALL file, since it mostly duplicates what's present in README.md
2013-04-14 13:42:12 -07:00
ridiculousfish
49589e2da0
Added note about how to install ncurses, and what to do on EC2
...
Addresses https://github.com/fish-shell/fish-shell/pull/509
2013-04-14 13:38:56 -07:00
ridiculousfish
0e24676144
Fix to make create_manpage_completions work with Python 3
...
Fixes https://github.com/fish-shell/fish-shell/issues/658 ?
2013-04-14 02:03:53 -07:00
ridiculousfish
b0132821ac
Use 'command git' instead of git to defeat certain git aliases
...
https://github.com/fish-shell/fish-shell/pull/622
2013-04-14 02:03:53 -07:00
nmeum
24afe544a3
Typos
2013-04-14 12:19:56 +05:30
ridiculousfish
3d7ff9f758
Remove "law of minimalism" since echo is now a builtin and we're pretty clearly prioritizing performance over modularity.
...
https://github.com/fish-shell/fish-shell/issues/612
2013-04-13 23:13:18 -07:00
ridiculousfish
a81e70350b
Teach OS X package builder script to look up the version dynamically
2013-04-13 23:13:18 -07:00
nmeum
7f6f0ca103
Fixed a typo
...
It should be 'directory' not 'direcotry'
2013-04-13 22:38:29 +02:00
ridiculousfish
c89bc73740
Added WorkspaceSettings.xcsettings to prevent auto-creation of schemes
2013-04-13 12:21:10 -07:00
ridiculousfish
3100669b79
Add the Xcode schemes
2013-04-13 11:04:44 -07:00
ridiculousfish
22c670c3d3
Replace OS X installer PackageMaker document with a distribution file and script
2013-04-13 02:00:32 -07:00
ridiculousfish
c37c7cee05
Reduce compiled code size a bit
2013-04-13 02:00:31 -07:00
Siteshwar Vashisht
46579f3799
Removed xsel tarball from repository
2013-04-13 12:12:39 +05:30
Greg Dietsche
6de30028a8
tmux: make session auto-completion user friendly
...
make it more user friendly by matching the output of:
tmux list-sessions
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-12 14:03:26 -07:00
Greg Dietsche
c78c1427be
tmux: use status-left short flags
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Conflicts:
share/completions/tmux.fish
2013-04-12 14:03:26 -07:00
Greg Dietsche
953e7fd717
tmux: implement Status Line
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-12 14:03:26 -07:00
Greg Dietsche
1ae08cfedf
tmux: implement ENVIRONMENT
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-12 14:03:26 -07:00
ridiculousfish
3c116cd077
Change Makefile to not delete legacy binaries, but instead just notify the user about them. Change Makefile to only look for legacy binaries in $PREFIX instead of using which.
...
https://github.com/fish-shell/fish-shell/pull/655
2013-04-12 13:49:08 -07:00
ridiculousfish
bcab703e31
Fix a comment
2013-04-10 00:12:55 -07:00
ridiculousfish
73046ec838
Stomp exit status of initialization scripts so that fish starts out with $status 0
...
https://github.com/fish-shell/fish-shell/issues/635
2013-04-09 23:48:03 -07:00
ridiculousfish
e1734468f5
Support for building with C++11
2013-04-09 14:07:19 -07:00
Konrad Borowski
aa78292c2a
Update apt-get completion. Fixes #652 .
2013-04-09 22:04:04 +05:30
ridiculousfish
8bbd8ab073
Hack up dcgettext to try to fix CentOS build
...
https://github.com/fish-shell/fish-shell/issues/645
2013-04-08 12:02:43 -07:00
ridiculousfish
b936be8e34
Hack up gettext to try to fix CentOS build
...
https://github.com/fish-shell/fish-shell/issues/645
2013-04-08 10:20:56 -07:00
ridiculousfish
b8f34cdd35
Teach case-insensitive completions about tildes. Fixes https://github.com/fish-shell/fish-shell/issues/647
2013-04-07 23:54:43 -07:00
Greg Dietsche
993c028579
make punctuation consistent
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-07 16:49:47 -07:00
Greg Dietsche
9285ade8a8
ftp: add support for ftp and pftp
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-07 16:49:46 -07:00
Greg Dietsche
83e9f0dd91
grep: add support for egrep, fgrep, rgrep
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-07 16:42:28 -07:00
Greg Dietsche
c641f5cbdc
grep: fix and add completions
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-07 16:42:28 -07:00
ridiculousfish
c6302e3b3f
Add some more cancellability to autosuggestions
2013-04-07 16:40:14 -07:00
ridiculousfish
94acb6ed5d
Rewrite unescape_yaml to be faster and not needlessly trigger COW behavior of std::string
2013-04-07 14:59:48 -07:00
ridiculousfish
42497d9932
Fix for issue where a file may be incompletely read on receipt of a signal.
2013-04-07 14:52:16 -07:00
ridiculousfish
3f172d13b2
Add thread assertion to proc_set_last_status
2013-04-07 14:38:57 -07:00
ridiculousfish
437b4397b9
Mark stdin as nonblocking if we get EWOULDBLOCK, and before handing it off to child processes when either starting them or moving them to the foreground.
...
https://github.com/fish-shell/fish-shell/issues/176
2013-04-07 12:40:08 -07:00
ridiculousfish
3a7ab3f030
Teaching history how to exit early on thread cancellation
2013-04-06 00:28:55 -07:00
ridiculousfish
fccf38a4d6
Don't pass 0 to seq because BSDs are dumb. Pipe tmux stderr to /dev/null
2013-04-04 21:52:23 -07:00
ridiculousfish
46edc49ede
Squashed commit of the following:
...
commit 6259665e972d478f1ce4ab3d233033ec1dd7eef2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Thu Apr 4 11:02:35 2013 -0500
change spaces to tabs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 465333d982db441f430767b645fdcd95e44cc5d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Wed Apr 3 11:15:22 2013 -0500
tmux: implement completion for panes
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 684baf98a6ac070847f20a02838abe58e8c22d5b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Tue Apr 2 23:56:27 2013 -0500
tmux: don't suggest dirs
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 8c4a9854a1f173866439f976301b743354c945c8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Tue Apr 2 21:57:40 2013 -0500
move front flags to the top of the tmux file
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 7f2321e9cd20a5aa2bcbfe940e20ec57bcca2609
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Tue Apr 2 20:06:54 2013 -0500
fix some of the initial parameters
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit f70fc55bed40c0ccd2a00921c0e7373e7c18b5d7
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Tue Apr 2 21:47:25 2013 -0500
implement tmux KEY BINDINGS
implement the commands in the KEY BINDINGS man page section
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit ec423040dba742f67c06dbb932417f6d19b90fba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Tue Apr 2 00:10:43 2013 -0500
implement tmux completion for CLIENTS AND SESSIONS
Fully implement all tmux commands found in the tmux man
page section titled: "CLIENTS AND SESSIONS"
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-04 21:52:06 -07:00
Valerii Hiora
c05281492d
Improved brew completion
...
Using arg completion
Context-based completion for most of commands (i.e. only installed
packages for upgrade or remove, only outdated for upgrade and so on)
2013-04-04 21:41:59 -07:00
ridiculousfish
5cebd3abf7
Teach git completion about difftool. Change __fish_git_ranges to output branches as designed.
2013-04-04 21:36:13 -07:00
ridiculousfish
5ed5d637b8
Fix %s format specifier for printf. No more elpfor at login.
2013-04-04 15:56:58 -07:00
ridiculousfish
516e18900c
Repaint after completions
...
Fixes #643 , #644
2013-04-04 11:51:23 -07:00
ridiculousfish
0970487cca
Some spaces to tabs in __fish_print_hostnames
2013-04-03 18:46:50 -07:00
Greg Dietsche
d38f1380e9
Ignore hashed host names in ssh/known_hosts
...
Valid DNS names cannot have a | character and hashed ssh hosts
always begin with the | character. Therefore we ignore lines that
begin with |.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-03 18:45:13 -07:00
Greg Dietsche
2626b83b08
the host keyword in ssh/.config is case insensitive
...
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-03 18:45:13 -07:00
ridiculousfish
db0659aab4
Fix a sign warning
2013-04-03 18:27:18 -07:00
ridiculousfish
e23a60a6bb
Another attempt to fix the printf tests on 32 bit Linux
2013-04-03 18:23:31 -07:00
ridiculousfish
3ea8d83d3f
Try to fix printf tests on Linux
2013-04-03 18:04:17 -07:00
ridiculousfish
d9445f04b1
Use the new input_common_add_callback mechanism to not execute callbacks while signals are blocked. Should fix https://github.com/fish-shell/fish-shell/issues/608
2013-04-03 17:26:02 -07:00
ridiculousfish
1543d02f96
Add callbacks that get invoked before the next call to select(), which will allow for a nice fix to https://github.com/fish-shell/fish-shell/issues/608 . Eliminate the poll handler, and replace it with this mechanism.
2013-04-03 13:49:58 -07:00
ridiculousfish
11a444e914
Replace a formatted string with just a character copy
2013-04-03 13:30:45 -07:00
ridiculousfish
2a6412481e
Fix a few more spelling / grammar issues in functions and completions
2013-04-01 10:52:27 -07:00
ridiculousfish
b4447bfa4d
Squashed commit of the following:
...
commit 1bbde16b17f04903340206bada9935ea64f785ba
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:12:22 2013 -0500
fix spelling in xterm.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 392dd59da76e6a1293db79733e1975dbb9ef4032
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:10:08 2013 -0500
fix spelling in type.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit f82026828e4c08bdf355176f86489783c57efc80
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:09:34 2013 -0500
fix spelling in top.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 196f2ec59c0904eb13159d1063e2e6c6edbd50a8
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:08:16 2013 -0500
fix spelling in scrot.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 8400d97dce93afe48612c66eb8ddc2bd06b40968
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:07:48 2013 -0500
fix spelling in scp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit b68bb3f36915520d2c271e48e2d5356e087e9fcf
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:04:30 2013 -0500
fix spelling in mount.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 97000184afde10ca26b6dda8597baa0593bb4e09
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:01:46 2013 -0500
fix spelling in hg.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 87ca4e71ce57842ab98e4d6b6f9274aafd9713a5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:00:37 2013 -0500
fix spelling in gzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 17246a21ad3df39660e6b4c86bf8c6a2239b416b
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 01:00:07 2013 -0500
fix spelling in gunzip.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 0f618600508695ed5a93110568343f8a783db8c5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:59:37 2013 -0500
fix spelling in grep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit bacf6a62041d13f1766e90748cfc2c76e1b04b98
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:58:16 2013 -0500
fix spelling in git.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit f8f6a1914a8f2f60a14dac532f1d63dd8269f676
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:56:45 2013 -0500
fix spelling in fuser.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit dcdfd1552dfd360d1ce808706bc401d52cce22ce
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:54:58 2013 -0500
fix spelling in effectv.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 7b4388364f546b81f0557c500bb6a5207931c3be
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:53:45 2013 -0500
fix spelling in du.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 0450070e98adae2ebe19806f4fb74386a50de003
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:52:55 2013 -0500
fix spelling in df.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 49ae24ae0dbd06c72e6c994f1ea4ca9b385fdda5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:49:00 2013 -0500
fix spelling in cut.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 4eccc923f389e2fc0c498fc63e4bbeeccc177e9a
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:47:21 2013 -0500
fix spelling in compare.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 8c0cfb91c596ef7a1583877c8f38fab7e867cff2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:46:46 2013 -0500
fix spelling in chown.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 4518b06c3fc8c565038ccbeeb0d2f8aea73e1ee0
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:46:08 2013 -0500
fix spelling in chgrp.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit a0a4fb3dc271c469482e87a0f9efab4016596f82
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:43:04 2013 -0500
fix spelling in apt-setup.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 740e75e5316e73fb03c00bd9b482786d1f387cc5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:42:25 2013 -0500
fix spelling in apt-rdepends.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 7a2727bcb96e58a023d0f8ab807f839e76555375
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:27:27 2013 -0500
fix spelling in fish_complete_pacman.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 0e28ff4c1c90bdbf1e1b780d0ab3c2ba04b3a463
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:26:17 2013 -0500
fix spelling in fish_complete_pgrep.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 1ca9fad713c460debcd851dfcffa135f3b579561
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:24:13 2013 -0500
fix spelling in trap.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit deb0c2129d50d627d720cbd549cf8aadc3113243
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:19:00 2013 -0500
fix spelling in fish_not_contain_opt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 8a40bd08b37d5c80041b7beb58fb82d9b0592b5d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:18:16 2013 -0500
fix spelling in fish_make_completion.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit f1c48dc8236a8eb5ba0e45e985e8dd7eadfb88e5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:17:09 2013 -0500
fix spelling in fish_gnu_complete.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit b6813883d9355f8e15917769d46b58cc8fab840d
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:16:33 2013 -0500
fix spelling in fish_git_prompt.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 97e3e74ddb743061a8e4349bf7895cf98cf9d9b2
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:13:11 2013 -0500
fix spelling in fish_complete_vi.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 7c31d5fec8f855fbc3496be7200915a1d2dc4d46
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:10:47 2013 -0500
fix spelling of in fish_complete_tex.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 3f06bdb91942c4d0e686d1bb8b5eff1983a91304
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:06:45 2013 -0500
fix spelling in fish_complete_list.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit 5bfd9ef40547b744c9bbfb4cc6f8a7d880d8f3d6
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Mon Apr 1 00:03:14 2013 -0500
fix spelling in fish_complete_atool.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
commit b84a43ff0bad5e206a591891b6c7ff9028e14eb5
Author: Greg Dietsche <Gregory.Dietsche@cuw.edu >
Date: Sun Mar 31 23:40:28 2013 -0500
fix spelling of protocol in fish_complete_ssh.fish
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu >
2013-04-01 10:49:02 -07:00
ridiculousfish
72b5988e56
Merge pull request #630 from vhbit/e02e5e503d9078e9f0ef8942f57f3cf93eb07718
...
Lein command completion
2013-04-01 10:06:21 -07:00
ridiculousfish
3a2c3c2288
Remove some GNU-makeisms from the Makefile to try to get us to build with BSD make. Not quite there yet.
2013-03-31 19:08:18 -07:00
ridiculousfish
9762a8ca1e
Remove xsel from the build
...
https://github.com/fish-shell/fish-shell/issues/633
2013-03-30 00:13:44 -07:00
Valerii Hiora
e02e5e503d
Basic completion for leiningen
2013-03-30 05:33:53 +02:00
ridiculousfish
e4329f3ae7
Fix the build (oops)
2013-03-29 18:05:01 -07:00
ridiculousfish
f7082ee034
Make xsel work as designed
...
Fixes https://github.com/fish-shell/fish-shell/issues/559
2013-03-29 17:57:44 -07:00
Siteshwar Vashisht
3ac9621f87
Enabled test cases for unicode characters in printf builtin
2013-03-29 12:26:15 +05:30
Siteshwar Vashisht
46e92e998e
Fixed compilation caused by misplaced '}' in builtin_printf.cpp
2013-03-29 12:02:50 +05:30
ridiculousfish
77dfd7b783
Fix printf's Unicode support
...
https://github.com/fish-shell/fish-shell/issues/625
2013-03-28 17:45:49 -07:00
ridiculousfish
7d480ff579
Make __fish_filter_mime not spew if there's no results
...
https://github.com/fish-shell/fish-shell/issues/628
2013-03-28 17:01:07 -07:00
ridiculousfish
37140d5e10
Fix builtin_printf compilation on FreeBSD 8.x
...
https://github.com/fish-shell/fish-shell/issues/626
2013-03-27 11:35:30 -07:00
ridiculousfish
b04e874e43
Teach fish how to push and pop blocks even in the face of no_exec. All tests finally pass.
...
https://github.com/fish-shell/fish-shell/issues/624
2013-03-25 16:06:12 -07:00
ridiculousfish
d146f578a4
Fix printf output to store \r instead of \n
...
Is git breaking line endings?
2013-03-24 15:58:24 -07:00
ridiculousfish
40c0c5a298
Fix for errno-style error reporting in printf
2013-03-24 15:58:24 -07:00
ridiculousfish
3a475a99fc
Fix gettext macro to stop casting everything to wchar_t * (oops)
2013-03-24 15:58:24 -07:00
ridiculousfish
9394583f96
Implement actual error handling for builtin_printf. Fix the tests.
2013-03-24 15:58:24 -07:00
ridiculousfish
3b4f4c5f59
remove a variable length stack allocated array and simplify builtin printf
2013-03-24 15:58:24 -07:00
Siteshwar Vashisht
34f2f77067
Updated 'Contact Us' section in README.md
2013-03-25 01:34:24 +05:30
ridiculousfish
6b94708508
Add builtin_printf to xcode project
2013-03-23 14:48:06 -07:00
ridiculousfish
1d93e89eed
Replace some append_format with push_back
2013-03-21 22:36:21 -07:00
ridiculousfish
e0e0bcdc1e
Update code formatting
2013-03-21 17:44:51 -07:00
ridiculousfish
1ed8af2ee8
Some cleanup of builtin_printf. Eliminate global variables and a nasty macro.
2013-03-21 17:40:12 -07:00
ridiculousfish
3830c0adc4
Merge branch 'builtin_printf' of git://github.com/siteshwar/fish-shell into siteshwar-builtin_printf
2013-03-20 16:18:52 -07:00
Siteshwar Vashisht
5dbda6cd95
Fixed some case statements in hextobin function
2013-03-17 00:43:06 +05:30
Siteshwar Vashisht
d8dbdc83c0
Cleaned up some code in printf builtin
2013-03-17 00:28:12 +05:30
Siteshwar Vashisht
359a7cebde
Use wcstoimax and wcstoumax instead of strtoimax and strtoumax in printf builtin
2013-03-17 00:20:02 +05:30
Siteshwar Vashisht
490ead52eb
Changed octtobin, hextobin and isodigit macros into functions
2013-03-17 00:04:11 +05:30
Siteshwar Vashisht
a5a7a32447
Use fixed value "lld" instead of PRIdMAX
2013-03-16 23:32:26 +05:30
Terje Larsen
7e9652787b
Add completion for ruby-build
2013-03-13 23:19:03 +01:00
ridiculousfish
3b00d06a62
Return key should only insert a newline if backslashed character is whitespace, or backslash terminates the line
...
https://github.com/fish-shell/fish-shell/issues/613
2013-03-12 13:00:37 -07:00
ridiculousfish
234fb7c2fe
Rename print_service_names to __fish_service_print_names
2013-03-12 12:00:02 -07:00
aliva
2c7e0ef577
service name completion for "systemd service manager" added
2013-03-12 19:13:52 +03:30
ridiculousfish
2cbcc82968
Add some headers to fix the build on OpenBSD
...
https://github.com/fish-shell/fish-shell/issues/616
2013-03-11 13:38:18 -07:00
ridiculousfish
b48e504522
Spelling mistake in comment
2013-03-11 10:55:47 -07:00
ridiculousfish
4cce303c89
Add support for making a leading space not save to history
...
https://github.com/fish-shell/fish-shell/pull/615
2013-03-10 14:25:43 -07:00
Kenneth Vestergaard
6a97b45ad1
Add note to docs.
2013-03-10 14:24:16 -07:00
Kenneth Vestergaard
1afdbb848e
Minor fix to order of arguments in error-message.
2013-03-09 13:03:28 -08:00
ridiculousfish
4d19bb17a9
Break out COMPLETE_NO_CASE and COMPLETE_REPLACES_TOKEN into separate flags, in preparation for upcoming fuzzy completion work
2013-03-05 20:54:16 -08:00
ridiculousfish
b2012467b3
Document -e and -E flags for echo, and provide some examples
2013-03-05 17:37:44 -08:00
David Adam (zanchey)
daf5ef1bbd
Kill termio.h and sys/termios.h
...
On FreeBSD, compilation complains that "this file includes
<sys/termios.h> which is deprecated, use <termios.h> instead". On Linux
and FreeBSD, <sys/termios.h> literally just pulls in <termios.h>. On OS
X and Solaris, <termios.h> pulls in <sys/termios.h>.
<termio.h> doesn't exist on FreeBSD or Mac OS X, and on Linux is marked
as deprecated and just includes <termios.h>. It does exist on Solaris,
but no `struct termio` is ever actually used in the codebase.
2013-03-05 12:25:00 -08:00
ridiculousfish
85a5319c4b
Add some examples to set_color
2013-03-04 12:05:21 -08:00
Daniel James
6ca11044a4
Remove -v flag from set_color synopsis.
...
The -v documentation was removed when set_color was made a builtin, but wasn't removed from the synopsis.
2013-03-04 11:33:50 -08:00
Siteshwar Vashisht
42be7733fe
Return EXIT_FAILURE in printf builtin if conversion to number fails
2013-03-04 23:25:14 +05:30
ridiculousfish
1d75c232ff
Teach builtin_test about the special precedence rules in IEEE 1003.1
...
https://github.com/fish-shell/fish-shell/issues/601
2013-03-03 13:22:00 -08:00
Siteshwar Vashisht
97c9c9c9d1
Use wmemcpy instead of mempcpy in printf builtin
2013-03-03 16:22:26 +05:30
Siteshwar Vashisht
ab52469fbb
Changed type of ok array in builtin_printf.cpp to bool
2013-03-03 15:32:32 +05:30
Siteshwar Vashisht
fba984272a
Fixed indentation in builtin_printf.cpp
2013-03-03 15:16:18 +05:30
Siteshwar Vashisht
fb3a41d3ad
Merge branch 'builtin_printf' of github.com:siteshwar/fish-shell into builtin_printf
...
Conflicts:
Makefile.in
builtin.cpp
builtin_printf.cpp
2013-03-03 00:49:56 +05:30
Siteshwar Vashisht
be7d02ebdd
Added test cases for printf builtin
2013-03-03 00:45:34 +05:30
Siteshwar Vashisht
b989978dd3
Fixed code to support field width and precision
2013-03-02 20:54:12 +05:30
Siteshwar Vashisht
d9c9760aac
Initial version of printf builtin
2013-03-02 20:54:12 +05:30
Siteshwar Vashisht
6ff88a44f0
Fixed code to support field width and precision
2013-03-02 16:02:20 +01:00
ridiculousfish
cbcc439e03
Merge branch 'master' of git://github.com/aliva/fish-shell into aliva-master
2013-03-01 15:10:50 -08:00
David Adam (zanchey)
bf282e9bd7
configure: disable gettext support if msgfmt isn't found (fixes https://github.com/fish-shell/fish-shell/issues/548 )
2013-03-01 14:54:46 -08:00
David Adam (zanchey)
4c3d3af73e
configure: only check for gettext/dcgettext if we want them (makes --without-gettext work on platforms where gettext exists but isn't wanted)
2013-03-01 14:54:46 -08:00
David Adam (zanchey)
10648cac5b
configure: only check for libintl if we want to use gettext (makes --without-gettext actually work)
2013-03-01 14:54:45 -08:00
aliva
3bfcd5e105
recreate yum-cache file every six hours.
2013-03-02 01:48:56 +03:30
aliva
87aca05e7f
autocomplete 'yum install' using yum cache
2013-03-01 23:27:03 +03:30
ridiculousfish
94b1d58cc2
Additional changes related to https://github.com/fish-shell/fish-shell/pull/592
2013-02-28 10:25:32 -08:00
ridiculousfish
c55cbd3f2f
Hopeful fix for https://github.com/fish-shell/fish-shell/issues/594
2013-02-26 18:31:08 -08:00
ormris debian
d89fcdcc5f
Add proper desriptions to "git submodule"
2013-02-26 16:24:28 -08:00
Cheer Xiao
76f715c486
add class scoped_push to automatically restore variable on function exit
2013-02-26 12:17:28 -08:00
lledey
bbab6b2fdc
Fix compilation by using std::ptrdiff_t instead of ptrdiff_t
...
Signed-off-by: lledey <lledey@gmail.com >
2013-02-23 21:47:10 +01:00
ridiculousfish
a8e92639af
Cleanup and simplify null_terminated_array_t and its clients
2013-02-22 16:22:56 -08:00
ridiculousfish
d99c2cb9a7
Support /etc/paths and /etc/paths.d/* on OS X
...
https://github.com/fish-shell/fish-shell/issues/417
2013-02-22 14:01:17 -08:00
ridiculousfish
9f8fe3d5e3
Hopeful fix to avoid forking for certain builtins like echo when they have an input redirection only
2013-02-22 13:20:27 -08:00
Konrad Borowski
3c8c8a7559
Remove useless __fish_complete_perl function
2013-02-21 12:53:35 -08:00
Konrad Borowski
a61e2caadb
Update Perl completion
2013-02-21 12:53:35 -08:00
ridiculousfish
f109d535b1
Add a null check to avoid passing null to io_chain_t::push_back
...
https://github.com/fish-shell/fish-shell/issues/590
2013-02-21 12:44:01 -08:00
ridiculousfish
12095c721c
Remove unnecessary eval in __fish_complete_cd
...
https://github.com/fish-shell/fish-shell/pull/589
2013-02-20 18:43:54 -08:00
ridiculousfish
7b873179ad
Use swap instead of copying in reader_repaint_without_autosuggestion
2013-02-20 18:18:08 -08:00
Yannis Chatzimichos
f1d923714a
Clear the autosuggestion from the old commandline when showing the completion list. Fixes #561
2013-02-20 18:07:38 -08:00
Yannis Chatzimichos
b9ba227733
Clean up comments and fix spelling errors
2013-02-20 18:07:38 -08:00
Deyton Sehn
f7754a2927
Turn on COMBINE_HIDPI_IMAGES to comply with Xcode 4.6 recommended settings
2013-02-20 17:31:30 -08:00
Deyton Sehn
125d12798d
Adds Xcode-generated contents.xcworkspacedata
2013-02-20 17:31:30 -08:00
Deyton Sehn
d3bec4e686
Ignore build directory and xcuserdata so Xcode-generated artifacts don't clog up index
2013-02-20 17:31:30 -08:00
Jacob Johnson
1b0e4a0067
Update doc_src/contains.txt
...
Escaped the $
2013-02-20 17:17:53 -08:00
Kenneth Vestergaard
286bef5eb7
Fix crash when /etc/{fstab,hosts} is unreadable.
2013-02-20 12:30:36 -08:00
ridiculousfish
c9b4163e23
Fix a crash when redirecting a nonexistent file to a function
...
https://github.com/fish-shell/fish-shell/pull/574
2013-02-20 12:25:01 -08:00
ridiculousfish
fbedf020bc
Null initialize an ivar (oops)
2013-02-19 23:16:44 -08:00
ridiculousfish
d3e9183303
Add a note to the documentation about fish_user_paths
2013-02-19 18:05:20 -08:00
ridiculousfish
aaa0c25ff7
Large set of changes to how PATH is handled. Changed fish to no longer modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations.
...
https://github.com/fish-shell/fish-shell/issues/527
2013-02-19 18:05:20 -08:00
Jan Kanis
2f43584727
small tweak to alias.fish: always add some prefix if in danger of infinite recursion
2013-02-19 22:58:55 +01:00
ridiculousfish
e7c1cb7185
Move autogenerated completions to ~/.config/fish/generated_completions/
...
https://github.com/fish-shell/fish-shell/issues/576
2013-02-17 16:14:36 -08:00
ridiculousfish
911c37e63e
Fix for issue where backward kill line crashes if performed while the cursor is on a newline
...
https://github.com/fish-shell/fish-shell/pull/580
2013-02-17 14:22:27 -08:00
ridiculousfish
8b40f09e17
Add function wrapper for mimedb
2013-02-17 12:56:56 -08:00
ridiculousfish
93dfb6f7d6
Teach build_documentation.sh to not generate the test man page on any platform, or the open man page on OS X. The system man pages are better.
2013-02-16 13:35:59 -08:00
ridiculousfish
547b0a9850
Fix warning about realloc in xdgmimemagic
2013-02-16 13:17:43 -08:00
ridiculousfish
4416753df0
More cleanup based on static analysis
...
https://github.com/fish-shell/fish-shell/issues/575
2013-02-16 02:38:13 -08:00
ridiculousfish
dc54ec5b2b
Migrate connection_t from storing a huge buffer to a std::vector
2013-02-16 01:28:46 -08:00
ridiculousfish
b682c4102e
Eliminate next pointer from connection_t, turn connections into a std::list
2013-02-16 00:32:15 -08:00
ridiculousfish
6d522e6ed6
First round of fixes based on cppcheck
...
https://github.com/fish-shell/fish-shell/issues/575
2013-02-16 00:02:40 -08:00
ridiculousfish
635c87d629
Teach fish how to clean up installed versions of set_color
2013-02-15 15:38:08 -08:00
ridiculousfish
a355cf24f1
Teach set_color to call setupterm so it doesn't crash when run non-interactively
2013-02-15 14:00:25 -08:00
ridiculousfish
bc7ad955a3
Remove set_color.cpp from Xcode project
2013-02-15 12:24:52 -08:00
ridiculousfish
05125341f1
bulitin_set_color.cpp -> builtin_set_color.cpp
2013-02-14 16:56:10 -08:00
ridiculousfish
12332328c1
Remove set_color from Makefile. Fix issue where builtin_set_color would mix output modes up
2013-02-14 16:46:54 -08:00
ridiculousfish
8d95d0834d
First stab at builtin set_color. Moved set_color.cpp to builtin_set_color.cpp and taught fish about it.
2013-02-14 15:52:24 -08:00
ridiculousfish
db5eebd372
Add function for fish_indent so that it does not need to be in PATH, in preparation for making fish no longer need to set PATH
2013-02-13 14:44:10 -08:00
ridiculousfish
b119b4f1da
Fix to look up fish_pager in __fish_bin_dir instead of by using PATH, in preparation for making fish no longer need to modify PATH
2013-02-13 13:22:29 -08:00
Siteshwar Vashisht
694ab455cd
Fixed broken export_func
...
Fix for https://github.com/fish-shell/fish-shell/issues/573
2013-02-12 13:50:43 +01:00
ridiculousfish
46edc07ae4
Clean up export_func
2013-02-12 00:14:27 -08:00
ridiculousfish
2a7fc9c3a5
Clean up env_var_table_t. Switch from storing var_uni_entry_t* to var_uni_entry_t. Various other cleanups.
2013-02-11 23:16:50 -08:00
Cheer Xiao
be23c0755e
exec(): Fix a stupid crash. Remove commented debug code that became invalidated.
2013-02-11 22:05:48 -08:00
Cheer Xiao
db55176212
In exec(), only add and remove pipe_{read,write} when necessary
2013-02-11 22:05:48 -08:00
Cheer Xiao
66a445f043
Make io_file_t members const
2013-02-11 22:05:47 -08:00
Cheer Xiao
6527a48897
Make io_fd_t members const, make close_fd bool
2013-02-11 22:05:47 -08:00
Cheer Xiao
3f9706a7f3
Make io_data_t::fd const
...
In exec(), pipe_{write,read} no longer get reused.
2013-02-11 22:05:47 -08:00
ridiculousfish
41fc3bcb74
Remove some debugging code inadverently left in __fish_complete_cd.fish
2013-02-11 14:42:23 -08:00
ridiculousfish
d46859b9e8
Add an icon to fish.app
2013-02-05 21:50:33 -08:00
Jan Kanis
51a955c75c
remove __warn_unused attribute from exec_subshell
2013-02-06 01:11:46 +01:00
Jan Kanis
9a89da3b33
merge branch 'bug-537' and branch 'bug-read-ctrlC'. This should fix both #537 and #516
2013-02-05 23:16:18 +01:00
Jan Kanis
e8da9999f6
optimize 'alias', fixing bug #486 . Also some minor optimizations in 'type'
2013-02-05 23:14:06 +01:00
Jan Kanis
3f5c02bf92
rename reader_cancel_thread to reader_thread_job_is_stale, update comments
2013-02-05 21:28:23 +01:00
ridiculousfish
e918851902
Formatting
2013-02-03 11:38:22 -08:00
Cheer Xiao
e411bac592
Fix comments in proc.h (spelling, wording, format)
2013-02-03 09:33:26 +08:00
ridiculousfish
ded81ec186
Teach fish how to put completion data inside a closing quote
...
Fixes https://github.com/fish-shell/fish-shell/issues/552
2013-02-02 14:50:22 -08:00
ridiculousfish
cd276030c1
Tweak config.fish to only modify PATH once, for performance
2013-02-01 17:18:12 -08:00
ridiculousfish
818533f9f0
Add a newline to prevent a comment from being cut off
2013-02-01 17:15:35 -08:00
ridiculousfish
ff7cbab991
Add man function to promote fish's man pages so it can serve as a suitable replacement for help
2013-02-01 17:11:22 -08:00
ridiculousfish
ad8d68dd43
Make subcommands modify $status, and make builtin_set not modify status unless it fails
...
https://github.com/fish-shell/fish-shell/issues/547
https://github.com/fish-shell/fish-shell/issues/214
2013-01-31 15:57:08 -08:00
jonkerz
0db1b6ce44
Update share/completions/uname.fish
...
Typo: verion --> version
2013-01-31 00:09:06 -08:00
ridiculousfish
843d5a5977
Make a git variable local
2013-01-31 00:07:16 -08:00
ridiculousfish
406d7f1a47
commit bc4f3476cded71a096adf46534784cdd84edb913
...
Author: U0 <rhyzix@gmail.com >
Date: Wed Jan 30 15:02:23 2013 +0800
add completion support for aliased command
Make a variable local
2013-01-30 23:59:52 -08:00
Kevin Ballard
7df89566f3
Fix __fish_git_prompt's upstream indicator for git-svn branches
2013-01-30 22:02:51 -08:00
Kevin Ballard
32b2c9fc9e
Update __fish_git_prompt.fish to use 'else if'
2013-01-30 21:57:59 -08:00
ridiculousfish
3f8baeba20
Attempt to further improve fish's handling when it runs out of fds, and plug some fd leaks
2013-01-30 03:08:06 -08:00
ridiculousfish
1879dc4b59
Initial set of changes working to make fish robust against running out of file descriptors
2013-01-30 02:22:38 -08:00
ridiculousfish
ea8c6bc15e
Try to make Valgrind completion not complain if valgrind is not installed
2013-01-30 02:22:22 -08:00
ridiculousfish
4683ce2771
Fix unused return value warning a different way
2013-01-27 14:04:44 -08:00
ridiculousfish
798537d47b
Fixed an unused variable warning
2013-01-27 13:50:30 -08:00
ridiculousfish
0257b02a8c
Fix to output the prompt even if fish_prompt fails
2013-01-27 13:44:32 -08:00
ridiculousfish
27e71c5f37
Fix funced to stop outputing an error if no EDITOR is set
2013-01-27 13:14:24 -08:00
ridiculousfish
cddf7e0986
Clean up man page parser output a bit
2013-01-27 12:58:52 -08:00
ridiculousfish
2b35b3f06e
Fix umask in Linux https://gist.github.com/4627181
2013-01-26 12:49:37 -08:00
ridiculousfish
92b2376c23
Indent switch + case properly. https://github.com/fish-shell/fish-shell/issues/530
2013-01-24 14:59:52 -08:00
ridiculousfish
412902e4ae
Fix for an issue where the newline character would appear on blank lines. Instead of inverting the newline character, draw it in gray.
2013-01-24 12:08:32 -08:00
Jan Kanis
29fda9cb6c
make the casting magic standards compliant and avoid compiler warnings; add error check
2013-01-24 15:09:45 +01:00
Jan Kanis
e7b3f5745c
replace compiler-supported TLS with pthread_get/setspecific; remove GPLv3 code from two commits ago
2013-01-24 14:29:13 +01:00
Cheer Xiao
268d64d244
Fix spelling: s/inetrnal/internal/g
2013-01-24 19:20:09 +08:00
Cheer Xiao
8f045b9ec5
Fix spelling: s/circut/circuit/g
2013-01-24 19:20:06 +08:00
Cheer Xiao
2ea1c2be92
Fix spelling: s/compeltion/completion/g
2013-01-24 19:20:02 +08:00
ridiculousfish
5e9ca72731
Break up $EDITOR before passing it to type to allow it to contain flags
...
More work on https://github.com/fish-shell/fish-shell/issues/541
2013-01-23 18:24:49 -08:00
ridiculousfish
debfc0f712
Allow $EDITOR to be an array. Fixes https://github.com/fish-shell/fish-shell/issues/541
2013-01-23 17:14:22 -08:00
Jan Kanis
1e65e7c996
extra comments
2013-01-23 01:29:24 +01:00
Jan Kanis
d12b1650aa
make threadlocal use conditional on configure check. NB: This revision mixes GPLv2-only and GPLv3+ code so should be considered proof of concept.
2013-01-23 01:03:12 +01:00
Jan Kanis
70a75dc88a
implement reader_cancel_thread using __thread thread-local storage
2013-01-23 00:19:29 +01:00
Siteshwar Vashisht
fa090f2c9f
Initial version of printf builtin
2013-01-22 18:07:28 +01:00
Jan Kanis
b6bd6e399d
tweak reader interrupt behavior
2013-01-22 11:57:47 +01:00
Jan Kanis
a3b497b271
rename reader_data_t.interruptible to exit_on_interrupt
2013-01-22 11:28:04 +01:00
Jan Kanis
55b3cf4627
move work out of interrupt handler (which is safer as well)
2013-01-22 11:19:01 +01:00
Jan Kanis
eb1c00c56b
fix comments on #516 . Split reader_interrupted into a reader_interrupted and a reader_reading_interrupted
2013-01-22 11:00:02 +01:00
Jan Kanis
c58278758c
reader_interrupted() should only be called on the main thread. fixes #537
2013-01-22 10:27:14 +01:00
ridiculousfish
3d0d9a250b
Remove Goodbye message. https://github.com/fish-shell/fish-shell/issues/521
2013-01-21 14:54:15 -08:00
Cheer Xiao
274f018494
Remove trailing whitespaces
2013-01-21 10:34:18 +08:00
Jan Kanis
970d05df39
make the read builtin respect ctrl-C
2013-01-20 23:38:21 +01:00
Jan Kanis
abae08a9fb
create reader_data_t.interruptible flag and infrastructure to make it work.
2013-01-20 23:38:21 +01:00
Cheer Xiao
a0edee51fa
Fix typo
2013-01-21 00:29:23 +08:00
Cheer Xiao
887474d607
Use double quotes in eval.fish
2013-01-20 15:55:10 +01:00
Siteshwar Vashisht
3bf3c11b0b
Added reference to packages built on OBS repository in README.md
2013-01-20 13:12:10 +05:30
ridiculousfish
6d61919941
Rearrange some variables for possibly better alignment. int -> bool
2013-01-19 13:32:12 -08:00
ridiculousfish
e07de09460
Big cleanup of env_set. Changed var_table_t to use direct var_entry_t instead of pointers. Changed some ints to bools.
2013-01-19 13:32:06 -08:00
ridiculousfish
98a17f4046
Remove some functions which were rendered trivial by xiaq's changes. Make io_file_t take its path directly. Make io_buffer_t no longer use a shared_ptr for its data.
2013-01-19 10:59:43 -08:00
ridiculousfish
f850c021b7
Merge branch 'split-io' of git://github.com/xiaq/fish-shell into xiaq-split-io
2013-01-18 16:17:31 -08:00
Cheer Xiao
8600243683
Fix two clang warnings
2013-01-17 22:45:06 +08:00
Jan Kanis
c6e5987480
add a JOIN_THREADS_BEFORE_FORK preprocessor flag to help debug locking problems
2013-01-17 13:14:05 +01:00
Cheer Xiao
e0c858478a
Revert "Make io_buffer_t::out_buffer a raw pointer, initialize in io_buffer_t's constructor"
...
This reverts commit d48ffab9d67da48cf45c2f5560c21a767144545f.
Conflicts:
io.cpp
io.h
2013-01-17 15:55:06 +08:00
Cheer Xiao
a3b15b995e
Make io_data_t::io_mode const
...
A protected constructor is needed in io_pipe_t to let io_buffer_t override
its io_mode.
2013-01-17 15:55:06 +08:00
Cheer Xiao
57ef5289fe
Make is_input a member of io_pipe_t
2013-01-17 15:55:06 +08:00
Cheer Xiao
a63c0311bb
Make io_buffer_t::out_buffer a raw pointer, initialize in io_buffer_t's constructor
2013-01-17 15:55:05 +08:00
Cheer Xiao
9808829ece
Make io_data_t pure virtual, its constructor protected
2013-01-17 15:55:05 +08:00
Cheer Xiao
00b6431ad9
Split out io_pipe_t, let io_buffer_t inherit it
2013-01-17 15:55:05 +08:00
Cheer Xiao
e020ad0c06
Convert io_buffer_read to io_buffer_t::read
2013-01-17 15:55:05 +08:00
Cheer Xiao
df0c1eb32c
Add missing virtual qualifier to ~io_buffer_t
2013-01-17 15:55:05 +08:00
Cheer Xiao
9057801c4b
Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t constructor private
2013-01-17 15:55:05 +08:00
Cheer Xiao
0f443ef37b
Convert io_buffer_destroy to ~io_buffer_t
2013-01-17 15:55:05 +08:00
Cheer Xiao
a20e0b9e2e
Split out io_buffer_t, make input_redirect in exec() a raw pointer
2013-01-17 15:55:05 +08:00
Cheer Xiao
4b6bd7cae5
Split out io_file_t
2013-01-17 15:55:05 +08:00
Cheer Xiao
6f35792c74
Split out io_fd_t
2013-01-17 14:58:53 +08:00
Cheer Xiao
f1b375b042
Split out io_close_t
2013-01-17 14:58:53 +08:00
Cheer Xiao
4e672427bc
parser.cpp: Put off initialization of new_io until mode is known
2013-01-17 14:58:53 +08:00
Cheer Xiao
165068c81d
Put io_data_t detail printing in virtual io_data_t::print
2013-01-17 14:58:53 +08:00
Cheer Xiao
89993e9cbf
Let io_data_t constructor take optional io_mode and fd
2013-01-17 14:58:52 +08:00
Cheer Xiao
78ab7e7ba1
Introduce a macro CAST_INIT to abbreviate common static_cast's a bit
...
This macro doesn't work with type names containing commas, but that doesn't
seem to be too common in fish.
2013-01-17 14:58:48 +08:00
Cheer Xiao
424bb589a2
Make io_data_t destructor virtual
2013-01-17 14:54:18 +08:00
Cheer Xiao
664fee5c6e
Use new IO_INVALID as default value of io_data_t::io_mode
2013-01-17 14:54:18 +08:00
Cheer Xiao
146a353085
rename enum io_mode -> io_mode_t; make io_data_t::io_mode that type
2013-01-17 14:54:18 +08:00
ridiculousfish
214ef3dd0b
Formatting
2013-01-16 14:50:08 -08:00
ciembor
406c8a6d1e
Ajax fix for Firefox, it isn't XML.
2013-01-16 14:45:59 -08:00
ridiculousfish
6416cb45fb
Fix proc and pid completion on OS X, and improve it on Linux.
...
https://github.com/fish-shell/fish-shell/pull/129
2013-01-16 14:11:43 -08:00
ridiculousfish
1db7c6233b
Fix for missing first character in completions
2013-01-13 21:56:23 -08:00
Jan Kanis
640beafa8c
fix a memory leak in profiling, add a profiling test
2013-01-14 01:38:05 +01:00
Jan Kanis
44f70d2b52
stop profile switch from crashing (issue #517 ); also make print_profile use a loop instead of recursion
2013-01-14 00:49:32 +01:00
ridiculousfish
acbb6fb8e2
Make umask work on OS X
...
https://github.com/fish-shell/fish-shell/issues/515
2013-01-12 15:35:40 -08:00
ridiculousfish
1163961927
Actually add the seq function (oops)
2013-01-12 15:22:09 -08:00
ridiculousfish
e1190eb1f3
Remove seq.in, in favor of the new function. Remove seq detection from configure.ac. Teach the Makefile how to remove old installed seqs.
2013-01-12 15:18:19 -08:00
ridiculousfish
dc37a8079e
Added a seq function that defers to the seq command if present
...
https://github.com/fish-shell/fish-shell/issues/137
2013-01-12 14:18:34 -08:00
ridiculousfish
373cca0bf6
Formatting
2013-01-12 12:55:23 -08:00
ridiculousfish
b32fcc7a8e
Don't call expand_home_directory from within parser_t::test - it may hang
...
https://github.com/fish-shell/fish-shell/issues/512
2013-01-12 12:53:40 -08:00
ridiculousfish
e9c226b8be
Fix for issue where completing in the middle of a command may append extra junk at the end of the completions in the list
...
https://github.com/fish-shell/fish-shell/issues/301
2013-01-12 11:54:02 -08:00
Jan Kanis
af9d611847
use debug_safe in postfork do_builtin_io. Closes #495
2013-01-12 19:13:45 +01:00
ridiculousfish
9d6c4fa678
Make do_builtin_io multi-fork safe, moved it to postfork.cpp
...
Addresses https://github.com/fish-shell/fish-shell/issues/495
2013-01-11 15:09:53 -08:00
Cheer Xiao
b66233de78
Revert "Revert shared_ptr<io_data_t> changes until kinks are ironed out"
...
This reverts commit 77f1b1f0fe .
2013-01-11 14:18:10 -08:00
Cheer Xiao
ff49792f44
exec.cpp:exec: Don't remove block_io elements from j->io
...
When dulicate_prepend prepend copies of block_io elements to j->io, the
removing simply does nothing. Now that the same pointers are prepended to
j->io, don't remove them.
2013-01-11 14:18:10 -08:00
ridiculousfish
b2abd963f0
Fix an exception when parsing a multi-line command that ends in cd
...
https://github.com/fish-shell/fish-shell/issues/511
2013-01-11 12:58:52 -08:00
Liam Howell
0ab9cf8054
Fixed a minor typo: standrard -> standard
2013-01-10 20:50:52 +05:30
ridiculousfish
c70e92e98d
Don't call strerror or perror after fork, it's unsafe. Added safe_strerror and safe_perror replacements.
...
Fixes https://github.com/fish-shell/fish-shell/issues/495
2013-01-09 17:06:20 -08:00
ridiculousfish
bf10d6c03b
Tweak test_fork to exercise strerror
2013-01-09 09:36:52 -08:00
ridiculousfish
de084b4a0d
Make create_manpage_completions not generate empty files
...
https://github.com/fish-shell/fish-shell/issues/506
2013-01-08 14:58:27 -08:00
Christian Rishøj
e46cbea251
completions for mosh ( http://mosh.mit.edu )
2013-01-08 12:32:49 -08:00
Cheer Xiao
7f6e63aba5
Make "Checking how to use..." lower case.
...
The configure script generated by autoconf uses lower case "checking". Let's
keep in line. :)
2013-01-08 23:05:19 +08:00
ridiculousfish
25081f60c4
Make fish_config prompt color changes work more often
...
Fixes https://github.com/fish-shell/fish-shell/issues/505
2013-01-08 02:56:45 -08:00
ridiculousfish
91bf41cfce
Document new MAC address behavior
2013-01-08 02:43:14 -08:00
ridiculousfish
552d8f394e
Make fishd base its variable files on the MAC address instead of hostname
...
Fixes https://github.com/fish-shell/fish-shell/issues/183
2013-01-08 02:39:22 -08:00
Cheer Xiao
f8e01628b2
Keybinding of \ew and \ed: Insert a newline before displaying info
2013-01-07 19:32:38 -08:00
ridiculousfish
3d1ad89963
Teach build_documentation.sh to look in /Applications/Doxygen.app
2013-01-07 19:29:33 -08:00
ridiculousfish
2188bb9b88
Teach Xcode project how to build successfully without Doxygen
2013-01-07 14:58:56 -08:00
lledey
f0000ea7d2
Re-enable alias redefinition
...
Fixes #494
Signed-off-by: lledey <lledey@gmail.com >
2013-01-07 15:09:32 +01:00
Jan Kanis
5b173dafae
remove -fno-optimize-sibling-calls flag for non-buggy setups; add extra comment regarding ./configure arguments
2013-01-07 14:32:20 +01:00
ridiculousfish
c939f2ee45
Fix for an out-of-range exception when resizing the window during funced
...
Addresses https://github.com/fish-shell/fish-shell/issues/498
2013-01-06 15:33:50 -08:00
ridiculousfish
309dfeb6a8
Wrong sense for is_interactive_session check
...
Fixes https://github.com/fish-shell/fish-shell/issues/499
2013-01-06 15:19:37 -08:00
ridiculousfish
bf3e4126b2
Fix for builtin_test crash
...
https://github.com/fish-shell/fish-shell/issues/497
2013-01-06 14:48:46 -08:00
ridiculousfish
8a357e1866
Add some more tests for autosuggestion combining
2013-01-06 14:10:03 -08:00
ridiculousfish
b8135574c3
Pass -f to rm share/man/man1 to avoid a benign error message
2013-01-06 14:03:29 -08:00
ridiculousfish
85fdf587c0
When the user input contains capital letters, use its case rather than the autosuggestion's case
...
Fixes https://github.com/fish-shell/fish-shell/issues/335
2013-01-05 15:21:42 -08:00
ridiculousfish
8d4a701f86
Implement builtin [ via builtin test
2013-01-05 01:30:03 -08:00
ridiculousfish
1c83144773
Reset the color before we clear to eol
...
Fixes https://github.com/fish-shell/fish-shell/issues/493
2013-01-04 22:32:40 -08:00
ridiculousfish
edb973fadc
Hack around xdm's dumb assumption that the login shell is POSIX compliant so we no longer kill OpenSUSE
...
https://github.com/fish-shell/fish-shell/issues/367
Also fix some formatting
2013-01-04 13:09:01 -08:00
ridiculousfish
77f1b1f0fe
Revert shared_ptr<io_data_t> changes until kinks are ironed out
...
https://github.com/fish-shell/fish-shell/pull/487
Revert "Merge branch 'oo-io' of git://github.com/xiaq/fish-shell into xiaq-oo-io"
This reverts commit f3c8f535a4 , reversing
changes made to b02f6cf3bc .
Also reverts ac023f7588 and a79d3c680c
2013-01-04 02:05:30 -08:00
ridiculousfish
a79d3c680c
Remove io_duplicate, which is no longer used
2013-01-04 01:05:35 -08:00
ridiculousfish
ac023f7588
Replace some shared_ptrs with const shared_ptr &. Don't use shared_ptr in postfork.cpp. Eliminate copy constructor in io_data_t. Simplify some other uses of shared_ptr<io_data_t>
2013-01-04 00:22:12 -08:00
ridiculousfish
f3c8f535a4
Merge branch 'oo-io' of git://github.com/xiaq/fish-shell into xiaq-oo-io
2013-01-03 16:52:56 -08:00
ridiculousfish
b02f6cf3bc
Teach the Xcode project how to install the man pages
2013-01-03 16:35:23 -08:00
ridiculousfish
b7c4a4fc3b
Teach Xcode how to pass arguments to build_documentation.sh
2013-01-03 15:26:29 -08:00
ridiculousfish
9f33050a32
Change build_documentation to take its paths as arguments, and the Makefile.in to pass them
2013-01-03 15:17:48 -08:00
ridiculousfish
f73caeb6a3
Make the Makefile mv man pages instead of cp them from help_doc, because help_doc is about to be deleted
2013-01-03 10:58:08 -08:00
ridiculousfish
15da4aaec7
Make share/man/man1 manpages get built again
...
Addresses https://github.com/fish-shell/fish-shell/issues/491
2013-01-03 10:50:19 -08:00
Jan Kanis
9ee7b0a501
really fix bug in export status of universal vars; add tests for that bug
2013-01-02 23:31:30 -08:00
Jan Kanis
3c116f6ab3
fix bug in export status of universal variable assignment
2013-01-02 23:31:30 -08:00
Vincent Driessen
431ef224e0
Remove origin/HEAD lines from __fish_git_branches.
...
Related discussion:
http://stackoverflow.com/questions/354312/why-is-origin-head-shown-when-running-git-branch-r
2013-01-02 08:16:42 +01:00
Jan Kanis
600aeb6ccc
re-enable tests that were accidentally disabled in 0b1e3718
2013-01-01 23:06:41 +01:00
Jan Kanis
a4c646f75c
make 'alias' check for recursive calls and insert 'command'; update docs, fix #486
2013-01-01 22:56:08 +01:00
Cheer Xiao
7f35f98d7d
Use const shared_ptr<io_data_t>& instead of copying where appropriate.
2013-01-01 15:51:36 +08:00
Cheer Xiao
8b10b0a614
Convert all io_data_t copying to shared_ptr copying.
...
Copy constructor of io_data_t is removed.
2013-01-01 00:37:50 +08:00
Cheer Xiao
a9ada13a23
Use shared_ptr to manage io_data_t*.
2012-12-31 23:54:17 +08:00
Jan Kanis
1ae0e5d7cb
parsing numbers imho better uses + rather than |
2012-12-30 01:55:48 +01:00
Jan Kanis
808fac9b14
document set -L/--long option
2012-12-29 11:56:11 -08:00
Jan Kanis
737972be2f
clarify docs on variable scope in functions
2012-12-29 11:56:10 -08:00
ridiculousfish
4cb70e8e2a
Fix a bad use of test
2012-12-27 21:40:23 -08:00
ridiculousfish
abf3ee6563
Another attempt to make build_documentation.sh work in Linux
2012-12-27 21:39:11 -08:00
ridiculousfish
1a0a3d85ca
Try to make mktemp work on Linux
2012-12-27 21:12:22 -08:00
ridiculousfish
1bbac9e5ce
Make the Makefile use the new build_documentation.sh script (gulp)
2012-12-27 20:33:13 -08:00
ridiculousfish
705793eae6
Make fish more robust when multiple instances are started at once
2012-12-27 20:26:16 -08:00
ridiculousfish
efa6e38741
Factored out help_doc generation into build_tools/build_documentation.sh
2012-12-27 17:31:13 -08:00
ridiculousfish
183aea5c96
Teach help how to not drop fragments on OS X
2012-12-27 14:04:11 -08:00
ridiculousfish
97ddf9a4f3
Teach help how to go to the web if documentation is not installed
2012-12-27 13:39:43 -08:00
ridiculousfish
489366290a
Re-point some URLs at the fish homepage fishshell.com
2012-12-27 02:17:14 -08:00
ridiculousfish
fb8f16373f
Teach fish_print_commands how to use __fish_datadir
2012-12-27 00:46:54 -08:00
ridiculousfish
fed352653d
Re-teach Makefile.in how to generate proper version numbers in man pages
2012-12-27 00:38:29 -08:00
ridiculousfish
a697b2b60e
Made autoconf stop generating Doxyfile.help in preparation for Xcode documentation build phase
2012-12-26 23:48:11 -08:00
ridiculousfish
efe9c82bc6
Formatting
2012-12-26 22:08:49 -08:00
ridiculousfish
2bdb199169
Update OS X build instructions
2012-12-26 21:30:03 -08:00
David Adam (zanchey)
d0dabb0ff6
documentation TOC: remove duplicate name attributes, use id attribute instead
2012-12-26 21:10:29 -08:00
David Adam (zanchey)
27e4ece24f
add __fish_print_commands and use it for help
2012-12-26 21:09:50 -08:00
ridiculousfish
fc898eff65
Move make_vcs_completions.py to build_tools, and eliminate make_completions.py, which was a manage parser - we have a much better one now
2012-12-26 18:57:47 -08:00
ridiculousfish
dd317709f8
Fix to avoid suggesting files for empty tokens
2012-12-26 15:28:25 -08:00
Jan Kanis
fde9842a8e
fix signal race
2012-12-24 23:06:09 -08:00
ridiculousfish
3bf88110aa
Removal of more lingering wcs2str()
2012-12-24 20:55:35 -08:00
Daniel James
cc5c411039
Remove leftover use of str2wcs.
2012-12-24 12:25:04 +00:00
ridiculousfish
37bdb20092
Make event_block_t.event not a reference
...
Stylistic tweaks
2012-12-22 12:40:34 -08:00
ridiculousfish
e31431140a
Formatting
2012-12-22 12:21:31 -08:00
ridiculousfish
8a66ba6c35
Merge branch 'event-bug-test' of git://github.com/JanKanis/fish-shell into JanKanis-event-bug-test
2012-12-22 12:20:41 -08:00
Jan Kanis
8a446f43ff
include fixes and suggestions from code review
2012-12-22 18:38:28 +01:00
Cheer Xiao
d6b5558cf2
Clean up initialization of pipe_{read,write} in exec() a bit.
2012-12-21 15:45:35 -08:00
ridiculousfish
50c04752f5
Make skip_fork a bool
2012-12-21 15:43:38 -08:00
ridiculousfish
2a91a7640c
Make echo recognize -ne
2012-12-20 18:10:08 -08:00
ridiculousfish
6b35250099
Make meta-backspace less aggressive about what it deletes
2012-12-20 17:58:09 -08:00
ridiculousfish
2ba92f92b7
Fix for an exception in a non-interactive shell with empty input
2012-12-20 17:45:35 -08:00
ridiculousfish
0b1e371880
Changes to work recognition per https://github.com/fish-shell/fish-shell/issues/384
...
Word movement should be very similar to fish 1.x
backward-kill-word remains more liberal, but now stops at any of {,'"=}
2012-12-20 17:37:09 -08:00
ridiculousfish
ce15abd577
Rewrite str2wcstring to properly handle embedded nulls, and be simpler
2012-12-20 12:25:35 -08:00
Jan Kanis
30392bf66a
reference'ize event.cpp/h
2012-12-20 16:13:14 +01:00
Jan Kanis
71233ee894
Make event_t.arguments into a vector instead of an auto_ptr<vector>.
...
Yay for less indirection and less code! The resulting event_t structure is two pointers larger, but cuts out an indirection and allocation.
2012-12-20 16:13:14 +01:00
Jan Kanis
af3059ab2a
Allow 'emit' to accept event arguments
2012-12-20 16:13:00 +01:00
Jan Kanis
1f0ae8b06d
fixed #449 , added test
2012-12-20 16:11:46 +01:00
ridiculousfish
d5af389d2e
Simplify exec_subshell_internal
2012-12-19 16:40:10 -08:00
ridiculousfish
644607c29f
Eliminate str2wcs
2012-12-19 13:31:06 -08:00
Jan Kanis
aa477195d4
testing for bug #449
2012-12-19 16:57:11 +01:00
Mikko Viitamäki
b0a9a5a756
Replace darcs repositories by git repos.
2012-12-18 11:45:47 -08:00
ridiculousfish
882a62ad52
Attempt to fix process expansion on Linux
...
Hopefully addresses https://github.com/fish-shell/fish-shell/issues/455
2012-12-18 11:37:54 -08:00
Cheer Xiao
f9697c8e36
Apply the same fix to help completion too.
2012-12-17 20:08:45 -08:00
Cheer Xiao
0479060858
A quick fix to issue #456 .
2012-12-17 20:08:45 -08:00
Alex Rosenberg
c2e5403408
Add confdefs.h to .gitignore
2012-12-17 20:07:24 -08:00
Cheer Xiao
3d2b12e72a
Fix spelling of "available" in complete functions.
2012-12-16 12:24:05 +08:00
Cheer Xiao
09b1eee5d0
Random fixes to comments.
2012-12-16 12:23:24 +08:00
Cheer Xiao
28264423a4
Fix man completion: suppress stderr of aprops
2012-12-16 01:25:27 +08:00
ridiculousfish
87baa4d3d2
Eliminate usage of __mb_cur_max, try to fix Linux build
2012-12-12 21:09:42 -08:00
ridiculousfish
c5031c2b39
Output embedded null characters more often
...
https://github.com/fish-shell/fish-shell/issues/444
2012-12-12 15:44:01 -08:00
lledey
82223d3bad
Remove -rdynamic compilation flag for OSX
...
This flag is used for the backtrace() function. It provides more information
for the backtrace on Linux, but is useless on OSX.
Signed-off-by: lledey <lledey@gmail.com >
2012-12-12 13:23:16 -08:00
Anders Bergh
56dd25667d
Make fish_config compatible with Python 2.5
...
Try to import parse_qs from the cgi module, and simplejson instead of json.
Use old string formatting. str.format() was backported from Python 3
to 2.6 and isn't available in 2.5.
2012-12-12 12:51:55 +01:00
ridiculousfish
d4a171a791
Fix to make fish_command_not_found_handler run the first time
2012-12-11 16:08:37 -08:00
ridiculousfish
978066a6de
Attempt to delay looking up command-not-found until the first not-found command to speed up startup
2012-12-11 16:00:49 -08:00
ridiculousfish
2628da4a59
Removed some debugging code used in determining autosuggestion truncation
...
Fixed a busted link in the function doc
2012-12-11 14:44:41 -08:00
ridiculousfish
ccb157c7a3
Remove tokenizer_test target and codeT
2012-12-11 13:22:13 -08:00
ridiculousfish
d43c803bfe
Fix for build errors with g++ 4.0.1
2012-12-11 13:18:40 -08:00
ridiculousfish
eec6db0a23
forward-word should accept a word of an autosuggestion
...
https://github.com/fish-shell/fish-shell/issues/435
2012-12-10 16:23:08 -08:00
David Adam (zanchey)
983bc5cecc
scp completions - describe usernames as usernames
2012-12-10 01:30:40 +05:30
David Adam (zanchey)
60435f99b9
fix typo in hostname completion
2012-12-10 01:30:40 +05:30
ridiculousfish
332cda6b16
Merge pull request #430 from lledey/master
...
Fix compilation for Python dependencies suppression.
2012-12-08 23:05:48 -08:00
lledey
8d73f2af34
Fix compilation with Python dependencies suppression.
...
Signed-off-by: lledey <lledey@gmail.com >
2012-12-09 07:48:08 +01:00
ridiculousfish
6a8219a02e
Remove Python dependency from Makefile and Xcode build
...
https://github.com/fish-shell/fish-shell/issues/429
2012-12-08 21:41:38 -08:00
ridiculousfish
c8f7d33a9a
Hopeful fix for wrapping lines issue on Linux
...
https://github.com/fish-shell/fish-shell/issues/409
2012-12-06 02:54:25 -08:00
ridiculousfish
40ec2303ff
Make fish try to detect when it's an orphaned process and then exit politely
...
Fixes https://github.com/fish-shell/fish-shell/issues/422
2012-12-05 13:33:07 -08:00
ridiculousfish
19eddddcff
Fix for issue where history file would be read immediately on launch
2012-12-04 16:00:35 -08:00
Siteshwar Vashisht
b1e86d6fea
Fixed test statement in binding for Alt-D
...
Fix for https://github.com/fish-shell/fish-shell/issues/421
2012-12-05 00:16:22 +05:30
ridiculousfish
b9283d48b5
Added a history speed test
...
Profile driven caching of config directory
Style fixes
2012-12-03 02:25:08 -08:00
ridiculousfish
33fc5c99ea
Fix for a long standing race where multiple shells can overwrite each others' .tmp files, and lose history.
...
Added a long description of the incremental history strategy
Fixes https://github.com/fish-shell/fish-shell/issues/371
2012-12-03 01:53:52 -08:00
ridiculousfish
a4581cb233
Change the timestamp behavior for history to include items whose timestamp is the same as our birth, to better illustrate the incremental history improvements
2012-12-03 00:25:08 -08:00
ridiculousfish
36dfc9f1bf
Reorder some fields to avoid a warning
2012-12-03 00:21:58 -08:00
ridiculousfish
4a55fff3b9
Turn off logging in incremental saving
2012-12-03 00:14:39 -08:00
ridiculousfish
02f16e90b6
Turn on incremental history saving (cross your fingers)
2012-12-03 00:14:22 -08:00
ridiculousfish
984a498063
More work towards incremental history. Added some tests.
2012-12-02 23:38:38 -08:00
ridiculousfish
c1b51c6530
First attempt towards supporting incremental history writes
2012-12-02 16:39:35 -08:00
ridiculousfish
224de547b3
Ensure we repaint the prompt after resetting it, when colors change.
...
Fixes https://github.com/fish-shell/fish-shell/issues/418
2012-12-02 11:53:34 -08:00
Jean-Daniel Dupas
43d2e15bb7
Try to fix create_manpage_completions script for system where sysgetdefaultencoding() returns ASCII.
2012-12-02 15:31:44 +01:00
ridiculousfish
ac70772070
Remove code that tries to load files in include directory
...
https://github.com/fish-shell/fish-shell/issues/416
2012-12-01 21:17:16 -08:00
ridiculousfish
1feea366ca
Fix for off by one error with "missing newline" code
2012-12-01 20:05:49 -08:00
ridiculousfish
f599239fd4
Added xcodebuild target in Makefile
2012-12-01 20:05:35 -08:00
ridiculousfish
a122d2eb50
First attempt at appending a "missing new line" character
...
https://github.com/fish-shell/fish-shell/issues/397
2012-12-01 15:44:09 -08:00
ridiculousfish
17e7860700
Fix chsh completion
...
https://github.com/fish-shell/fish-shell/issues/415
2012-12-01 14:12:11 -08:00
ridiculousfish
34fab879cb
Fix to xcodebuild
...
https://github.com/fish-shell/fish-shell/issues/229
2012-12-01 13:28:30 -08:00
David Adam (zanchey)
b02ed0bbe6
use sgrep instead of grep
2012-11-27 13:02:13 +08:00
David Adam (zanchey)
165ba535f0
use getent for hosts if available, otherwise use more resilient processing of /etc/hosts
2012-11-27 11:49:52 +08:00
David Adam (zanchey)
8253df7c3d
use getent for passwd and group if available
2012-11-27 11:49:52 +08:00
ridiculousfish
4788da204b
Additional improvements to line wrapping reliability
2012-11-26 12:31:44 -08:00
ridiculousfish
cf11d1e4e6
Additional changes to try to improve line wrapping
2012-11-25 01:26:58 -08:00
ridiculousfish
e557327860
Coalesce redundant repaints, prepare to address some resizing issues (again!)
2012-11-24 21:06:42 -08:00
ridiculousfish
e152cfac34
Change to make the lookahead array a std::stack instead of a static 4k list(!)
2012-11-24 16:58:30 -08:00
ridiculousfish
464f1f44aa
Improvements to avoid clearing the screen as often, which addresses a problem where the screen may be blank
...
Fixes https://github.com/fish-shell/fish-shell/issues/402
2012-11-24 16:42:25 -08:00
ridiculousfish
bf27cb1f5e
Further fixes to newline escaping
...
Addresses issue described in https://github.com/fish-shell/fish-shell/issues/347#issuecomment-10650443
2012-11-23 12:03:36 -08:00
ridiculousfish
654010f639
Grammar fix in a comment
2012-11-23 11:25:33 -08:00
ridiculousfish
918f84438f
Don't autosuggest files until after we've tried (and maybe failed) to load completions
...
Fixes https://github.com/fish-shell/fish-shell/issues/378
2012-11-23 11:22:58 -08:00
ridiculousfish
93e2415924
Fix a memory leak
2012-11-23 11:14:16 -08:00
ridiculousfish
4837a2d0df
Replaced some usage of wchar_t * with wcstring in complete(). Some style fixes.
2012-11-23 11:12:22 -08:00
ridiculousfish
be80e1a863
Improvements to man page parser, and to description truncation
...
Fixes https://github.com/fish-shell/fish-shell/issues/98
2012-11-22 20:32:19 -08:00
situ
e53e00c4f9
Fixed compilation error in expand.cpp
...
Fixed https://github.com/fish-shell/fish-shell/issues/401
2012-11-22 22:41:36 +05:30
ridiculousfish
90495f3ac5
Implement new newline-escaping behavior. Backslashes at the end of lines now essentially delete the newline, within normal text or double quotes. Backslashes are retained within single quotes.
...
Fixes https://github.com/fish-shell/fish-shell/issues/347
Fixes https://github.com/fish-shell/fish-shell/issues/52
2012-11-22 01:09:07 -08:00
ridiculousfish
6fc9e6f21e
Make tok_first return a wcstring instead of a wchar_t*
2012-11-21 22:23:48 -08:00
ridiculousfish
7117c4a5ee
Remove tok_destroy
2012-11-21 22:14:28 -08:00
ridiculousfish
a3a7c48799
Modify tokenizer to store last token in a wcstring
2012-11-21 22:09:35 -08:00
ridiculousfish
f545fb2491
Work towards refactoring tokenizer to be a real object
2012-11-21 17:48:35 -08:00
ridiculousfish
e73be48d96
Escape arguments to certain shell invocations in Makefile
...
https://github.com/fish-shell/fish-shell/issues/387
2012-11-21 13:42:30 -08:00
ridiculousfish
04b1b83039
Fix for buffer overrun in tokenizer for strings that end with backslash
...
Fixes https://github.com/fish-shell/fish-shell/issues/389
2012-11-20 14:51:30 -08:00
ridiculousfish
e9d216bc84
Fixed recursive brace expansion
...
https://github.com/fish-shell/fish-shell/issues/399
2012-11-20 13:52:53 -08:00
ridiculousfish
87510ac77d
Hungary notation -> Hungarian notation
2012-11-19 13:16:50 -08:00
ridiculousfish
44ce3e6731
Changes to make word movement less aggressive
...
https://github.com/fish-shell/fish-shell/issues/384
2012-11-19 02:41:57 -08:00
ridiculousfish
26678682ca
Fix indentation of switch statements
2012-11-19 00:31:03 -08:00
ridiculousfish
7d63900fb8
Modified project file to reflect new name
2012-11-19 00:17:54 -08:00
ridiculousfish
e47d56a84f
FishsFish.xcodeproj -> fish.xcodeproj
2012-11-19 00:17:25 -08:00
ridiculousfish
9b52269a5b
Updated style guide to reflect modified style
2012-11-18 16:30:53 -08:00
ridiculousfish
9992b8eb0e
Apply new indentation, brace, and whitespace style
2012-11-18 16:30:30 -08:00
ridiculousfish
bab69f2672
Merge branch 'master' into fix-indentation-merge
2012-11-18 15:12:22 -08:00
Åukasz Niemier
2e33633698
More stylefixes
2012-11-18 13:52:21 +01:00
Åukasz Niemier
eb7601d116
Add styleguide
2012-11-18 13:39:37 +01:00
ridiculousfish
5827bfd9a2
Default fish_pager_color_description to '555 yellow'
...
Fixes https://github.com/fish-shell/fish-shell/issues/280
2012-11-18 03:17:51 -08:00
ridiculousfish
dc8cc39bc8
Don't autosuggest in builtin_read
...
https://github.com/fish-shell/fish-shell/issues/29
2012-11-18 02:43:35 -08:00
Åukasz Niemier
47df1ae40a
Remove trailing whitespaces and change tabs to spaces
2012-11-18 11:23:22 +01:00
ridiculousfish
c9c2fc5ee3
Restore terminal foreground process group on exit
...
Fixes https://github.com/fish-shell/fish-shell/issues/197
2012-11-18 02:16:14 -08:00
Terje Larsen
b79854ad1a
Optimize staged logic
2012-11-17 13:37:32 -08:00
Terje Larsen
8229b17f0d
Use double-dollar vars for dynamic variables
2012-11-17 13:37:32 -08:00
Terje Larsen
4a5d02aab4
Add configurable status signs again
2012-11-17 13:37:32 -08:00
Terje Larsen
ed4e6cd3a5
Fix uniqueness and escape question-marks
2012-11-17 13:37:32 -08:00
Sławek Piotrowski
7d45e6f12f
Fix: args -> argv in __fish_git_prompt
2012-11-14 19:00:17 +01:00
ridiculousfish
0302162d8e
Make tab-completion truncation less dumb
...
Fixes https://github.com/fish-shell/fish-shell/issues/259
2012-11-09 16:02:19 -08:00
ridiculousfish
1dfa404210
Revert "Another attempt to improve right prompt on Linux"
...
It didn't work
This reverts commit bd4551e2ef .
2012-11-09 15:21:08 -08:00
ridiculousfish
bd4551e2ef
Another attempt to improve right prompt on Linux
2012-11-09 15:19:54 -08:00
ridiculousfish
d6a56428d1
Attempt to fix fish_right_prompt under Linux
2012-11-09 15:09:54 -08:00
David Adam (zanchey)
a10fa3a20b
add $FISH_VERSION as unexported global variable to complement version
2012-11-08 10:09:51 -08:00
David Adam (zanchey)
be5fde9e54
test documentation - format examples properly
2012-11-08 10:08:06 -08:00
David Adam (zanchey)
abfc7e16a1
test documentation - correct argument listing
2012-11-08 10:08:06 -08:00
ridiculousfish
d76f880faf
Support for fish_right_prompt
...
Fixes https://github.com/fish-shell/fish-shell/issues/80
2012-11-07 19:59:20 -08:00
ridiculousfish
21e83a881e
Bring back ellipsis
2012-11-05 00:05:42 -08:00
ridiculousfish
5ba1261285
Initial right_prompt work
2012-11-04 23:21:37 -08:00
ridiculousfish
7bb844a778
Fix bug where 'else if' does not support functions and redirections
...
https://github.com/fish-shell/fish-shell/issues/359
2012-11-04 17:11:02 -08:00
ridiculousfish
8c24d49c73
Removed unused commented out code and fixed some indentation
2012-11-04 15:47:55 -08:00
ridiculousfish
5e371e8fe7
Don't use posix_spawn for commands that need to be put into foreground to avoid a race
...
Fix for race where a command's output may not be fully drained
2012-11-04 15:45:52 -08:00
ridiculousfish
e46324ced9
Wrong sense of check for initializing key bindings
...
Fix for https://github.com/fish-shell/fish-shell/pull/373
2012-10-30 14:36:37 -07:00
ridiculousfish
5ea486b20a
Fix help completion to not barf if html file is absent
2012-10-29 01:53:10 -07:00
ridiculousfish
425afa63ce
Don't use posix_spawn when file redirections are involved (except /dev/null) because the error handling is too difficult
...
Fix exec to correctly handle the case where a pid could not be created due to posix_spawn failing
Should fix https://github.com/fish-shell/fish-shell/issues/364
2012-10-29 01:45:51 -07:00
ridiculousfish
7c09a767b6
Don't expand jobs during syntax highlighting
...
Fixes https://github.com/fish-shell/fish-shell/issues/366
2012-10-28 16:35:17 -07:00
Siteshwar Vashisht
768f92303e
Removed python scripts to import bash settings
2012-10-27 23:57:15 +05:30
ridiculousfish
34054fa1fb
Merge pull request #362 from terlar/git-completions
...
Git completions
2012-10-25 18:56:59 -07:00
Terje Larsen
4a37d6d1f9
Remove remotes prefix from branches
2012-10-22 20:54:33 +02:00
Terje Larsen
8dfc8625a7
Add git completions for tracking (branch/checkout)
2012-10-22 20:50:38 +02:00
Terje Larsen
e878947cb2
Fix broken git alias completion
...
The previous command outputs a lot of junk, does not strip after the
white-space in OSX (10.8.2).
Tried out the new command on both Ubuntu (12.04.1) and OSX (10.8.2)
2012-10-22 20:37:47 +02:00
Terje Larsen
f56f84c6ac
Use echo -n instead of printf
...
- Remove useless comment, because multi-line prompt works good now.
2012-10-20 12:52:53 -07:00
Terje Larsen
239d43dac4
Improve the git prompt
...
- Fix branch for older git version (--short for symbolic-ref was not
available on git 1.7.9.5)
- Use index (git status) for checking if staged
- Add status indication for copied
- Remove variables for statuses (less litter in the variables)
- Remove usage of eval to echo and set_color
- Replace printf where possible with echo -n
2012-10-20 12:52:53 -07:00
ridiculousfish
8a63326411
Removed backwards compatibility check for fish_user_keybindings
2012-10-20 12:21:41 -07:00
Nate Soares
01608cf062
Normalized some inconsistent whitespace.
2012-10-20 12:15:49 -07:00
Nate Soares
e06d6ce4a2
Revive support for fish_user_keybindings
...
This is undocumented and here to preserve backwards compatibility.
2012-10-20 12:15:49 -07:00
Nate Soares
58a0c6f9d3
added missing underscore
2012-10-20 12:15:49 -07:00
Nate Soares
f310f1e96c
keybindings → key_bindings (for consistency)
2012-10-20 12:15:49 -07:00
ridiculousfish
c7bf1aa222
Handle some more escapes in de-groffing man pages
...
Fixes https://github.com/fish-shell/fish-shell/issues/10
2012-10-17 18:22:57 -07:00
Adrien
be3fff9282
Add apt-cache completion for package names
...
Signed-off-by: Gustavo Noronha Silva <kov@kov.eti.br >
2012-10-17 18:05:49 -07:00
ridiculousfish
e52cf09bc1
Simplify handling of escape sequences in echo -e
2012-10-17 17:08:45 -07:00
ridiculousfish
57de1388e8
Make the \c special character in echo suppress the newline too
2012-10-17 02:59:43 -07:00
ridiculousfish
7ee0ce745e
Implement -e option to echo (to interpret special characters), and -E to not interpret them
...
https://github.com/fish-shell/fish-shell/issues/337
2012-10-17 02:56:03 -07:00
ridiculousfish
469743cd23
Made set_color with no arguments not complain, so that prompts like Terlar don't produce errors for missing colors.
2012-10-17 01:25:21 -07:00
ridiculousfish
91e1d59869
Fix for issue where else if would fail to pass arguments to commands. Also implements short-circuiting for and/or so that non-existent commands don't produce error messages.
...
Fixes https://github.com/fish-shell/fish-shell/issues/345
Fixes https://github.com/fish-shell/fish-shell/issues/349
2012-10-17 01:07:34 -07:00
ridiculousfish
5fb97f05a3
Fixed "Expansion not correctly handling literal path components in dotfiles" test
2012-10-16 11:51:36 -07:00
ridiculousfish
618b42980d
Prevent multi-line prompts from repeating during window resize
...
Fixes https://github.com/fish-shell/fish-shell/issues/321
2012-10-15 19:25:56 -07:00
ridiculousfish
211b9ea8b9
Added terlar's prompt, and robbyrussell which was inadvertently omitted
...
https://github.com/fish-shell/fish-shell/issues/329
2012-10-15 18:45:46 -07:00
ridiculousfish
833abc27cc
Make wildcards beginning with dots not match . and ..
...
https://github.com/fish-shell/fish-shell/issues/270
2012-10-15 18:16:47 -07:00
ridiculousfish
3d5a3f03fa
Fix to prevent buff_pos from underflowing in reader_kill
2012-10-08 23:47:32 -07:00
ridiculousfish
51de26960c
Make escaping consistent for fish <-> fishd protocol
...
Fix fork guards to work in fishd
https://github.com/fish-shell/fish-shell/issues/339
2012-10-08 14:47:25 -07:00
ridiculousfish
b67526aae8
Don't reset the terminal mode in certain circumstances. Fixes issue in Linux with e.g. echo foo ; ftp
...
Introduce patch from 9d229cd18c
2012-10-05 18:23:38 -07:00
ridiculousfish
14bf057c62
Remove bogus path from example of "." (source) command
...
https://github.com/fish-shell/fish-shell/issues/297
2012-10-04 14:57:23 -07:00
ridiculousfish
8eb53ea7ca
Rewrite kill behavior (aka control-W) to do something better
...
Fixes https://github.com/fish-shell/fish-shell/issues/327
2012-10-04 14:35:03 -07:00
ridiculousfish
9b60af4d52
Fix to propagate the last color before highlighting completes, and to avoid repainting when highlighting completes if the color does not change
2012-10-03 12:19:27 -07:00
SanskritFritz
956f99365a
Some new completions and modified some others.
2012-10-02 17:54:30 -07:00
SanskritFritz
9904415144
Facelift for pacman completions.
2012-10-02 17:54:30 -07:00
SanskritFritz
83febbdc7d
Package groups were completed as repos. Fixed.
...
By default fish expands arguments along with options. This is not desired,
so made sure they are expanded only when needed, for performance reasons.
2012-10-02 17:54:30 -07:00
ridiculousfish
6b026e399c
Prevent some cases where garbage gets dumped on the screen during window resize under new soft wrapping architecture
2012-10-02 17:30:07 -07:00
ridiculousfish
a661c03743
Work on soft wrapping to address https://github.com/fish-shell/fish-shell/issues/300
...
Resizing is still wonky
2012-10-01 03:29:18 -07:00
Ian Munsie
ffc03735e8
Don't barf when ending a FAKE block
...
After updating, fish would immediately die when started in an xterm from
my window manager (wmii) with a message like:
fish: builtin.cpp:3357: int builtin_end(parser_t&, wchar_t**): Assertion `false' failed.
fish: Job 1, “~/code/fish-shell/fish†terminated by signal SIGABRT (Abort)
Starting fish from an existing shell worked, and running it on other
machines that I was only SSHing into worked as well. I did discover that
on one machine starting git from one specific directory
(/home/ian/bml/kernel) would cause this failure, but starting from any
other directory worked as normal. I'm not entirely sure what
circumstances contribute to this failure - starting from a copy of the
kernel directory works fine.
The failure only started with the following commit, which introduced the
assert(false):
commit d788c84440
Made type property of block_t constant and private
Further work towards cleaning up block_t hierarchy
Looking at this fail in gdb:
(gdb) r
Starting program: /home/ian/code/fish-shell/fish
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
fish: builtin.cpp:3357: int builtin_end(parser_t&, wchar_t**): Assertion `false' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6c82475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
function=0x548520 "int builtin_end(parser_t&, wchar_t**)") at assert.c:81
(gdb) up 3
3357 assert(false); //should never get here
(gdb) p parser.current_block->type()
$1 = FAKE
So this happens when we run an end command for a FAKE block.
The below patch adds an empty case for FAKE blocks to avoid hitting the
assert. I would need to study the code in more detail to understand if
we should even be executing this code if we are in a FAKE block, but
this patch seems to solve the issue for me.
Signed-off-by: Ian Munsie <darkstarsword@gmail.com >
2012-09-22 23:51:41 -07:00
maxfl
c7e24488eb
fix output
2012-09-22 23:49:26 -07:00
maxfl
fe7d2c57e3
nmcli completions
2012-09-22 23:49:26 -07:00
Siteshwar Vashisht
4fc80b5057
Fix for displaying multiline prompts
2012-09-20 00:47:31 +05:30
Siteshwar Vashisht
12f3f5dcbb
Print autocompletion description after installing
...
Print autocompletion shortcut description at end of 'make install'
2012-09-19 13:21:49 +05:30
Siteshwar Vashisht
16f2ffc29d
Remove ellipsis and newlines from long lines
...
Fix for issue https://github.com/fish-shell/fish-shell/issues/300
2012-09-18 00:42:11 +05:30
Peter Ammon
86a978d9ee
Fixed web_config prompt to work with Python 2.6.1
2012-09-10 02:11:06 -07:00
ridiculousfish
f6fe3df59b
Fix to make prompt chooser work in Python3
2012-09-06 19:01:07 -07:00
ridiculousfish
e0764bb25e
Improve python3 compatibility in webconfig.py
2012-09-06 02:03:21 -07:00
ridiculousfish
1ba0bfd10c
Renamed hyperminamlist prompt
2012-09-06 01:52:21 -07:00
ridiculousfish
593ab75a76
Fix to make Makefile copy sample prompts
2012-09-06 01:40:15 -07:00
ridiculousfish
3589554028
Allow setting the prompt from web_config
2012-09-06 01:30:26 -07:00
ridiculousfish
1a59346b51
Changed "elseif" to "else if"
2012-09-03 13:24:01 -07:00
ridiculousfish
ff124465fd
Clean up some warnings and some unused if-related code
2012-09-01 12:29:00 -07:00
ridiculousfish
de5223db66
Improve documentation and error reporting for elseif.
2012-09-01 02:14:13 -07:00
ridiculousfish
cc1395797e
First stab at elseif implementation
2012-09-01 01:46:14 -07:00
Torsten Grust
122791646e
Fix check for non-empty argument (= initial tab) in fish_config
...
The original version (based on 'test') was creating spurious files named "0" in the current working directory
2012-08-30 13:17:32 +02:00
ridiculousfish
a3c4de52d6
Fix braces style
2012-08-26 23:34:34 -07:00
ridiculousfish
95de6cf5a7
Migrated function_data_t out of base block class
...
Removed an auto_ptr (yay)
2012-08-26 23:30:23 -07:00
ridiculousfish
d788c84440
Made type property of block_t constant and private
...
Further work towards cleaning up block_t hierarchy
2012-08-26 23:16:20 -07:00
ridiculousfish
96046ffd30
First stab at getting rid of the ugly state1, state2 properties of block_t
2012-08-26 22:42:29 -07:00
ridiculousfish
b5e92a831b
Use xdg-open instead of BROWSER, if available
...
https://github.com/fish-shell/fish-shell/issues/293
2012-08-25 13:02:58 -07:00
maxfl
a2788129ff
Minor updates
...
* Add -L/--long completion for 'set' command.
* Fix completion description color.
2012-08-25 00:54:47 -07:00
ridiculousfish
5bbf220077
Fix bug where underlining was failing for paths prefixed with ~
...
Fixes https://github.com/fish-shell/fish-shell/issues/292
2012-08-23 11:21:35 -07:00
ridiculousfish
f5d4e3f94c
Reintroduce IO transmorgrification (yuck) to fix problems with fish_config and complicated IO redirections
2012-08-22 13:41:21 -07:00
ridiculousfish
04ea680e9a
Support for tab cyling through completions
...
https://github.com/fish-shell/fish-shell/issues/84
2012-08-21 17:18:52 -07:00
ridiculousfish
3a940781d9
Replaced README with README.md for github
...
Changed 'root' Xcode target to 'install_tree' to avoid confusion
2012-08-21 02:08:49 -07:00
ridiculousfish
00fcd63b88
Clean up fish.app target to build correctly. Still won't run from Xcode, but will run from Finder
2012-08-21 01:20:19 -07:00
ridiculousfish
f3093649de
Improve Xcode build process to provide a real target for xcodebuild install
2012-08-20 23:50:11 -07:00
ridiculousfish
670e33ab27
Properly handle empty completions (e.g. tab-complete 'foo' with extant files 'foo' and 'foobar' should offer both)
...
Fixes issue described in https://github.com/fish-shell/fish-shell/issues/290
2012-08-20 13:09:21 -07:00
ridiculousfish
3606664cf7
Merge branch 'webserver' of git://github.com/simukis/fish-shell into simukis-webserver
...
Conflicts:
share/tools/web_config/webconfig.py
2012-08-20 12:03:39 -07:00
ridiculousfish
81f45208b0
Make history deletion from web config work properly with Unicode under both Python2 and Python3
...
Make the filter search field hide properly in tabs where it's non-functional
Fixes https://github.com/fish-shell/fish-shell/issues/265
2012-08-20 11:58:54 -07:00
ridiculousfish
9145d05397
Restore correct order of IO redirections
...
Fixes https://github.com/fish-shell/fish-shell/issues/281
2012-08-19 14:09:39 -07:00
Simonas Kazlauskas
ef566836c4
Wipe unnecessary as statement
2012-08-19 23:26:15 +03:00
Simonas Kazlauskas
10dfca1a75
Decode data in python3 – Fixes #265 .
...
In both in python2 and python3 parse_qs expects str object. In
python2 it worked ok, because self.rfile was open in binary mode and
str in python2 is actually a string of bytes. However in python3 str is
actually string of unicode literals, not bytes and file was still open
in binary mode. Thus, deleting any file with non-ascii byte inside
filename failed in python3.
Also, cgi.parse_qs is deprecated and shouldn't be used.
2012-08-19 23:19:07 +03:00
Simonas Kazlauskas
b3e3f041fe
Remove trailing spaces and replace tabs with spaces
2012-08-19 22:55:50 +03:00
ridiculousfish
e3ec361552
Fixed indentation in next_tab_stop
2012-08-17 17:41:55 -07:00
ridiculousfish
bfccc7133d
Fix for issue where init_tabs can't be modified on NetBSD
2012-08-17 17:36:52 -07:00
ridiculousfish
f41a699f5d
Fix to make the choose-a-port loop work correctly for webconfig.py under Python3
2012-08-17 01:14:05 -07:00
ridiculousfish
7d029778e6
Disable file completion descriptions per https://github.com/fish-shell/fish-shell/issues/279
2012-08-15 18:20:44 -07:00
ridiculousfish
26857fabdc
Real fix for https://github.com/fish-shell/fish-shell/issues/278
...
We forget to set the parent group ID in posix_spawn (!)
2012-08-15 17:32:57 -07:00
ridiculousfish
a9b119833a
Actually work around https://github.com/fish-shell/fish-shell/issues/278
2012-08-15 17:26:54 -07:00
ridiculousfish
c5ffe8a974
Temporary workaround for SIGTIN and SIGTOU unhappiness with posix_spawn
...
Fixes https://github.com/fish-shell/fish-shell/issues/278
2012-08-15 17:25:33 -07:00
ridiculousfish
df1b4e1f21
Fix for missing copy-files phase in Xcode build
2012-08-15 16:54:30 -07:00
ridiculousfish
61686aff34
Adopt posix_spawn (!)
...
Rewrite IO chains to be a vector of pointers, instead of a linked list
Removed io_transmogrify
2012-08-15 00:57:56 -07:00
Scott Leggett
ad6645c48d
Implement completion for 'dd'.
...
Closes #267 .
2012-08-12 22:05:12 +10:00
ridiculousfish
1e328c3546
Better handle symlink loops in recursive wildcards (**)
...
https://github.com/fish-shell/fish-shell/issues/268
2012-08-07 02:50:12 -07:00
ridiculousfish
0e2a625815
Added some limited support for autosuggesting processes
2012-08-07 00:01:48 -07:00
ridiculousfish
6eb66770a4
Fix to make completions non-authoritative by default, which is why unknown options were always colored like errors (e.g. --rebase)
2012-08-06 23:34:55 -07:00
ridiculousfish
84729c4dfa
Additional warnings cleanup, effective C++ violations, dead code removal
2012-08-05 13:24:33 -07:00
ridiculousfish
8de8877c7c
Fix OS X compilation
2012-08-05 12:05:05 -07:00
ridiculousfish
fdc6c3722a
Fixed a bunch of clang analyzer warnings
...
Simplified some memory allocations by migrating to std::string
2012-08-05 12:01:53 -07:00
Siteshwar Vashisht
deca475972
Fixed compilation on Linux
...
Addresses issue https://github.com/fish-shell/fish-shell/issues/264
2012-08-05 18:37:51 +05:30
ridiculousfish
ba070e21e4
Fix for stack overflow when overflowing a line
2012-08-04 18:41:14 -07:00
ridiculousfish
35e9fd1bb0
Fix for weird issues when a line becomes very long introduced by my warning fixes
2012-08-04 18:32:15 -07:00
ridiculousfish
4906609dd9
Fix for assertion failure in syntax highlighting
2012-08-04 18:02:13 -07:00
ridiculousfish
682353f9cc
Fix to restore an optimization from parse_util_get_line_from_offset in a more thread-safe way
2012-08-04 17:44:14 -07:00
ridiculousfish
25c6671a87
Fix for inability to go backwards through history
2012-08-04 16:06:40 -07:00
ridiculousfish
c67702a498
Cleaned up lots of typecasts, simplified some string handling
2012-08-04 15:11:43 -07:00
ridiculousfish
5880cd88c8
Switch from int cursor[2] to struct cursor { int x; int y; }
2012-08-04 13:54:20 -07:00
ridiculousfish
54ceb4211e
Additional warning fixes and migration from int to size_t or long where appropriate
2012-08-04 13:47:56 -07:00
ridiculousfish
7a46227141
More warning fixes and switching from int to long or size_t
2012-08-04 13:02:44 -07:00
ridiculousfish
b904aa78e8
Additional warning cleanup and switching from int to size_t where appropriate
2012-08-04 11:34:45 -07:00
ridiculousfish
8185bee4b8
Lots of work towards making fish build without warnings on Mountain Lion, mostly in terms of using size_t instead of int
2012-08-04 11:34:45 -07:00
ridiculousfish
2e1b3325c6
Warning cleanup
2012-08-04 11:34:45 -07:00
Rubycut
1b8f1650dc
explain how to load binds automatically
2012-08-04 11:32:04 -07:00
maxfl
1070b34996
Get rid of 'nothing appropriate' output when completing.
...
Add watch completion.
2012-08-04 11:20:03 -07:00
Anders Bergh
13b1b73c15
Replaced references to http://fishshell.org/ with http://ridiculousfish.com/shell/ .
2012-08-01 18:09:50 +02:00
ridiculousfish
e1de72d0ac
Merge pull request #251 from bpinto/rbenv
...
completion for rbenv
2012-07-28 17:50:27 -07:00
Bruno Pinto
dc837eb8a3
completion for rbenv
2012-07-28 13:45:47 -03:00
ridiculousfish
f6b76e6ecb
Fix to allow specifying an initial tab in fish_config
...
For example, you can run "fish_config history"
2012-07-27 13:40:43 -07:00
ridiculousfish
e7cbcc83a4
Implemented history deletion from fish_config
...
Fixes https://github.com/fish-shell/fish-shell/issues/250
2012-07-27 00:31:00 -07:00
ridiculousfish
390700ca71
Merge pull request #249 from kballard/git_prompt_showupstream
...
Fix showupstream behavior in __fish_git_prompt
2012-07-27 00:26:23 -07:00
Kevin Ballard
b604321169
Fix showupstream behavior in __fish_git_prompt
...
The __fish_git_prompt_show_upstream helper function was inadvertently
looking at the misnamed variable __fish_git_prompt_show_upstream in some
cases, including when implementing the bash.showUpstream override.
Fixing the script to use __fish_git_prompt_showupstream triggered an
infinite loop because the --on-variable hook does not distinguish
between local and global variables.
Update the script to set a completely different local variable to
__fish_git_prompt_showupstream and to override this local variable for
bash.showUpstream.
Also update the code that looks at bash.showUpstream to also read
bash.showupstream, because the bash script appears to have a bug where
it looks for bash.showupstream despite documenting bash.showUpstream.
2012-07-26 15:32:27 -07:00
ridiculousfish
62c49f13ce
Switch from std::list to std::vector in a few places to reduce compiled code size
2012-07-24 22:32:11 -07:00
Colin Woodbury
eba75dbc2e
Fixed two small spelling mistakes
...
- Saw these during normal usage today.
"parens" or "parenthesis" was spelled as "parans".
Fixed two instances of this to "parenthesis".
2012-07-24 22:39:03 +09:00
Siteshwar Vashisht
32d2d0f0d0
Minor refactoring and fixed a bug in history function
2012-07-24 04:35:37 +05:30
maxfl
81e0342bf6
index range doc
2012-07-24 03:56:34 +05:30
ridiculousfish
56599621cc
Make add-shell correctly handle /etc/shells files that do not end with newlines
...
Fixes https://github.com/fish-shell/fish-shell/issues/77
2012-07-22 17:00:44 -07:00
ridiculousfish
261bf12c91
Lots of miscellaneous cleanup. Unified the path_get_cd_path, path_allocate_cd_path, etc. functions
2012-07-20 22:11:05 -07:00
ridiculousfish
b08fb86637
Renamed env_vars to env_vars_snapshot_t
...
Cleanup of non-wcstring version of path_get_path
2012-07-20 20:39:31 -07:00
ridiculousfish
b290fd33b9
Switch to more uses of wcstokenizer from wcstok()
...
Work towards cleaning up path_get_path
2012-07-20 15:01:56 -07:00
ridiculousfish
966bbd476f
Use weak linking of wcsdup and wcscasecmp on OS X
...
Fixes https://github.com/fish-shell/fish-shell/issues/240
2012-07-20 14:33:29 -07:00
Siteshwar Vashisht
cf9bfe9e66
Print fish prompt when command is longer than a line
...
Fix for https://github.com/fish-shell/fish-shell/issues/239
2012-07-21 00:24:48 +05:30
ridiculousfish
bb4a05032b
Merge branch 'index_range'
2012-07-19 10:59:11 -07:00
ridiculousfish
7039e01136
Fixed fish_pager build on Xcode (it was building fish_indent instead. D'oh!)
2012-07-18 12:28:26 -07:00
ridiculousfish
e9f43f1097
Changes to make fish use the relocated fishd instead of the installed one, if it exists
2012-07-18 10:50:56 -07:00
ridiculousfish
150789690f
Merge pull request #234 from maxfl/completions
...
pacmatic and dmesg completions
2012-07-18 10:49:28 -07:00
Siteshwar Vashisht
e284233013
Don't add space at the end of tab completion for cd
...
Fix for https://github.com/fish-shell/fish-shell/issues/235
2012-07-18 19:48:19 +05:30
ridiculousfish
d06d6c6964
Various changes to reduce fish's compiled code size
...
OS X release build executable size dropped from 672k to 511k
2012-07-17 12:47:01 -07:00
ridiculousfish
977a4477f6
Fix for process completion on Linux
2012-07-16 12:19:41 -07:00
ridiculousfish
33c6410809
Implemented process expansion on OS X
...
Also fixed issue where process expansion would always fail for processes with spaces
Fixes https://github.com/fish-shell/fish-shell/issues/56
2012-07-16 12:06:02 -07:00
maxfl
7e321afd2a
pacmatic and dmesg completions
2012-07-16 10:03:01 +08:00
ridiculousfish
548ea1e54a
Added binding for accepting an autosuggestion
...
Fixes https://github.com/fish-shell/fish-shell/issues/226
2012-07-15 14:02:34 -07:00
ridiculousfish
4755c5f8c8
Deliver SIGHUP when we're exiting, even if stdin is not closed.
...
Fixes https://github.com/fish-shell/fish-shell/issues/138
2012-07-15 12:46:40 -07:00
ridiculousfish
ea1bfd715e
Set of changes to improve Unicode support with respect to combining characters.
...
Should address https://github.com/fish-shell/fish-shell/issues/155
2012-07-15 10:45:18 -07:00
Kevin Ballard
b1281c3fb9
Update __fish_git_prompt.fish to handle git-svn better
...
Git-svn remotes can have a prefix for their remotes. If I set a prefix
of 'svn/' then my remote trunk branch is called svn/trunk. Update the
script to use the svn-remote.*.fetch key to figure out how the 'trunk'
branch is mapped into the remotes namespace and apply this to the
current branch. This assumes branches are mapped into the same
namespace, which is likely. It also doesn't work for tags, but neither
did the old code.
2012-07-13 21:46:57 -07:00
Alex Rosenberg
257e9b04fe
Add auto-generated builtin_scripts.[cpp|h] to .gitignore
2012-07-13 21:40:11 -07:00
ridiculousfish
8643870822
Tweaked fish_prompt document in a way I hope clarifies it
2012-07-13 21:32:50 -07:00
Dario Bertini
6819696222
Added small note to the fish_prompt doc
2012-07-12 14:52:15 -07:00
ridiculousfish
193bbd4e00
Tweaked pwd note about symbolic links
2012-07-12 14:48:51 -07:00
Dario Bertini
1bf168348e
Added doc for pwd
2012-07-12 14:45:37 -07:00
ridiculousfish
f8b4c1b389
First pass at making autosuggestions not trigger wrapping
...
Addresses https://github.com/fish-shell/fish-shell/issues/167
2012-07-12 12:51:47 -07:00
ridiculousfish
830fba64b1
Fix for https://github.com/fish-shell/fish-shell/issues/42
...
Remote completions in scp
2012-07-11 17:20:58 -07:00
ridiculousfish
1cd61952b0
Fix for https://github.com/fish-shell/fish-shell/issues/223
...
Use -rpath instead of -R
2012-07-11 17:18:49 -07:00
ridiculousfish
4ee1cc3b37
Fix for https://github.com/fish-shell/fish-shell/issues/168
...
Make ^ only act as a redirect at the beginning of a token
2012-07-10 20:30:54 -07:00
maxfl
11dd904b6d
Tests for contains -i
2012-07-10 16:21:00 -07:00
maxfl
0c03b6ddc7
Allow 'contains' builtin to return index
...
Add an option -i/--index to the contains builtin to print the index
of first coincidence.
2012-07-10 16:21:00 -07:00
ridiculousfish
176a3913aa
Fix for https://github.com/fish-shell/fish-shell/issues/106
...
Lets us configure and build on FreeBSD
2012-07-10 15:37:16 -07:00
ridiculousfish
6f0b00f983
Fix for https://github.com/fish-shell/fish-shell/issues/66
...
Make fish import .bash_history if regular history is not found
2012-07-09 22:54:08 -07:00
ridiculousfish
69ace201f8
Fix for https://github.com/fish-shell/fish-shell/issues/79
...
Release tarballs with the user docs already build, removing the doxygen dependency
2012-07-09 19:41:51 -07:00
ridiculousfish
a04f31c5c0
Fix for https://github.com/fish-shell/fish-shell/issues/218
...
make help smarter on OS X (don't show useless builtin man page)
2012-07-09 18:46:14 -07:00
ridiculousfish
1d9f47d1e5
https://github.com/fish-shell/fish-shell/issues/207
...
Improve error message for infinite loop detection
2012-07-09 15:18:22 -07:00
ridiculousfish
36a91fc6ff
Fix for https://github.com/fish-shell/fish-shell/issues/28
...
Use pthread_sigmask instead of sigprocmask
2012-07-09 14:15:55 -07:00
ridiculousfish
cd3ed71137
Fixes Solaris kludge https://github.com/fish-shell/fish-shell/issues/76
2012-07-08 22:36:04 -07:00
ridiculousfish
73e56527bf
Improve error message for $?
2012-07-08 18:51:52 -07:00
ridiculousfish
24059924b1
Fix for https://github.com/fish-shell/fish-shell/issues/50
...
Unescape characters before calling parser.error
2012-07-08 18:40:50 -07:00
ridiculousfish
bb100a2511
Turn on debugging symbols correctly for OS X build
2012-07-08 18:04:31 -07:00
ridiculousfish
0c8c32cd03
Fix for https://github.com/fish-shell/fish-shell/issues/105
...
Not sure why the escape character was being printed in the manpage completions script
2012-07-08 17:35:07 -07:00
ridiculousfish
a38d6e74f5
Renamed a target in the OS X build system
2012-07-08 16:51:39 -07:00
ridiculousfish
05d8dacb27
Simplified native OS X build system
2012-07-08 16:17:49 -07:00
ridiculousfish
d6a0859eab
Updated doc dir path in fish.cpp
2012-07-08 15:42:47 -07:00
ridiculousfish
4912967eab
Large set of changes related to making fish relocatable, and improving the build and install story.
...
- etc/config.fish and share/config.fish are now "universal" and no longer reference install paths or need to be touched by autotools. They've been removed from config.fish.in to config.fish.
- fish now attempts to determine __fish_datadir and __fish_sysconfdir relative to the path of the fish executable itself (typically by walking up one directory). This means that you can copy the directory hierarchy around and things will still work. The compiled-in paths are used as a backup.
- The fish Xcode project now can build fish natively, without needing autotools.
- Version bumped to 2.0
2012-07-08 15:20:39 -07:00
maxfl
76e1cda495
Set single-line default prompt
...
Fish now doesn't join the fish_prompt output. This breaks the default
fish_prompt. Make default fish_prompt single-line. Fixes #203 .
Add -l flag to 'read' documentation. Remove ambiguous '-x' description.
Fixes #157 .
2012-07-07 23:34:16 -07:00
ridiculousfish
c1a23bf450
Fix for https://github.com/fish-shell/fish-shell/issues/199
...
Don't hard-fail on setting the PATH or CDPATH just because it contains an invalid entry
2012-07-07 23:04:02 -07:00
maxfl
b25b5bf5f6
restore tabs instead of spaces
2012-07-08 10:55:48 +08:00
maxfl
079f17761c
Fix case when first index is command substitution
2012-07-08 09:45:34 +08:00
maxfl
e1b8c425da
Fix case when second limit is a variable:
...
echo $PATH[1..$n]
2012-07-08 09:39:39 +08:00
maxfl
5f05756e65
Add variable expand ranges
...
echo $PATH[-1..1] #now works
Add tests for ranges
2012-07-08 09:19:11 +08:00
maxfl
c0e996acf8
Implemented index ranges for command substitution
...
Now the following code works:
> echo (seq 10)[-1..1]
With output:
10
9
8
7
6
5
4
3
2
1
2012-07-07 22:01:28 +08:00
maxfl
41ec58a524
misc
2012-07-07 11:04:29 +08:00
maxfl
0a5e7be129
Add index ranges
...
Builtin 'set' now can set variable index ranges:
set test[1..3] a b c #works
set test[-1..-3] a b c #works if variable have enough elements
set test[2..-2] a b c #works
set test[1..3 -1..-2] a b c b b #works
Expand now can parse index ranges. But not handle for now.
TODO:
* Add variable substitution index ranges: echo $PATH[-1..1]
* Add command substitution index range: echo (seq 10)[-1..-4]
* Add process substitution indexes and ranges: echo %vim[-1]
2012-07-07 10:57:28 +08:00
maxfl
b23d65b014
Set single-line default prompt
...
Fish now doesn't join the fish_prompt output. This breaks the default
fish_prompt. Make default fish_prompt single-line. Fixes #203 .
Add -l flag to 'read' documentation. Remove ambiguous '-x' description.
Fixes #157 .
2012-07-07 10:17:24 +08:00
ridiculousfish
60ef7903e2
Tweaked __fish_print_help to not spew errors
2012-07-06 16:31:06 -07:00
ridiculousfish
ee8fd21d28
Fix for https://github.com/fish-shell/fish-shell/issues/209
...
Don't hang if stdin is closed and we have no bindings
2012-07-06 16:25:59 -07:00
maxfl
232ed91ec7
Fix read default prompt. It's now single line.
2012-07-06 15:31:45 -07:00
maxfl
7fccad156e
Fix fish_prompt event
...
I've found that this modification fixes fish_prompt event
Fixes #164
2012-07-06 15:31:45 -07:00
ridiculousfish
11e56456a0
Fix for wrong sense for determining when an autoloaded function has changed
...
Addresses some of the complaints in https://github.com/fish-shell/fish-shell/pull/201
2012-07-06 15:30:41 -07:00
Emily Eisenberg
d07e78c59a
Make prompt_pwd make a lot more sense
...
Remove the case statements, which were handled by the sed blocks anyway
Move around the '/' character in the regex, so only one regex is needed
Fix a bug where '/' is output as '//'
2012-07-06 14:46:50 -07:00
Sean DuBois
c45479a6e5
Created the man page for echo and test
2012-07-06 14:41:44 -07:00
ridiculousfish
345a528625
Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp.
...
Add some autosuggestion tests
2012-07-06 14:34:53 -07:00
maxfl
01d8490255
Return the previous logic for '\\'.
...
The following expression now works:
```sh
switch '\\'
case '\\'
echo 1
end
```
Due to ambiguity, the following expression also works:
```sh
switch '\a'
case '\\a'
echo 1
end
```
By the way, the following expression now doesn't work, which was not the
case before, because of wrong escaping:
```sh
switch 'nn'
case '\n'
echo 1
end
```
2012-07-05 14:17:25 -07:00
maxfl
ea4b37d5c5
Fixed case behaviour
...
* case no properly handles -h and --help flags, i.e. treats it as
pattern
* fixed case escaping:
The following expressions now work correctly:
switch '*'
echo '*'
echo Match any string
end
switch '*'
echo '\*'
echo Match asterix
end
switch '\\'
echo '\\\\'
echo Match slash
end
The same for '?' sign
2012-07-05 14:17:25 -07:00
Siteshwar Vashisht
a1319cb8aa
Fixed crash caused by pressing pageup button when no match (for typed command) in history is found
2012-07-05 16:06:39 +05:30
ridiculousfish
35c49d62d7
Fix a class/struct disparity
2012-07-01 16:11:14 -07:00
ridiculousfish
0576a11a6f
Added missing break in case R_SUPPRESS_AUTOSUGGESTION
2012-07-01 15:40:06 -07:00
Ian Munsie
c8f86d94c9
Add command to temporarily suppress the autosuggestion feature
...
Autosuggestion will be automatically re-enabled next time a character is
inserted. An alternative implementation would require another command to
explicitly re-enable it.
Signed-off-by: Ian Munsie <darkstarsword@gmail.com >
2012-07-01 15:37:10 -07:00
Ian Munsie
2b24eab26a
Fix off by two in move_word left
...
This can be demonstrated with something like:
echo howdy hi<control-w>
echo howdy I<alt-b>
Previousely this would delete/move all the way to the start of 'howdy',
rather than just the word 'hi'/'I'.
It seems that the code to ignore the character under the cursor was
redundant, as all the cases I've tried with it removed seem to do the
right thing.
Signed-off-by: Ian Munsie <darkstarsword@gmail.com >
2012-07-01 15:37:10 -07:00
ridiculousfish
7bbc7a61ce
Clarify the function name deferral in functions_def
...
Prohibit making a function with an empty name
2012-07-01 15:33:50 -07:00
maxfl
fe26284376
Doc is updated
...
btw. funced completion is updated
2012-07-01 14:20:43 -07:00
maxfl
ab62fe6496
Update funced
...
* Editor mode is no the default
* Use -i or --interactive or -e fish to edit function in interactive
mode
* tmpname is now created with random number added and check that file
do not already exist
* check $TMPDIR existence and put /tmp if it does not exist
* There is an undocumented feature to use functions, started with dash.
Introduce necessary changes to funced, functions, def_function()
in order to make it work properly.
* Delete editor guessing. Use $EDITOR variable or -e key
2012-07-01 14:20:43 -07:00
ridiculousfish
bc9bae0f7f
Update make_tarball.sh to respect new branch name
2012-07-01 14:19:39 -07:00
maxfl
e5939d1a18
Disable default fish_pager_color_secondary
...
since it should be different, depending on terminal background
2012-06-29 18:53:22 -07:00
maxfl
5fadb7f200
fix logic
2012-06-29 18:53:22 -07:00
maxfl
a02aa7a316
Step coloring for fish_pager introduces new variable
...
fish_pager_color_secondary to set background of every second completion
line. It simplifies finding the options corresponding to given
description. Default color is 151515.
2012-06-29 18:53:22 -07:00
ridiculousfish
3ab26a5d40
Updated funced documentation to reflect new behavior
2012-06-29 18:41:37 -07:00
ridiculousfish
a8bae31939
Change funced script to default to using $EDITOR if set, and to allow -e to specify a particular editor (with fish meaning the builtin editor)
2012-06-29 18:35:26 -07:00
maxfl
faea588fb8
Support editing functions starting with dot
2012-06-29 16:42:34 -07:00
maxfl
792e246262
Add emacs to 'funced -e'
...
The order is also changed.
2012-06-29 16:42:34 -07:00
maxfl
85f19f9b8c
Add -e option to funced
...
New option -e or --editor allows to edit function inside external
editor, rather than in reader.
2012-06-29 16:42:34 -07:00
ridiculousfish
40e4f49dbe
Disable process expansion in autosuggestions
...
Addresses https://github.com/fish-shell/fish-shell/issues/39
2012-06-29 16:40:54 -07:00
Siteshwar Vashisht
05c721bebb
Some improvements to validate commands suggested from history
2012-06-29 00:24:37 +05:30
maxfl
e995cc9329
fix #177 (complete 'cd' only with paths)
2012-06-26 19:17:32 -07:00
ridiculousfish
9457c115be
Merge pull request #181 from kballard/fish_git_switch
...
Remove __fish_git_prompt's switch bug workaround
2012-06-26 13:00:31 -07:00
Kevin Ballard
1eddc79a90
Remove __fish_git_prompt's switch bug workaround
...
With the switch bug fixed, __fish_git_prompt can be very slightly
simplified by not recording the exit status of every case in the
describe style switch individually.
2012-06-25 15:19:47 -07:00
Siteshwar Vashisht
ccfc909eb2
Fixed crash caused by pressing pageup button
2012-06-25 03:02:37 +05:30
Kevin Ballard
1a93cbba1e
Bring prompt_pwd under Darwin to parity with non-Darwin
...
The echo command to print the last path segment got a couplel of fixes,
but these fixes were only applied to the non-Darwin version. Copy these
fixes over to the Darwin version. Notably, this makes `/` stop
displaying as `//`.
2012-06-24 14:04:43 -07:00
Kevin Ballard
529d410bec
Fix prompt_cwd on darwin systems when $PWD is "/private"
...
When $PWD is "/private", the prompt was printing "rivate". Skip the
"/private" stripping if there's nothing after it.
Prevent "/private" from being stripped anywhere but the beginning of the
PWD.
Fixes #173
2012-06-24 14:04:43 -07:00
Kevin Ballard
4d1c0eaa52
Fix var set in __fish_config_interactive.fish
...
__fish_config_interactive.fish uses the presence of __fish_init_1_50_0
to decide whether it should perform a one-time initialization of
universal variables. Unfortunately, it sets the variable
__fish_init_1_23_0. Fix this to set __fish_init_1_50_0 instead.
2012-06-24 13:57:15 -07:00
Kevin Ballard
adfd3c1098
Don't blow away $status in switch statements
...
Tweak the switch and case builtins to not blow away $status
inappropriately. Fixes issue #161 .
2012-06-24 13:43:44 -07:00
Kevin Ballard
f7d0c4b065
Add a test case for switch error code (issue #161 )
2012-06-24 13:43:44 -07:00
Siteshwar Vashisht
5fb32f1e2d
Fixed declaration of wrealpath() function on FreeBSD
2012-06-23 10:59:53 +05:30
ridiculousfish
f69489a4fc
Mostly fix https://github.com/fish-shell/fish-shell/issues/72
2012-06-21 16:58:26 -07:00
ridiculousfish
d34ce26c4e
Merge pull request #169 from kballard/git_prompt_docs
...
Tweak documentation for __fish_git_prompt
2012-06-21 16:34:12 -07:00
Kevin Ballard
3f7fe94009
Tweak documentation for __fish_git_prompt
...
Add mention of the __fish_git_prompt_color variable.
2012-06-21 11:14:01 -07:00
Kevin Ballard
ae593decfc
Replace __fish_git_branch_prompt.fish with __fish_git_prompt.fish
...
__fish_git_prompt.fish is a complete port of the __git_ps1 function from
git-completion.bash, with the relevant configuration variables changed
and some extra configuration added (namely, control over individual
colors and the status indicator characters).
2012-06-21 11:03:15 -07:00
Emil Eriksson
eea62125a1
Fixes title update in tmux and screen
...
* Seems that writestr( L"\x1b];" ); doesn't work in tmux and
screen. As discussed in fish-shell/fish-shell#47 the 2 was
removed. This commit adds the zero (L"\x1b]0;").
* Tested in screen,tmux,iTerm and xterm.
2012-06-21 10:30:12 -07:00
Emil Eriksson
96f36a63dc
Enable window title update when TERM is screen-X
...
* Uses the same logic as when TERM is
xterm-X to enable window-title updates when
running in screen.
2012-06-21 10:30:12 -07:00
ridiculousfish
19e183f02f
Squashed commit of the following:
...
commit 5b7659ec3d5e67b8dad8d3543d87a0169dc9a9e9
Merge: 57f3df3 22a4cd6
Author: ridiculousfish <corydoras@ridiculousfish.com >
Date: Thu Jun 21 10:15:41 2012 -0700
Merge branch 'master' of https://github.com/maxfl/fish-shell into maxfl-master-base
commit 22a4cd686f
Author: maxfl <gmaxfl@gmail.com >
Date: Tue Jun 19 15:51:43 2012 +0400
set now expands the variable size, if index is outside it
commit 9b0ffa8315
Author: maxfl <gmaxfl@gmail.com >
Date: Mon Jun 18 21:30:44 2012 +0400
fixes #78
commit 78387fb391
Merge: c0e6096 93dc7d4
Author: maxfl <gmaxfl@gmail.com >
Date: Mon Jun 18 21:27:47 2012 +0400
Merge remote-tracking branch 'fishfish/master'
commit c0e60963c1
Merge: 32a98e7 1bead8a
Author: maxfl <gmaxfl@gmail.com >
Date: Mon Jun 18 10:29:42 2012 +0400
Merge remote-tracking branch 'fishfish/master'
commit 32a98e799e
Merge: 6e71021 f2b5292
Author: maxfl <gmaxfl@gmail.com >
Date: Sat Jun 16 18:42:07 2012 +0400
Merge remote-tracking branch 'fishfish/master'
commit 6e710211bc
Author: maxfl <gmaxfl@gmail.com >
Date: Thu Jun 14 11:01:13 2012 +0400
revert fish_pager
commit 731a29f35b
Author: maxfl <gmaxfl@gmail.com >
Date: Thu Jun 14 10:57:41 2012 +0400
revert fish_pager.cpp
commit 72c1bfc7bf
Merge: ea74ffa 9b781c4
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 17:54:11 2012 +0400
Merge branch 'master' into maxfl_completions
commit ea74ffa086
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 17:35:20 2012 +0400
__fish_complete_command now can understand '--arg=option' tokens
latexmk completion is updated
commit 45b667826f
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 16:46:47 2012 +0400
. completion
commit 1c9f8ffc9e
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 16:46:13 2012 +0400
a lot of new completions
commit 8224d9f984
Author: Maxim Gonchar <gonchar@myhost.localdomain >
Date: Tue Jun 12 20:19:31 2012 +0400
A lot of new completions.
Some small updates and fixes of old functions and completions.
commit 234ed8f5da
Author: Maxim Gonchar <gonchar@myhost.localdomain >
Date: Tue Jun 12 20:03:44 2012 +0400
step-coloring initial
set_color correction
2012-06-21 10:24:49 -07:00
Siteshwar Vashisht
57f3df3cab
Fix for crash while editing multiple lines requested in issue #143
2012-06-21 21:05:14 +05:30
David Adam (zanchey)
08e78e63cf
docs: fix percentage sign escape character
...
(Patch taken from Debian packaging.)
2012-06-18 14:01:22 -07:00
ridiculousfish
9228dffe5e
Don't generate completions if we already have bespoke completions in the data directory
...
Fixes https://github.com/fish-shell/fish-shell/issues/148
Also fix some Python3 issues
2012-06-18 13:59:34 -07:00
Siteshwar Vashisht
93dc7d4cc1
Add support for querying variables with scope options as requested in issue #132
2012-06-18 22:52:33 +05:30
ridiculousfish
1bead8adf7
Fix to create_manpage_completions.py to flush after every line (so you see more progress) and to put the cursor at the beginning (so it doesn't jump around)
2012-06-17 15:19:55 -07:00
David Adam (zanchey)
6681f3bfec
only touch user_doc if doxygen installed
...
If doxygen isn't installed, an empty file called user_doc will be created.
If doxygen is later installed, the documentation will not generate correctly.
2012-06-17 15:04:20 -07:00
David Adam (zanchey)
71f8960ef1
make clean should remove all generated documentation
2012-06-17 15:04:20 -07:00
Evan Jones
01780f19b1
Fix other usages of \n in sed replacements.
2012-06-17 15:01:04 -07:00
Evan Jones
1fa0c4d4d3
alias: Support seds that don't support \n in replacements.
...
This makes the alias command work on Mac OS X.
2012-06-17 15:01:04 -07:00
ridiculousfish
eebe126842
Fix for a busted format string
2012-06-17 14:49:45 -07:00
ridiculousfish
ebfa285122
Teach __fish_print_help.fish about the new man path
2012-06-17 14:46:24 -07:00
ridiculousfish
27212719dc
Removed an errant printf
2012-06-17 13:20:31 -07:00
Siteshwar Vashisht
17567028da
Fixed a bug in wsetlocale()
2012-06-17 11:25:21 +05:30
ridiculousfish
34fd8e0e00
Tweak fork guards to be more forgiving
...
Fixes https://github.com/fish-shell/fish-shell/issues/101
2012-06-16 21:25:33 -07:00
ridiculousfish
6cf42075fc
Fix to check for case insensitive filesystems in is_potential_path
...
Addresses https://github.com/fish-shell/fish-shell/issues/119
2012-06-16 14:08:58 -07:00
ridiculousfish
afd8d2f9ba
Fix for https://github.com/fish-shell/fish-shell/issues/135
...
Don't use std::map::insert when we need to overwrite values
2012-06-16 13:05:58 -07:00
ridiculousfish
1d54bff385
Disble futimes() calls in hopes of fixing https://github.com/fish-shell/fish-shell/issues/122
...
This should keep sudo from thinking that the tty has changed as part of its tty_tickets feature.
2012-06-16 12:30:20 -07:00
ridiculousfish
6dd0013a5d
Fix for extra space in some completions
...
Addresses https://github.com/fish-shell/fish-shell/issues/60
2012-06-16 10:30:05 -07:00
ridiculousfish
f2b5292bcb
Squashed commit of the following:
...
commit 33358874f1c275d8b08186e29f24a7889d2b5224
Author: maxfl <gmaxfl@gmail.com >
Date: Thu Jun 14 11:01:13 2012 +0400
revert fish_pager
commit cee1bc8a66ec3adc9573b76e1aca3131cd32db83
Author: maxfl <gmaxfl@gmail.com >
Date: Thu Jun 14 10:57:41 2012 +0400
revert fish_pager.cpp
commit 27f3bd39dd9903009503d20a59a9e2ba84add07a
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 17:35:20 2012 +0400
__fish_complete_command now can understand '--arg=option' tokens
latexmk completion is updated
commit 97b53a4b53de9389675783f3e90f58215d936356
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 16:46:47 2012 +0400
. completion
commit d5b63b9963b0a02a71f564e7392171c5eab005cd
Author: maxfl <gmaxfl@gmail.com >
Date: Wed Jun 13 16:46:13 2012 +0400
a lot of new completions
commit ceab87d99425124aa010c64ed062e27202b850d2
Author: Maxim Gonchar <gonchar@myhost.localdomain >
Date: Tue Jun 12 20:19:31 2012 +0400
A lot of new completions.
Some small updates and fixes of old functions and completions.
commit 950aecd570b51e1b9dc444cc651b282a220e8d94
Author: Maxim Gonchar <gonchar@myhost.localdomain >
Date: Tue Jun 12 20:03:44 2012 +0400
step-coloring initial
set_color correction
2012-06-15 17:30:33 -07:00
Gour-Gadadhara Dasa
3a94f6e8b3
initial version of Bazaar completion (created automatically)
2012-06-15 17:18:15 -07:00
Peter Feigl
f2846a0b78
correcting path of man-pages to ./man/man1/ instead of ./man/
...
Change the path where man-pages are installed to
/usr/share/fish/man/man1 instead of /usr/share/fish/man, so that tools
like mandb can process it.
2012-06-15 16:31:35 -07:00
Tim Gray
dbde7033d8
Added completions for brew (Homebrew)
...
An OS X package manager.
http://mxcl.github.com/homebrew/
2012-06-15 16:29:26 -07:00
ridiculousfish
18f04adccb
Support for importing fish 1.x's history and format, and also bash
2012-06-15 16:24:05 -07:00
ridiculousfish
1ed65b6bd7
Fixed token search (note: this didn't work properly even in the original fish!)
...
Fixes https://github.com/fish-shell/fish-shell/issues/61
2012-06-15 16:24:05 -07:00
Siteshwar Vashisht
9b781c4c06
Modified alias.fish to show help message when executed with 0 arguments
2012-06-13 00:29:05 +05:30
Siteshwar Vashisht
25f9105a97
Made history --help show history man page and history is now saved only once while deleting items
2012-06-12 14:20:07 +05:30
Siteshwar Vashisht
602109bd8d
Some improvements in bash configuration importer script
2012-06-12 11:08:30 +05:30
ridiculousfish
631d27f7a8
Merge pull request #104 from Teggy/master
...
Please consider to pull: formatting glitch in doc_src/history.txt makes Doxygen stumble
2012-06-11 15:48:00 -07:00
Torsten Grust
aad27a7a68
Fixed closing <pre> tag
...
- Was an opening tag, should have been a closing tag
- Confused Doxygen 1.8.1.1 on my machine (OS X 10.7), resulting in the fish man pages not being installed at all
2012-06-11 13:46:47 +02:00
ridiculousfish
4ac01154d9
SIGXCPY should be SIGXCPU
...
Fixes https://github.com/fish-shell/fish-shell/issues/97
2012-06-10 03:36:02 -07:00
ridiculousfish
4e2c7c57d7
Add text to INSTALL describing how to go back to the old shell.
...
This was requested in https://github.com/ridiculousfish/fishfish/pull/92
2012-06-10 01:35:30 -07:00
Robin Deits
6e65cfcc9a
fish_title now sets both tab and window titles in iTerm2
2012-06-10 00:50:00 -07:00
Carl Johan Crafoord
96a4b7eaa7
Check for libiconv_open if we can't find iconv_open
2012-06-10 00:33:01 -07:00
ridiculousfish
64afada7f0
Switched from using 'type' to 'functions --query' since it's a lot cheaper
2012-06-10 00:21:11 -07:00
adisbladis
9f563f4873
Introduced fish_user_keybindings
2012-06-10 00:21:11 -07:00
Siteshwar Vashisht
ca61d0ee8b
Fixed crash in history builtin for inputs like : history --search -prefix "echo"
2012-06-10 01:08:19 +05:30
Siteshwar Vashisht
e96dabadf1
Add Rekonq in list of browsers to display help
2012-06-08 21:11:26 +05:30
Siteshwar Vashisht
b6601338c2
Made C-d delete characters in multiple lines.
2012-06-07 21:18:02 +05:30
Siteshwar Vashisht
8167e1e07e
Add new line after printing job information with jobs builtin.
2012-06-07 21:07:34 +05:30
Siteshwar Vashisht
23ce927301
Fixed a bug in manpage generator.
2012-06-07 20:48:54 +05:30
Siteshwar Vashisht
c7941fc7b0
Use manpath instead of man --path to find man page paths.
2012-06-07 00:00:43 +05:30
Siteshwar Vashisht
1078ad9ae9
Fixed following bugs in history function:
...
1. history function without any argument now correctly shows user's command history.
2. history --save now saves user's command history.
2012-06-06 20:54:27 +05:30
adisbladis
c0085cbc61
Python3 fixes in import_bash_settings.py
2012-06-05 20:40:51 -07:00
Adam
a49d245b92
Python3 fixes for webconfig.py
2012-06-05 20:40:51 -07:00
Adam
0ce6829e4c
Python3 fixes in make_completions.py
2012-06-05 20:40:51 -07:00
Adam
4e3acdcbdc
Unicode error fix in manpage completion with python3
2012-06-05 15:26:11 -07:00
Adam
85f808130d
Manpage generation now works with python3
2012-06-05 15:26:11 -07:00
ridiculousfish
b187538339
Bump OS X installer package version
2012-06-05 02:06:44 -07:00
ridiculousfish
93f6aabe12
Fix to stop identifying SnowLeopard's terminal as term256
2012-06-05 02:06:33 -07:00
ridiculousfish
10aa107380
Updated relnotes
2012-06-05 01:22:25 -07:00
ridiculousfish
53cba2a2e6
Improved webconfig.py's handling of combined term256 and classic colors
2012-06-05 01:19:59 -07:00
ridiculousfish
d871095d0b
Updated "last run version" to __fish_init_1_50_0. Updated colors for non term-256 compatibility
2012-06-05 01:01:30 -07:00
ridiculousfish
9bf8a5e877
Updated release notes for new history syntax
2012-06-05 00:42:45 -07:00
ridiculousfish
3836bfe5a1
Added history completion file
...
Updated history function to assume --search as the default behavior
2012-06-05 00:40:42 -07:00
ridiculousfish
7698553c3a
Made a bare history call end with a newline
2012-06-04 23:59:04 -07:00
ridiculousfish
be1d216b34
Relnoted history builtin
...
Tweaked validation regex to use extended regexs
2012-06-04 23:54:43 -07:00
ridiculousfish
85cbb943b5
Tweaks to the history function
2012-06-04 23:40:08 -07:00
Siteshwar Vashisht
ec34f2527a
Adding history builtin
2012-06-05 09:54:42 +05:30
ridiculousfish
b877181e17
Fix for what I believe to be a bug in fish trunk where you can't always successfully control-C out of some while loops
2012-06-04 15:10:35 -07:00
ridiculousfish
69446be1ee
Signal handling cleanup and improved safety
...
Fixes issue where you couldn't control-C out of a loop (https://github.com/ridiculousfish/fishfish/issues/13 )
Also stops doing memory allocation in the signal handler (oops) https://github.com/ridiculousfish/fishfish/issues/27
2012-06-04 14:20:01 -07:00
ridiculousfish
cc90f9cf80
path_make_canonical mishandles empty string.
...
Fixes https://github.com/ridiculousfish/fishfish/issues/26
2012-06-04 12:00:59 -07:00
ridiculousfish
457e6a5f46
Updated some relnotes for beta r2
2012-06-03 17:58:25 -07:00
ridiculousfish
e7db18bae2
Added Debian description-pak file
2012-06-02 18:07:11 -07:00
ridiculousfish
f8e3e853aa
Fix to disable VDSUSP, which allows control-Y to serve as yank on OS X
2012-06-02 15:43:18 -07:00
ridiculousfish
b7ba252965
Restore implicit cd for paths starting with ., .., or ~
2012-06-02 14:04:25 -07:00
ridiculousfish
ae12e1b537
insert_tabs called wcstring::append with arguments in the wrong order
...
Should fix https://github.com/ridiculousfish/fishfish/issues/18
2012-06-01 14:38:41 -07:00
ridiculousfish
9255f625fa
Disable internalized scripts
2012-06-01 14:00:04 -07:00
adisbladis
377d93d1cf
Missing -s to which fixed
2012-05-30 21:08:44 +02:00
adisbladis
19d14c7c3a
Python 3 compatibility fix in make_completions.py
2012-05-30 11:52:49 +02:00
adisbladis
6e3a823b7b
Python 3 compatibility fix in internalize_scripts.py
2012-05-30 11:42:32 +02:00
ridiculousfish
51f9ff5389
Updated make_tarball.sh to stop dumping files in the extract directory
2012-05-30 01:06:25 -07:00
ridiculousfish
4986e6e3f9
Fix to set up 10.6 SDK correctly when building on 10.7
2012-05-30 00:27:50 -07:00
Peter Ammon
9d8ae184c9
Fix for annoying messages when launching on SnowLeopard
...
Fix for missing .o file in Makefile.in
2012-05-30 00:22:45 -07:00
ridiculousfish
4afdcf56fc
Tweak a few default colors
...
Fix the make_pkg script to actually build an installable package that doesn't immediately barf
2012-05-29 21:14:19 -07:00
ridiculousfish
0fe43eb880
Fix to (really) no longer require Doxygen to build fish
2012-05-29 20:50:27 -07:00
ridiculousfish
4edfd6d9d6
Update set_color documentation
2012-05-25 02:14:26 -07:00
ridiculousfish
8351ec0afd
Document some of the new commands
2012-05-25 02:07:21 -07:00
ridiculousfish
92ce84c26a
More tweaks to Debian build script
2012-05-25 00:48:39 -07:00
ridiculousfish
9d31e52b2a
Updated Debian package build script
2012-05-24 23:58:16 -07:00
ridiculousfish
dcd7d6769d
Updated some build scripts
2012-05-24 23:56:07 -07:00
ridiculousfish
87c0e0e971
Tweaked make_deb script
2012-05-22 00:09:39 -07:00
ridiculousfish
6f9a523151
Some tweaks to build tools
...
Started make_deb.sh for Debian package
2012-05-22 00:05:41 -07:00
ridiculousfish
673faf7152
Fixed builtin_test to properly handle "just a strings" in combining expressions, like 'test foo -a bar'. This was causing error messages in the help function.
...
Fixed help function to know about OS X and use the open command to open web pages.
2012-05-20 12:58:03 -07:00
ridiculousfish
18ace555b0
Added release notes for beta 1
2012-05-19 17:04:45 -07:00
ridiculousfish
d09c9fba02
Added a -s option to echo to mean "don't output spaces"
...
Replaced default prompt to stop calling printf. I opened a bug to replace the default prompt entirely with one that's cheaper.
2012-05-19 16:59:56 -07:00
ridiculousfish
f1d22b6300
Got function.h and function.cpp off of shared_ptr (hooray)
2012-05-18 14:00:36 -07:00
ridiculousfish
da6295c428
More work towards getting function.h off of shared_ptr
2012-05-17 19:46:08 -07:00
ridiculousfish
86645b32e1
Work towards getting function.h off of shared_ptr
2012-05-17 19:38:08 -07:00
ridiculousfish
977c585f8b
Made the OS X installer package flat
2012-05-17 19:37:26 -07:00
ridiculousfish
4c1ddab560
Tweaked Makefile.in to show off a few of our new features
2012-05-17 19:37:03 -07:00
ridiculousfish
f5442bdd4a
Fixed cd autosuggestion for absolute paths
...
Removed some unnecessary path cleanup that is_potential_path now handles
2012-05-13 20:49:14 -07:00
ridiculousfish
129525af21
Fix for https://github.com/ridiculousfish/fishfish/issues/3
...
cd's special autosuggestion was broken, now fixed. Also, there's some tests for it now.
2012-05-13 20:19:02 -07:00
ridiculousfish
c15975113a
Fix for https://github.com/ridiculousfish/fishfish/issues/2
2012-05-11 18:59:38 -07:00
ridiculousfish
2d3d6e1c17
Added PackageMaker file
...
Updated make_pkg.sh to use it
2012-05-11 17:26:08 -07:00
ridiculousfish
b0f4ff2879
Added build_tools folder so we can automate release builds
2012-05-10 02:11:28 -07:00
ridiculousfish
070b10689c
Added .gitattributes to ignore new build_tools directory from archival
2012-05-10 02:10:39 -07:00
ridiculousfish
39863ce4d7
Fix for longstanding bug where set -e would fail to erase elements from an array.
...
This was introduced in 7b3377e78c
2012-05-10 01:04:18 -07:00
ridiculousfish
7cae1ae415
Make key_reader build and work
2012-05-09 03:30:09 -07:00
ridiculousfish
eca2100312
Cleanup SHLVL variable
2012-05-09 03:23:31 -07:00
ridiculousfish
175249b455
Adopt wcstring in env_set
2012-05-09 03:06:10 -07:00
ridiculousfish
294fbc8309
Replaced some calls to unescape with unescape_string
2012-05-09 02:55:36 -07:00
ridiculousfish
9bcc7df96f
Lots of modernization changed
...
Removed wcsdupcat
2012-05-09 02:33:42 -07:00
ridiculousfish
4bd63020ca
Fix to add a little explanatory text to colors in the web config interface
2012-05-08 17:10:38 -07:00
ridiculousfish
4885842ae8
Fix to do really nice syntax highlighting of cd command where it colors paths that cannot match any directory with error color
2012-05-07 17:52:02 -07:00
ridiculousfish
4df6b599b8
Eliminate the silly autosuggest_parsed_command_t class; make it just a function
2012-05-07 17:43:05 -07:00
ridiculousfish
0c79bb6e7c
Factor is_potential_path to properly handle CDPATH
...
This will let us color cd commands better
2012-05-07 17:31:24 -07:00
ridiculousfish
1a264ab7c2
Made tests compile again
...
Renamed autosuggest_handle_special to autosuggest_special_validate_from_history
Began work to factor autosuggest_special_validate_from_history together with autosuggest_suggest_special
2012-05-07 12:55:13 -07:00
ridiculousfish
99b51ce6ea
Fix to better support CDPATH
2012-05-06 14:53:19 -07:00
ridiculousfish
e0baab2722
Another effort to make the cd completion work without running command substitutions off of the main thread
2012-05-06 13:51:11 -07:00
ridiculousfish
71a8d39372
Fix to restore completions that use command substitution (like cd)
...
Fix to adopt the same escaping code for both completions and autosuggestions
2012-05-06 13:36:51 -07:00
ridiculousfish
90826e4031
Oops, had the wrong sense for when to call proc_push_interactive
2012-05-05 14:39:08 -07:00
ridiculousfish
0e4f2cca01
Fix to stop setting a default CDPATH
2012-05-05 14:34:59 -07:00
ridiculousfish
ac3dce38f0
Better fix to make cd completions work again
2012-05-05 14:33:24 -07:00
ridiculousfish
3be07cc645
Fix to start re-respecting CDPATH
2012-05-05 14:30:20 -07:00
ridiculousfish
07f5319472
Fix for failing to properly complete cd command
2012-05-05 14:21:21 -07:00
ridiculousfish
47019e315a
Some work towards refactoring how completions are inserted to support escaping in autosuggestions
2012-05-05 13:34:09 -07:00
ridiculousfish
fe7fa46d57
Make dirh, nextd, prevd work on OS X
2012-05-04 18:53:38 -07:00
ridiculousfish
007c5bc9f0
Workaround difference between BSD and GNU seq in dirh
...
dirh still doesn't make any sense
2012-05-04 18:37:24 -07:00
ridiculousfish
8c423b56df
Define a virtual destructor for lru.h
2012-05-04 18:37:12 -07:00
ridiculousfish
a868abb55a
Minor cleanup of proc.cpp
2012-04-25 13:38:40 -07:00
ridiculousfish
ecab34c787
Make gettext function use echo instead of printf to save a fork
2012-04-25 13:37:41 -07:00
ridiculousfish
307ea6dce2
Removed extra newline from Goodbye output
2012-04-25 13:37:01 -07:00
ridiculousfish
d456b4f68e
Removed useless deroff.py import from bash settings
2012-04-25 13:36:21 -07:00
ridiculousfish
17e815348b
Fix to drain command output from quit commands before returning from job_continue
...
This should fix the bug where output from commands and builtins gets incorrectly interleaved.
I think this is a very long-standing bug that predates my work on the shell
2012-04-25 13:26:56 -07:00
ridiculousfish
953ab4b3cf
Clean up __fish_config_interactive a little bit
2012-04-24 11:12:04 -07:00
ridiculousfish
9204780c1b
Fix for a missing lock in complete_remove
2012-04-24 11:01:04 -07:00
ridiculousfish
fb2ed355ec
Improve fork reporting
...
Save a couple of forks during init
2012-04-24 10:10:43 -07:00
ridiculousfish
675106cfa5
Include algorithm header so we can build on Linux
2012-04-23 19:29:44 -07:00
ridiculousfish
3aeadd9fb7
Fix for a deadlock when env_get_string ends up calling env_get_string
2012-04-23 11:08:29 -07:00
ridiculousfish
0e3eb38f11
Improved fork reporting
...
Made autosuggestion work properly for tilde expansion
2012-04-21 20:08:44 -07:00
Siteshwar Vashisht
dc23af6b32
Fixed setting PATH variable in import_bash_settings.py
2012-04-22 00:18:40 +05:30
ridiculousfish
b1bfa71338
Merge branch 'master' into CPlusPlus
...
Conflicts:
builtin_commandline.cpp
util.c
2012-04-18 13:41:39 -07:00
ridiculousfish
71bff26607
Merge remote-tracking branch 'upstream/master'
2012-04-18 13:21:03 -07:00
ridiculousfish
3c190374b4
Wrote tests for history merging, then made them pass.
2012-04-16 20:26:50 -07:00
ridiculousfish
d8428463d8
Fix to better handle merging histories between separate sessions
2012-04-15 22:49:27 -07:00
ridiculousfish
725982cc5b
Fix to try to remove Python 2.7 dependency
2012-04-15 19:45:44 -07:00
ridiculousfish
f977dfcfe7
Deroffer optimizations
2012-04-15 19:22:30 -07:00
ridiculousfish
15079fa3bd
Some more deroff optimizations
2012-04-15 04:41:20 -07:00
ridiculousfish
79a92120ef
Speed improvements to deroffer
2012-04-15 01:15:10 -07:00
ridiculousfish
a34565ca0f
Make screen.cpp properly compute the length of term256 escape codes
2012-04-13 14:40:16 -07:00
ridiculousfish
49ece586d5
Added a fish_update_completions function to run the manpage completion file
...
Added some pretty progress reporting to that script
Added some comments to deroff.py
2012-04-11 19:05:43 -07:00
ridiculousfish
2ec0778d78
Make create_manpage_completions output to ~/.config/fish/completions by default, and also discover man pages from reading the manpath
2012-04-11 18:26:26 -07:00
ridiculousfish
cccd1cefbe
Make the web config page have a title and pass W3C validation
2012-04-11 18:26:10 -07:00
ridiculousfish
8f145fa7fa
Fix for complete.cpp to print out completions in-order
2012-04-11 18:25:37 -07:00
ridiculousfish
ceb32f63e7
Deroffing completion work
2012-04-09 20:17:54 -07:00
ridiculousfish
576c12b184
Deroffer work
2012-04-09 20:17:54 -07:00
ridiculousfish
e2c3ca9950
Move completions from linked list to std::set
2012-04-09 20:17:06 -07:00
ridiculousfish
8585e0e9b8
Various improvements on completion tool
2012-04-04 12:43:12 -07:00
ridiculousfish
7394374a15
Work on improving the output of the manpage completion script
2012-04-03 18:38:25 -07:00
ridiculousfish
37defa739b
Fix for an extra line at the end of the variable listing
...
Once again, fix the issue where some color cells aren't clickable
2012-04-01 01:31:38 -07:00
ridiculousfish
51ed3fbc4b
More work to try to make webconfig's layout correct under firefox
2012-04-01 00:53:53 -07:00
ridiculousfish
ab78075d06
Default all xterms into term256
2012-04-01 00:53:47 -07:00
ridiculousfish
52070ea577
Fix to properly update colors for non-native term256 support
2012-03-31 17:24:11 -07:00
ridiculousfish
f930303d3e
Fix for an issue where you can't select the top row of colors
2012-03-31 15:38:30 -07:00
ridiculousfish
268fb37517
Cleanup proc_had_barrier
...
Ensure we don't try to do a universal barrier off of the main thread
2012-03-31 15:33:34 -07:00
ridiculousfish
ff17101316
A little better support for non-term-256 colors in web config
...
Fix for a deadlock when autoloading a function triggers autoloading another function
2012-03-31 15:17:14 -07:00
ridiculousfish
ab536e5199
Fix for incorrectly highlighted parameters
2012-03-31 14:05:14 -07:00
ridiculousfish
c10b3017d6
Improve autosuggesting of cd command
2012-03-30 11:16:24 -07:00
ridiculousfish
0f63e1f988
Some work towards improving manpage completions
2012-03-30 10:00:01 -07:00
ridiculousfish
3bb537c183
Fix for failing to highlight last quote (or quoted string contents)
2012-03-30 09:58:25 -07:00
ridiculousfish
ff23bf6f0c
Fix for bug where fish would not autosuggest certain executables
2012-03-27 19:22:33 -07:00
ridiculousfish
00d3e18780
Fix compile error (oops)
2012-03-27 19:10:21 -07:00
ridiculousfish
a62f300753
Make the color picker cell borders appear correctly in Firefox
2012-03-27 19:00:03 -07:00
ridiculousfish
0bc644abf0
Fix lots of bugs related to the static analyzer
...
Improved how screen.cpp interacts with output_set_writer()
2012-03-26 01:21:10 -07:00
ridiculousfish
31b7d076b7
Remove some dead variables.
...
Fix screwy output for invalid tilde expansion in expand.cpp
Some cleanup per clang static analyzer
2012-03-25 23:31:03 -07:00
ridiculousfish
a11687fc5c
Make the functions builtin have a bit nicer output
...
Stop autosuggesting things with newlines
Make webconfig a little nicer
2012-03-25 22:41:22 -07:00
ridiculousfish
fa346cec3b
Moved some Python scripts into new share/tools/ directory.
...
Added fish_config function to launch web config
2012-03-25 18:38:33 -07:00
ridiculousfish
0bdf7a598a
More work on web_config
2012-03-25 16:00:17 -07:00
ridiculousfish
0c9a1a56c2
Lots of work on web config
...
Change to make fish immediately show color changes
2012-03-25 16:00:17 -07:00
ridiculousfish
c0655b6b08
Web config
2012-03-25 16:00:17 -07:00
Siteshwar Vashisht
dca9b83ec0
Enclose descriptions inside double quotes, and escape any enclosed double quotes.
2012-03-23 21:34:52 +05:30
Siteshwar Vashisht
7ded90ae6a
Add trimmed descriptions with complete command while parsing man pages.
2012-03-22 23:41:36 +05:30
Peter Ammon
a6ab66080e
Additional tweak to color order
2012-03-20 11:33:44 -07:00
Siteshwar Vashisht
89e1cad470
Append $argv only to the last command in an alias.
2012-03-20 22:07:34 +05:30
Peter Ammon
e55bc92d1f
Tweak the color order
2012-03-20 03:05:00 -07:00
Peter Ammon
d6a59b538f
Work on web config color ordering
2012-03-20 03:01:00 -07:00
ridiculousfish
1a87f44325
Re-implement $history variable
...
Added -L option to set to mean "don't abbreviate"
2012-03-19 11:52:18 -07:00
ridiculousfish
c8bc535f22
Big improvement to web config history speed
...
Nice dashed table seprators
2012-03-19 11:51:44 -07:00
Peter Ammon
1889db3263
web_config work
2012-03-19 00:03:38 -07:00
Siteshwar Vashisht
73b88f2304
Added method to find a character outside quotes in a string.
2012-03-18 15:14:34 +05:30
Siteshwar Vashisht
21b8e5a5c6
Some additions to make scripted aliases work
2012-03-18 15:00:27 +05:30
ridiculousfish
b1ff14162f
More work on web config
2012-03-16 17:21:37 -07:00
Peter Ammon
c6c55823ac
More work on web config
2012-03-16 03:05:51 -07:00
ridiculousfish
8b8a970098
Made builtin_test handle parenthesis
2012-03-15 20:40:57 -07:00
Siteshwar Vashisht
ebfcee6e67
Fixed a crash on inputs like ls x>| less, where x doesn't exist in current directory.
2012-03-16 00:34:09 +05:30
Peter Ammon
63b330439e
Initial work towards web config UI
2012-03-15 03:43:45 -07:00
ridiculousfish
52d8fb301c
Added term256 support to set_color tool
2012-03-13 14:23:10 -07:00
Siteshwar Vashisht
dfe159e719
Fixed a crash on Linux caused while inserting \ in quotes.
2012-03-13 05:39:17 +05:30
Siteshwar Vashisht
4e7e45a431
Adding scripts to import aliases, environment variables and prompt from bash.
2012-03-11 22:46:58 +05:30
ridiculousfish
d81bd296fc
Tweak rgb_color_t back down to 4 bytes
2012-03-10 16:15:56 -08:00
ridiculousfish
6d3f257439
Shortened the "no matches found" error message
2012-03-10 13:44:35 -08:00
ridiculousfish
f92b24221a
Made pwd a builtin
...
Fixed a thread error when autosuggesting with a command substitution
2012-03-09 20:16:26 -08:00
ridiculousfish
afd78f3f0b
Allow g_log_forks to be set by fish_log_forks env var
2012-03-09 11:56:33 -08:00
ridiculousfish
44f3f51e0d
Attempt to not fork just to output the result of simple builtins. I'm unsure of why this was necessary, if it ever was.
2012-03-09 11:49:29 -08:00
ridiculousfish
14a35e7c21
Flip the switch to stop draining threads before exec (!)
2012-03-09 11:28:24 -08:00
ridiculousfish
d173bb6e0a
A bunch of changes working towards eliminating all memory allocation after fork()
2012-03-08 23:21:07 -08:00
ridiculousfish
ce859c9e92
Added some missing calls to setup_fork_guards() in utilities.
...
Made echo a builtin
2012-03-07 11:35:22 -08:00
ridiculousfish
8ed20f3c28
Removed pwd.fish, which made the home directory print out with ~ (annoying)
2012-03-07 10:53:08 -08:00
ridiculousfish
0ced7d8e56
Improve error reporting for builtin_test
2012-03-07 01:16:50 -08:00
ridiculousfish
143ead8d00
Fix builtin_test to properly handle last expression in a combining expression
2012-03-07 01:13:24 -08:00
ridiculousfish
6788c2710f
Improved error reporting for builtin_test
2012-03-07 01:02:46 -08:00
ridiculousfish
ed7c10f366
Implemented test as a builtin (!)
2012-03-07 00:54:01 -08:00
ridiculousfish
68b93c624f
Move special handling of DISPLAY environment variable from etc/config.fish to fish itself to reduce number of fork calls made at launch
2012-03-06 15:52:16 -08:00
ridiculousfish
36fe1e4a46
Some initial work towards cutting down the number of fork calls we do
2012-03-06 15:12:37 -08:00
ridiculousfish
9ee4e4e05c
Tweak fork guards to use getpid() instead of pthread_atfork
2012-03-06 14:34:18 -08:00
ridiculousfish
ea65a0c519
Updated a comment
2012-03-06 14:32:00 -08:00
ridiculousfish
f35d2629d4
Notice when fish_term256 changes and react to it
2012-03-05 14:18:16 -08:00
ridiculousfish
0e5578204e
Additional work towards "forcing" term256 mode on supported terms
2012-03-05 13:39:01 -08:00
ridiculousfish
063a465227
Begin to rework term256 support
2012-03-05 10:44:08 -08:00
ridiculousfish
230fb921ec
We had identical format_val and to_string; standardize on to_string
2012-03-05 10:18:42 -08:00
ridiculousfish
82a93d8406
Fix for completions only printing one item
2012-03-05 10:03:26 -08:00
ridiculousfish
2dda8634e9
Fix to stop autosuggesting on whitespace
2012-03-05 09:34:54 -08:00
Siteshwar Vashisht
2f313b799a
Made fish_tests.cpp compile on Linux.
2012-03-05 21:57:31 +05:30
ridiculousfish
d371256913
Fix for crash on "less test <tab>"
2012-03-04 18:11:21 -08:00
Siteshwar Vashisht
a7ec93b287
Fixed compilation on Linux.
2012-03-04 16:57:41 +05:30
ridiculousfish
2c5001a5b3
Removed buffer_t
2012-03-04 02:45:51 -08:00
ridiculousfish
191221eec5
Final cleanup of io_data_t now that I recognize the bizarre way in which it shares output buffers (not sure how this ever worked before)
2012-03-04 02:35:30 -08:00
ridiculousfish
27f374a38b
Some initial work on removing buffer_t from io_data_t
2012-03-03 23:56:35 -08:00
ridiculousfish
baa813c46f
Fix for history being saved too often
2012-03-03 23:10:15 -08:00
ridiculousfish
79a22b1f8d
Replace some string_buffer_t
2012-03-03 23:01:42 -08:00
ridiculousfish
087940ec9e
Fix a bug where wfopen would always fail
...
Removed some buffer_t
2012-03-03 22:48:21 -08:00
ridiculousfish
8a46931e34
Remove string_buffer_t (!)
2012-03-03 22:08:34 -08:00
ridiculousfish
a9313fc0c3
Cleanup reader.cpp's usage of string_buffer, remove some other unused data structures
2012-03-03 21:59:45 -08:00
ridiculousfish
dfba35aee8
Clean up the kill ring
2012-03-03 21:46:06 -08:00
ridiculousfish
5ae77b4317
For for crash when typing backslash c
2012-03-03 20:38:16 -08:00
ridiculousfish
a0bb2cdc6e
removed some string_buffer
2012-03-03 19:37:55 -08:00
ridiculousfish
0a5680c3e8
Rewrite vformat_string to not use string_buffer
2012-03-03 19:12:06 -08:00
ridiculousfish
00764406d7
Fix to preserve errno across certain calls to stop printing EOVERFLOW messages in weird places
2012-03-03 15:28:16 -08:00
ridiculousfish
3ead99b088
Put fish on a diet. Tracked down the biggest memory hogs and fixed them. Total allocations down by a factor of 3 or so, live allocations a few KB.
2012-03-03 15:22:03 -08:00
Siteshwar Vashisht
8c0803e3c5
Setting cdpath to current directory in path.cpp.
2012-03-04 01:28:09 +05:30
ridiculousfish
2da8df6202
Rearrange wopen and stat to avoid a race and hopefully improve performance a little bit.
2012-03-02 11:12:08 -08:00
ridiculousfish
17a75a5aa5
Change to detect and use O_CLOEXEC
2012-03-02 09:58:29 -08:00
Peter Ammon
8b26d0104c
Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly.
2012-03-02 00:27:40 -08:00
ridiculousfish
36622c3578
Fix to properly handle case insensitive autosuggestions
2012-03-01 17:31:45 -08:00
ridiculousfish
fd4df6f9bb
Changed iterators from iter++ to ++iter
...
Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
2012-03-01 14:56:34 -08:00
ridiculousfish
5d18d60e3b
Squash some leaks
2012-02-29 18:09:20 -08:00
ridiculousfish
e4d98597c7
Added some fork tests, fixed some bugs it found
2012-02-29 17:55:50 -08:00
ridiculousfish
72da14e414
Fix a leak
2012-02-29 17:55:28 -08:00
ridiculousfish
8ada404c5f
More work towards improving relationship between multithreading and fork
2012-02-29 16:14:51 -08:00
ridiculousfish
ebba30d671
Fix a "class <-> struct" warning with clang++
2012-02-29 16:14:51 -08:00
ridiculousfish
909d24cde6
More work on improving interaction between fork and pthreads. Added null_terminated_array_t class.
2012-02-29 16:14:51 -08:00
ridiculousfish
4e912ef83d
Added postfork
2012-02-29 16:14:51 -08:00
ridiculousfish
b17dfff3fd
Fix for out-of-bounds write in highlight_param
2012-02-29 16:14:03 -08:00
ridiculousfish
52dc415d0b
Fix to add a generation count to threaded operations so they abort early
2012-02-28 12:40:59 -08:00
Siteshwar Vashisht
392232246e
Fixed compilation on Linux with some minor changes.
2012-02-28 21:20:09 +05:30
ridiculousfish
cf54ad8242
Change to wait for all outstanding iothreads before calling fork(). This should prevent a whole host of threading/fork interactions, but may also compromise performance...we'll see.
2012-02-27 19:46:15 -08:00
ridiculousfish
fdfa5c0602
Some initial work towards resolving nasty fork/pthread issues, and to having a per-parser job list
2012-02-27 18:43:24 -08:00
ridiculousfish
50ee5d28cd
Fix to finally turn on multithreaded completions for autosuggestion
2012-02-27 15:33:46 -08:00
ridiculousfish
f74a82776f
Some more changes in preparation for turning on complete-based autosuggestions
2012-02-26 20:11:34 -08:00
ridiculousfish
3553e65089
Add some more locking and const correctness to completion_entry_t in preparation for supporting better multithreading
2012-02-26 14:32:06 -08:00
ridiculousfish
ad7c5886bc
Fix a crash in complete -C
2012-02-26 13:46:21 -08:00
ridiculousfish
b30090f946
Some cleanup of completions in preparation for more multithreading
2012-02-26 13:27:31 -08:00
ridiculousfish
8f637975a4
Temporarily disable background completions
2012-02-26 12:16:22 -08:00
ridiculousfish
94a764d6ea
Fix for error messages when loading completions
2012-02-26 01:15:53 -08:00
ridiculousfish
38e40862fe
More work towards autosuggesting completions
2012-02-25 18:54:49 -08:00
ridiculousfish
5ea78f55f2
Some more work on threaded completions
2012-02-24 18:43:10 -08:00
ridiculousfish
a515db4aea
Some work to allow completions to be evaluated off of the main thread
2012-02-24 12:19:31 -08:00
ridiculousfish
90e979d0d9
Added some const correctness
2012-02-24 09:33:30 -08:00
Siteshwar Vashisht
8232857d07
Modified env_get_string() to accept wcstring instead of wchar_t*.
2012-02-24 00:58:01 +05:30
ridiculousfish
2ae56564ef
Changes to block signals for a smaller time interval during saving
2012-02-23 10:49:30 -08:00
ridiculousfish
f24a0170be
Fix for failing to unescape history properly, resulting in a backslash explosion
2012-02-23 10:29:42 -08:00
Siteshwar Vashisht
fd56465931
Fixed initialization of va_list variable in debug() in common.cpp, and mismatched new/free() in io.cpp
2012-02-23 23:10:51 +05:30
ridiculousfish
376e199ebb
Removed a lot of string_buffer_t
2012-02-22 12:00:02 -08:00
ridiculousfish
a837a27b34
Replace some string_buffer_t with wcstring
2012-02-22 11:07:34 -08:00
ridiculousfish
62bd43f17f
Large set of changes to migrate sb_out and sb_err to wcstring
2012-02-22 10:51:06 -08:00
ridiculousfish
917b4ff8bc
Fix for crash on redirections
2012-02-21 19:39:29 -08:00
ridiculousfish
5fe7c065dc
Squash a bunch of leaks
2012-02-21 19:33:11 -08:00
ridiculousfish
e074ad4807
Removed a leaking wcsdup
2012-02-21 18:18:10 -08:00
ridiculousfish
5f3fe4acff
Removed an optimization obviated by our use of wcstring from env.cpp
2012-02-21 18:12:51 -08:00
ridiculousfish
4ccc197451
Fix to change highlighting functions to take wcstring& instead of const wchar_t *
2012-02-21 17:55:56 -08:00
ridiculousfish
237cf19a77
Switch to using std::vector instead of int* for colors in highlight.cpp, for better range bounds checking
2012-02-21 11:45:13 -08:00
ridiculousfish
2206e221bd
Removed array_list_t (!)
2012-02-21 10:47:21 -08:00
ridiculousfish
d9bb9b73ad
Change to allow building without doxygen
2012-02-20 16:18:10 -08:00
ridiculousfish
d5c382bb1a
Piling on more code to make autosuggestion try to guess directories even when they're not in the history
2012-02-20 02:13:31 -08:00
Peter Ammon
52daf6cf41
Fix to allow color.cpp to use fallback wcscasecmp
2012-02-19 11:07:02 -08:00
Siteshwar Vashisht
74a7303c23
Modified functions in function.h/.cpp to use wcstring instead wchar_t*, other files also modified to use wcstring.
2012-02-19 22:55:15 +05:30
ridiculousfish
d8a9991738
Fix to avoid calling signal_block off of hte main thread
2012-02-18 23:26:39 -08:00
ridiculousfish
ca1c8243c8
Fix to prevent autosuggesting cd'ing to the current working directory
2012-02-18 21:56:30 -08:00
ridiculousfish
14b3a5be56
Changes to make autosuggestion even smarter by specially recognizing the cd command.
2012-02-18 18:54:36 -08:00
ridiculousfish
ed89df7e9d
Some minor cleanup of reader.cpp in preparation to unify highlighting with autosuggestion
2012-02-18 18:51:11 -08:00
ridiculousfish
1bedc16544
Enhanced directory detection in a way we don't actually need yet
2012-02-18 18:51:11 -08:00
ridiculousfish
ac0b97a571
Squash some warnings
2012-02-18 18:49:55 -08:00
Siteshwar Vashisht
7b3d670e23
Removing some unnecessary calls to c_str(), and added str2wcstring(std::string) in common.cpp.
2012-02-18 23:28:54 +05:30
Siteshwar Vashisht
c9f4e91df8
Modified most functions in wutil.h/.cpp to use wcstring instead of wchar_t*, removing calls to c_str() while calling these functions in other files.
2012-02-18 22:41:22 +05:30
Siteshwar Vashisht
c0ed169fdc
Getting rid of hash_table_t and it's helper functions completely. Bye bye hash_table_t !
2012-02-18 21:21:10 +05:30
Siteshwar Vashisht
412894bfc8
Removed tests for hash_table_t from fish_tests.cpp
2012-02-18 21:04:09 +05:30
Siteshwar Vashisht
aad6e5648b
Fix for properly removing universal variable.
2012-02-18 14:42:02 +05:30
ridiculousfish
8f1423946f
Fix a crash when using quotes due to wgettext thread safety issues.
2012-02-17 15:55:54 -08:00
ridiculousfish
51da4856e2
Squash a leak in LRU caches
2012-02-17 14:54:58 -08:00
ridiculousfish
3b56c58f00
Fix for crash in env.cpp where a deleted entry was not removed from the map
2012-02-17 12:23:30 -08:00
ridiculousfish
4fd2531302
Fix to properly null-terminate export list
2012-02-17 11:42:53 -08:00
ridiculousfish
fdef238a83
Fix to stop spamming console with event messages (oops)
2012-02-17 11:40:26 -08:00
ridiculousfish
9787901ddb
Fix for removing too many event handlers (that's why "Goodbye" never got printed")
2012-02-17 11:37:25 -08:00
Siteshwar Vashisht
6e58c9f7c8
Switched to std::map instead of hash_table_t in env.cpp and env_universal_common.cpp.
2012-02-18 00:25:29 +05:30
ridiculousfish
a08450bcb6
Changes to make autosuggestion smarter about not suggesting commands that could never succeed.
2012-02-16 00:24:27 -08:00
ridiculousfish
a92d9d442b
Initial work towards making autosuggestion smarter by recognizing paths
2012-02-15 11:33:41 -08:00
ridiculousfish
e2ff77b4ec
Clean up make_path and some memory allocations
2012-02-13 22:44:29 -08:00
ridiculousfish
caf7a93382
Fix for busted completions (tab completion of directories was failing)
2012-02-13 22:37:09 -08:00
ridiculousfish
afcda2f724
Fix a leak
2012-02-13 19:39:20 -08:00
ridiculousfish
fcea723aa7
Fixed parenthesis causing a crash or bizarre layout.
2012-02-13 17:15:41 -08:00
ridiculousfish
faf80588ab
Fix for busted directory check
2012-02-13 16:38:35 -08:00
ridiculousfish
fc589611e2
Attempt to make fish_pager.cpp compile on Linux
2012-02-13 14:25:07 -08:00
ridiculousfish
5ecd350311
Another attempt to make mimedb.cpp compile on Linux
2012-02-13 14:22:07 -08:00
ridiculousfish
4b6c6c59b5
Squash warnings in mimedb, hopefully get it compiling on Linux
2012-02-13 12:14:26 -08:00
ridiculousfish
0f8ffa6226
For for crash printing backtrace for command "eval cd sldkfjsdlfk"
2012-02-13 11:55:02 -08:00
ridiculousfish
6def61dfe9
A bit more debugging to parser class to try to track down a crash
2012-02-13 11:42:58 -08:00
ridiculousfish
b39bebee06
Fix for problem where we'd never use a cached placeholder function. Also upped the staleness interval from its testing value of 1 to 15 seconds.
2012-02-13 10:28:04 -08:00
ridiculousfish
dce189fc6d
Support for setting both RGB and named colors on the same line, so the same config can work for multiple term types
2012-02-13 09:52:17 -08:00
ridiculousfish
0a4c72e78b
Added color.h, color.cpp. Got term256 colors working.
2012-02-12 18:05:59 -08:00
ridiculousfish
d66700a0e4
Color work
2012-02-11 17:07:56 -08:00
ridiculousfish
b59a22bef0
Colors
2012-02-10 17:57:20 -08:00
ridiculousfish
9b1930588f
Migrate errors from array_list_t to wcstring_list_t
2012-02-10 17:54:38 -08:00
Siteshwar Vashisht
18bb64cd43
Fixed compilation with recent changes on Linux.
2012-02-10 21:25:06 +05:30
ridiculousfish
d975187433
Removed some al_list functions
2012-02-10 01:37:30 -08:00
ridiculousfish
910863e9ea
Final removal of halloc. It's like Christmas Morning.
2012-02-09 19:26:44 -08:00
ridiculousfish
a38490429b
Removed a halloc_register_function_void
2012-02-09 19:00:05 -08:00
ridiculousfish
80e8f6a0d1
Removed halloc_wcsdup
2012-02-09 18:59:15 -08:00
ridiculousfish
e5ff5f7484
Some hopefully good changes to get IOs off of halloc
2012-02-09 18:43:36 -08:00
ridiculousfish
646240fc54
Changed the Makefile to no longer fail if man pages are missing, etc.
2012-02-09 16:36:35 -08:00
ridiculousfish
19cd7a248d
Cleanup of wildcard.cpp, removing ad-hoc hash table and halloc
2012-02-09 16:06:24 -08:00
ridiculousfish
f1b1d1ca75
Get rid of some string buffer
2012-02-09 10:14:06 -08:00
ridiculousfish
e5bba2294d
Removed some more halloc
2012-02-09 02:01:49 -08:00
ridiculousfish
19cfd9b5d6
Fix for pager regression
2012-02-09 01:54:46 -08:00
ridiculousfish
7e1b15a0cc
More changes to fish pager to fix regressions. It didn't actually work.
2012-02-09 01:39:08 -08:00
ridiculousfish
19858c574d
Removed halloc and al_list from fish_pager. paging still seems to work
2012-02-09 01:02:12 -08:00
ridiculousfish
f891ea5713
Fixed named_arguments to be wcstring_list_t instead of al_list
2012-02-08 23:53:23 -08:00
ridiculousfish
d3311c81e5
REmoved al_list from exec.cpp
2012-02-08 22:56:42 -08:00
ridiculousfish
b6bc4381fb
Get event_t off of halloc (!)
2012-02-08 19:02:25 -08:00
ridiculousfish
b3d0561c09
Cleanup event_get_desc
2012-02-08 16:20:48 -08:00
ridiculousfish
1bbe901bcd
Eliminated halloc usage from complete.cpp
2012-02-08 16:15:53 -08:00
ridiculousfish
4f8b4379f5
Cleanup of completion_entry in complete.cpp
2012-02-08 14:48:22 -08:00
Siteshwar Vashisht
bc8a288386
Got rid of multiple cd paths, only current directory will be searched while changing directories, implicit cd (entering directory just by typing it's name) is removed.
2012-02-09 01:18:51 +05:30
ridiculousfish
3dc56de0ae
Excised some more halloc and array_list_t
2012-02-08 02:34:31 -08:00
ridiculousfish
b2e5809180
Removed halloc from highlight.cpp
2012-02-08 02:13:39 -08:00
ridiculousfish
7e52523541
Migrate mimedb off of al_init
2012-02-08 01:55:35 -08:00
ridiculousfish
8bc83c5967
Removed al_list from mimedb.cpp
2012-02-08 01:22:08 -08:00
ridiculousfish
029c8c06c2
Remove old env_get_names implementation
2012-02-08 00:59:46 -08:00
ridiculousfish
063fc0c48b
Cleanup al_list from builtin_complete.cpp
2012-02-08 00:45:07 -08:00
ridiculousfish
191eeab589
Cleanup expand_escape_variable
2012-02-08 00:15:06 -08:00
ridiculousfish
3f8621e566
CLeanup the io_stack in builtin.cpp, other changes to migrate away from al_list
2012-02-07 23:53:34 -08:00
ridiculousfish
5f686ebb47
Clean up exec_subshell, removing al_list from it
2012-02-07 23:35:41 -08:00
ridiculousfish
6a31457c6d
Really excise halloc from input.cpp
2012-02-07 23:17:20 -08:00
ridiculousfish
e6f7912a25
Removed halloc from input.cpp
2012-02-07 23:15:32 -08:00
ridiculousfish
8a2737566c
Excised some more halloc
2012-02-07 22:44:10 -08:00
ridiculousfish
006523ac59
Replaced void*data with auto_ptr<function_data_t>, eliminating antoher halloc.
2012-02-07 22:10:35 -08:00
ridiculousfish
c0e783eb6e
Excised some halloc
2012-02-07 21:23:12 -08:00
ridiculousfish
399c78fbf7
Fix event_block_t list from ad-hoc linked list to std::dequeue
2012-02-07 21:04:51 -08:00
ridiculousfish
a0a43046b3
Removed discriminated union from block_t type, allowing us to store wcstrings in it
2012-02-07 17:36:54 -08:00
Siteshwar Vashisht
e8af86017a
Fixed a bug caused while highlighting double quoted strings. For e.g. ls "abc" shows up as invalid write for color of closing quote in valgrind.
2012-02-07 21:37:53 +05:30
ridiculousfish
382ffe9b6a
Added autosuggestion color variable fish_color_autosuggestion
...
Fixed that nasty bug where fish would apply a color to both the foreground and background (yuck)
2012-02-06 20:14:19 -08:00
ridiculousfish
e5b34d5cd5
Suppress autosuggesting during backspacing like browsers do
2012-02-06 19:31:06 -08:00
ridiculousfish
0dba7b3313
Use right arrow to accept autosuggestions
2012-02-06 11:59:34 -08:00
ridiculousfish
27f2859258
Make history searching skip the autosuggestion
2012-02-06 11:52:24 -08:00
ridiculousfish
eeed45da0f
Fix some bugs related to not updating our buffer size as our command line changes
2012-02-06 11:34:49 -08:00
ridiculousfish
067dff8489
Initial stab at autosuggestions
2012-02-06 10:52:13 -08:00
ridiculousfish
7d3151191d
Removed builtin_scripts.h and builtin_scripts.cpp from Xcode project because they're annoying in searches
2012-02-06 10:47:55 -08:00
ridiculousfish
98fa1325f5
insert_str -> insert_string
2012-02-06 02:20:50 -08:00
ridiculousfish
bd45b79ed8
Removed buff_len field. One fewer field, hooray.
2012-02-06 01:53:03 -08:00
ridiculousfish
0a616a9dbb
Large set of changes to migrate reader_data_t's buffer to std::wstring
2012-02-06 01:45:16 -08:00
ridiculousfish
a534c397f5
Const correctness changes
2012-02-06 00:57:43 -08:00
ridiculousfish
737589ec01
Removed lru.cpp (double oops)
2012-02-06 00:53:08 -08:00
ridiculousfish
a7f8ee90c0
Added LRU.cpp (oops)
2012-02-06 00:52:22 -08:00
ridiculousfish
b14683200a
Change the history so that when you go forwards, it no longer highlights
2012-02-05 23:22:18 -08:00
ridiculousfish
c82410bfda
Fixed history tests
2012-02-05 22:48:43 -08:00
ridiculousfish
00ad837eb4
Final cleanup of history
2012-02-05 22:30:42 -08:00
ridiculousfish
9ab54030b9
Moved LRU to its own file
2012-02-05 20:54:41 -08:00
ridiculousfish
5ad6849d4e
Work on new history implementation
2012-02-05 16:42:24 -08:00
ridiculousfish
7fcf25a78f
Removed the "don't highlight with stale data" code, that caused "flashing" as we typed
2012-02-03 20:06:48 -08:00
ridiculousfish
5c205c43d1
Fix to highlight search results range matching again
2012-02-03 20:05:50 -08:00
ridiculousfish
f20f49d872
Migrate search_buff to wcstring
2012-02-03 20:01:01 -08:00
ridiculousfish
fb63c3908c
Minor cleanup of background_highlight_context_t
2012-02-03 18:39:41 -08:00
ridiculousfish
623eb42a6a
CLean up current_filename, make it a std::stack
2012-02-02 15:05:08 -08:00
ridiculousfish
6afc06b97e
Migrate some al_list to std::vector
2012-02-02 14:27:13 -08:00
ridiculousfish
cdd5b1ed26
Fixed a crash doing completion of commands
2012-02-02 14:11:20 -08:00
ridiculousfish
884b4026dd
Cleanup complete_cmd_desc
2012-02-02 12:04:04 -08:00
ridiculousfish
62f49c55ce
Clean up uses of completion_t
2012-02-01 16:27:14 -08:00
ridiculousfish
0b4b6c498d
Migrated off of old variant of expand_one that used halloc
2012-01-31 21:30:09 -08:00
ridiculousfish
409f70c7f3
Remove some old functions from expand.cpp that now have modern replacements
2012-01-31 21:09:11 -08:00
ridiculousfish
bb19fe703a
Fixup wsetlocale to use wcstring
2012-01-31 21:06:52 -08:00
ridiculousfish
eef1e3e77e
More cleanup of static string buffers in favor of wcstring
2012-01-31 20:22:25 -08:00
ridiculousfish
562ba1291e
Stop using placement new like a weirdo
2012-01-31 20:03:48 -08:00
ridiculousfish
3adf6d25f6
Cleanup of builtins. No more hashes.
2012-01-31 19:47:56 -08:00
ridiculousfish
beece6a828
Clean up how argv is stored in process_t
2012-01-31 18:06:20 -08:00
ridiculousfish
207ab2aa5b
Squashed all known remaining leaks!
2012-01-31 17:06:47 -08:00
ridiculousfish
4ccc2550d0
Squash a bunch of warnings
2012-01-31 17:01:19 -08:00
ridiculousfish
0c9e398bef
Change parser_t::parse_job's args array to be a local, rather than just leak it, which no longer seems to crash
2012-01-31 16:50:03 -08:00
ridiculousfish
af2d348543
Substantial modifications of expand_variables to modernize, normalize memory management, adopt C++ types
2012-01-30 21:33:15 -08:00
Jan Kanis
23bc10dfe6
Add stddef.h to util.c, so ptrdiff_t is defined in all environments
2012-01-31 01:38:20 +01:00
ridiculousfish
13f72decf4
Fix a leak
2012-01-30 11:23:09 -08:00
ridiculousfish
3ad7de0fcb
Fix some leaks and clean up expand_pid to use wcstring
2012-01-30 11:15:06 -08:00
Siteshwar Vashisht
48408b0a0b
Merge branch 'CPlusPlus' of gitorious.org:~ridiculousfish/fish-shell/fishfish into CPlusPlus
2012-01-31 00:04:15 +05:30
Siteshwar Vashisht
cd7d1f2bfe
Fix to not show thread debugging warning when entering characters like "~%". expand_string2() now uses it's own parser instead of principal_parser. Added PARSER_TYPE_ERRORS_ONLY in parser_type_t.
2012-01-30 23:58:30 +05:30
ridiculousfish
ed66a46113
Fix for is_potential_path that caused all strings to be reported as paths
2012-01-30 09:59:48 -08:00
ridiculousfish
8e4e30d266
Migrate functions like parser_keywords_is_block to wcstring
2012-01-30 09:46:33 -08:00
Siteshwar Vashisht
f988dcd6f9
Fixed compilation errors caused by latest commits
2012-01-30 21:45:02 +05:30
ridiculousfish
143091edad
More work to excise halloc
2012-01-30 02:45:55 -08:00
ridiculousfish
79e0405f6a
Yet more un-hallocing
2012-01-30 02:23:58 -08:00
ridiculousfish
316f81119f
Excised some more halloc
2012-01-29 23:22:42 -08:00
ridiculousfish
8d016040ab
Back out removing a halloc_register to fix a leak
2012-01-29 22:32:01 -08:00
ridiculousfish
4da6986a68
Fix to finally make builtin_scripts.h and builtin_scripts.cpp be generated by the Makefile
2012-01-29 22:29:13 -08:00
ridiculousfish
3b8a4e56b0
A bunch of work to move towards a sane memory model in job_t
2012-01-29 22:06:58 -08:00
ridiculousfish
966cd6a8ca
Began migration of job_t away from halloc
2012-01-29 18:25:54 -08:00
ridiculousfish
f243cd86c9
Convert jobs list to std::list
2012-01-29 16:36:21 -08:00
Siteshwar Vashisht
1a5d866a91
buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' into CPlusPlus
2012-01-29 14:11:39 +05:30
Siteshwar Vashisht
a1d8ed83dd
Putting a copyright statement on my script :)
2012-01-29 13:02:40 +05:30
Peter Ammon
7f284c404f
Fixed for comment in create_manpage_completions.py to refer to new filename
2012-01-28 22:48:47 -08:00
ridiculousfish
d1b3b6a0ed
Added create_manpage_completions.py file for generating completions from man pages
2012-01-28 22:25:45 -08:00
ridiculousfish
9b37bc667f
Fix for issue where we treated all cached files as accessible for the purpose of highlighting, instead of using their cached accessible variable
2012-01-28 15:49:50 -08:00
ridiculousfish
4eea68b5a4
LRU work to load functions off of the main thread.
...
We'll have to reevaluate this after we fix function autocomplete
2012-01-28 14:56:13 -08:00
ridiculousfish
87429bc03c
More work on LRU cache and adopting it in function and completion autoloading
2012-01-27 11:43:52 -08:00
ridiculousfish
6c28448e84
Added LRU tests, and made tests work again
2012-01-27 11:43:45 -08:00
ridiculousfish
843ba4ac2c
Move autoload class into autoload.h and cpp
2012-01-25 18:59:35 -08:00
ridiculousfish
d6545588a3
Have to remember to evict nodes from our LRU cache
2012-01-25 18:51:26 -08:00
ridiculousfish
26b375a0de
Removed access_tracker since we don't need it after all
2012-01-25 18:42:41 -08:00
ridiculousfish
2f1cac604d
Implemented LRU cache for autoloading.
2012-01-25 18:40:08 -08:00
ridiculousfish
8e56763c98
LRU cache work
2012-01-25 11:47:45 -08:00
ridiculousfish
e94e1cc72f
New file autoload.h that will ultimately handle autoloading completions and functions
2012-01-25 00:36:55 -08:00
Jan Kanis
8ae00697c9
Merge branch 'merge-requests/14'
2012-01-25 01:21:14 +01:00
Jan Kanis
b0c6d891e9
reviewed merge reqest 14:
...
* fixed some whitespace inconsistencies
* changed variable handling in __fish_complete_subcommand_root
2012-01-25 01:14:47 +01:00
Jan Kanis
548164cd5e
do not escape 'commandline' output without the -o flag
2012-01-25 00:11:00 +01:00
ridiculousfish
4dfe36feb1
Migrate input_function_get_names to wcstring_list_t
2012-01-23 20:48:47 -08:00
ridiculousfish
0d1c2a3b2a
Migrated function.cpp to use the new function_get() call. Lots of nice short code now.
2012-01-23 20:43:39 -08:00
ridiculousfish
378fd60756
Migrate function.cpp to scoped_lock and shared_ptr
2012-01-23 20:32:36 -08:00
ridiculousfish
fa569b32fb
Made intern'd strings thread safe.
...
Removed intern_free_all().
2012-01-23 20:02:15 -08:00
ridiculousfish
78f8317de8
Typo fixes
2012-01-23 19:33:57 -08:00
ridiculousfish
6e8637fbc9
Move autoloading from a map of path names to a real object autoload_t.
...
Moved the various things we can autoload into static objects.
Next step is to make them thread safe.
2012-01-23 11:42:41 -08:00
ridiculousfish
8403aae928
Convert some cases where parsers are created to using PARSER_TYPE_GENERAL
2012-01-22 21:57:30 -08:00
ridiculousfish
b43c8da66b
More work towards instanced parser. First successful compilation
2012-01-22 21:40:08 -08:00
ridiculousfish
da85bdc401
More work on the instanced parser
2012-01-22 20:47:13 -08:00
ridiculousfish
7e486e3b5c
More work towards instanced parser
2012-01-20 11:24:43 -08:00
Siteshwar Vashisht
062e423125
Fixed more known auto completion bugs; auto completion calls working fine now
2012-01-20 22:20:31 +05:30
ridiculousfish
3d8face1f9
More work on instancing the parser
2012-01-19 10:28:44 -08:00
Siteshwar Vashisht
0c99fc5b4d
Removed unnecessary const_cast in wildcard.cpp
2012-01-19 22:23:25 +05:30
Siteshwar Vashisht
51d7d5d0da
Fixed calls to expand_variables2() in expand.cpp
2012-01-19 21:49:24 +05:30
Siteshwar Vashisht
c959584831
Fixed reader.cpp to not show garbage while showing help on auto completing (on pressin tab) for executables like "ls -"
2012-01-19 00:03:19 +05:30
ridiculousfish
fa796d668f
Get some basic function signatures right for new instanced parser
2012-01-16 12:10:08 -08:00
ridiculousfish
e4ee4ec3d1
Some const correctness
2012-01-16 11:16:12 -08:00
ridiculousfish
0073a93079
Beginnings of instance parser work
2012-01-16 11:09:19 -08:00
Siteshwar Vashisht
7e124cf95e
Added constructor to completion_t for guarranted initialzation of flags attribute.
2012-01-16 23:54:57 +05:30
ridiculousfish
c647bed9d5
Fix for bogus check for IFS environment variable
2012-01-16 09:43:34 -08:00
Siteshwar Vashisht
6f330f961b
Merge branch 'CPlusPlus' of gitorious.org:~ridiculousfish/fish-shell/fishfish into CPlusPlus
2012-01-16 22:27:55 +05:30
Siteshwar Vashisht
140ead65b6
Converted all auto completion calls (on pressing tab) to use std::vector<completion_t>, bugs are yet to be fixed
2012-01-16 22:26:47 +05:30
ridiculousfish
f12fd3707e
Added a missing header for ptrdiff_t
2012-01-15 15:23:05 -08:00
ridiculousfish
55091d9deb
Fix to prevent autoloading of completions on highlight thread
2012-01-15 14:24:58 -08:00
Peter Ammon
1b3427acd9
Changes to make completions internalized scripts.
...
This about doubles the size of fish. These things are huge. We may not want to ship it like this.
2012-01-15 00:25:21 -08:00
Peter Ammon
60d1ac4fec
More const and signed correctness. Warnings now fit on one page!
2012-01-14 22:48:53 -08:00
Peter Ammon
9b133a978d
Improve const and signed/unsigned correctness
2012-01-14 22:32:45 -08:00
Peter Ammon
203c749e6c
Improved const-correctness, eliminating warnings.
...
Migrated some int to size_t
2012-01-14 22:00:00 -08:00
Peter Ammon
f3e2d2f68f
Lots of warnings fixes and const correctness
2012-01-14 03:41:50 -08:00
Peter Ammon
a359f45df2
Redesign new environment variables to use env_var_t instead of wcstring
...
Migrate uses of empty() to missing() to distinguish between empty variable and unset variable
2012-01-14 02:42:17 -08:00
Peter Ammon
e8b6d48ad0
Introduce env_var_t to replace empty string as missing environment variable
2012-01-14 01:06:47 -08:00
ridiculousfish
8ba79d6ab9
Migrate function.cpp to STL types.
2012-01-13 23:54:49 -08:00
ridiculousfish
57c9eeeecb
Changes related to supporting "intern scripts." These are scripts that used to be installed in /share/functions, but now are just compiled-in strings. This should reduce the amount of I/O done at launch time.
2012-01-13 23:54:16 -08:00
Siteshwar Vashisht
f78c4fa751
Removed multiple delcartions of path_list from autoload_names() in fuction.cpp
2012-01-14 12:06:16 +05:30
Siteshwar Vashisht
3ba6e9db5d
Merge branch 'Use_env_get_string' into CPlusPlus
...
Conflicts:
function.cpp
2012-01-14 11:59:48 +05:30
Siteshwar Vashisht
610246c48f
Modified function.cpp to use env_get_string().
2012-01-12 23:22:38 +05:30
Siteshwar Vashisht
d0e18e3d20
Modified highlight.cpp to use env_get_string().
2012-01-12 23:19:05 +05:30
Siteshwar Vashisht
72cfdbbb4e
Modified input.cpp, output.cpp to use env_get_string()
2012-01-12 23:11:07 +05:30
Siteshwar Vashisht
15296dedd5
Modified kill.cpp to use env_get_string().
2012-01-12 23:07:10 +05:30
Siteshwar Vashisht
943cc68f54
Modified parse_util.cpp, parser.cpp, path.cpp to use env_get_string()
2012-01-12 22:56:53 +05:30
Siteshwar Vashisht
3bb4d0b276
Modified reader.cpp to use env_get_string()
2012-01-12 22:32:50 +05:30
Siteshwar Vashisht
9cc2217a26
Fixed connection error to fishd server in env.cpp
2012-01-12 21:58:42 +05:30
Siteshwar Vashisht
ee687ee433
Modified exec.cpp to use env_get_string(); rolled back changes to expand.cpp in last commit, because pressing ^D results into an error with the changes
2012-01-12 21:39:00 +05:30
Siteshwar Vashisht
9b56b67c0e
Revert "Modified expand.cpp and exec.cpp to use env_get_string()"
...
This reverts commit 48655e882e .
2012-01-12 04:21:11 +05:30
Siteshwar Vashisht
48655e882e
Modified expand.cpp and exec.cpp to use env_get_string()
2012-01-12 04:19:04 +05:30
Siteshwar Vashisht
7f49d37a51
Modified exec.cpp to use env_get_string()
2012-01-12 04:01:08 +05:30
Siteshwar Vashisht
9f8a1168e6
Modified env.cpp to use env_get_string()
2012-01-12 03:57:38 +05:30
ridiculousfish
c18d177b8c
Additional migration to STL data structures
2012-01-10 12:55:22 -08:00
Siteshwar Vashisht
7bde2b5cbf
Modified complete.cpp to use env_get_string(); Fixed env_get_string() return an empty wcstring instead of returning 0.
2012-01-10 01:40:03 +05:30
Siteshwar Vashisht
7b3377e78c
Modified builtin_set.cpp to use env_get(), added functions like update_values2(), env_set2() etc. to support wcstring and vector instead of using array_list_t
2012-01-10 01:19:37 +05:30
Siteshwar Vashisht
feed900f3d
Further changes in builtin.cpp to use env_get_string()
2012-01-10 00:05:51 +05:30
Siteshwar Vashisht
7530057c6e
Modified builting.cpp to use env_get_string()
2012-01-10 00:00:54 +05:30
Siteshwar Vashisht
a6b3f6b5d4
Modified screen.cpp to compile on Linux.
2012-01-07 16:35:49 +05:30
ridiculousfish
76f870a30a
Improved check for pthread library to build successfully on Linux
2012-01-06 11:50:17 -08:00
ridiculousfish
02092f315e
More work towards incorporating C++ build steps into Makefile.in and configure.ac
2012-01-06 11:29:03 -08:00
ridiculousfish
9ef9284a34
Fix for bogus cast warning in configure script that was breaking local_cv_use__posix_c_source
2012-01-06 10:43:27 -08:00
ridiculousfish
820acb981b
Fix to incorporate C++ build changes into configure.ac and Makefile.in
2012-01-06 10:23:38 -08:00
ridiculousfish
2516fd90eb
Updated dependencies in Makefile.in
2012-01-05 14:10:02 -08:00
ridiculousfish
de23368d03
Updated Makefile.cpp with updated header dependencies
2012-01-05 14:06:09 -08:00
ridiculousfish
4df57fda09
Incorporate Siteshwar's patch for building on Linux
2012-01-05 13:58:48 -08:00
ridiculousfish
6f45832aed
Switch from std::set to std::map in parse_util.cpp
2012-01-04 17:56:02 -08:00
ridiculousfish
fec0415d4e
Rewrote parse_util.cpp data structures to use STL types and classes
2012-01-04 17:40:36 -08:00
ridiculousfish
04c7d87261
More work towards supporting builtin scripts
2012-01-03 10:54:06 -08:00
ridiculousfish
6abf3db13e
Added internalize_scripts.py in preparation for ending reliance on "standard" scripts in /usr/local/share
2012-01-02 17:02:30 -08:00
ridiculousfish
99000e68b7
Fix for crash when unescaping a string with unbalanced quotes
...
Add Mac OS X's default term name to terms for which we know how to set a title
2012-01-02 13:40:03 -08:00
ridiculousfish
bef046a51a
More work to migrate off of ad-hoc data structures
2011-12-31 15:57:30 -08:00
ridiculousfish
78322a6321
Migrate some more away from array_list_t
2011-12-28 12:36:47 -08:00
ridiculousfish
46fa2dd2f0
Migration of screen away from ad-hoc lists
2011-12-27 18:41:38 -08:00
ridiculousfish
451399b344
Migrate to std::vector in event class
2011-12-27 00:06:07 -08:00
ridiculousfish
22a8e57a57
More migration away from al_list
2011-12-26 23:29:57 -08:00
ridiculousfish
9cd279e0e9
Migrate some more off of al_list
2011-12-26 23:13:05 -08:00
ridiculousfish
b67eaa3abd
More migration to the STL
2011-12-26 22:51:34 -08:00
ridiculousfish
046c9b56f5
Migrate blocked to std::vector
2011-12-26 22:27:58 -08:00
ridiculousfish
6ad80247ce
Migrate killme to std::vector
2011-12-26 22:22:55 -08:00
ridiculousfish
0b744edfa4
Migrate events to std::vector
2011-12-26 22:18:16 -08:00
ridiculousfish
0d8bb78f66
Fixed a build failure
...
Added a thread assertion to function.cpp
2011-12-26 21:56:23 -08:00
ridiculousfish
28ecc68841
Migrated some more data structures to the STL. Removed some ad-hoc data structure implementations.
2011-12-26 21:50:23 -08:00
ridiculousfish
7c7aba1202
Fix to migrate the universal variable server off of dyn_queue_t
2011-12-26 21:39:08 -08:00
ridiculousfish
74a1d70b8a
Added iothread
2011-12-26 21:21:12 -08:00
ridiculousfish
165a5aaa83
Merge branch 'master' into CPlusPlus
2011-12-26 21:09:26 -08:00
ridiculousfish
8b407a32ff
Fix to use proper type to compute difference between two pointers, which fixes a crash when fish is compiled LP64
2011-12-26 21:08:45 -08:00
ridiculousfish
04856aded0
IO port
2011-12-26 21:05:25 -08:00
ridiculousfish
a9c238a1fc
Removed a log
2011-12-26 21:05:07 -08:00
ridiculousfish
8d2f107d61
Some changes to migrate towards C++ and a multithreaded model
2011-12-26 19:18:46 -08:00
ridiculousfish
3f16ace678
Initial C++ conversion
2011-12-26 19:11:54 -08:00
Jan Kanis
344b9bdba3
Merge branch 'master' into merge-requests/14
2011-12-17 14:19:29 +01:00
Jan Kanis
834ea94eb9
update aptitude completions, patch by Dániel Ugra, closes Launchpad bug 238282
2011-09-25 01:24:34 +02:00
Jan Kanis
a060cc5893
uniq doesn't filter duplicates that aren't consecutive, use sort -u
2011-09-23 21:59:50 +02:00
gonchar
7ef0b3b821
*wvdial completion fixed
2011-09-23 18:40:14 +04:00
gonchar
39a2fd1717
* git rm and git status options are added
...
* ssh subcomand completion
* __fish_complete_subcommand now can skip variable number of tokens
2011-09-23 14:51:14 +04:00
gonchar
c66ec4df3d
* __fish_complete_subcommand_root now passes arguments to
...
__fish_complete_subcommand
* sudo:
- now can be completed bu group and user (-u and -g keys).
- subcommand completion is fixed
* __fish_complete_proc.fish is added to complete killall command with
list of running processes
* __fish_complete_tex.fish is updated with common options
* __fish_make_completion_signals.fish is added to make a list of kill
signals for kill and killall
* completions:
- minor filetype completions are added for djview, xpdf, mupdf, gv,
xdvi
- adduser is copmleted by user and group
- dlocate and dpkg are completed by packages
- find: -executable options is added
- htop: options
- funced and funcsave are completed by function names
- ifdown and ifup are copmleted by interfaces
- kill and killall: options, signals and processes
- latexmk, ln, nm: options
- lualatex and xelatex copmletions
- sudo: -u and -g options
- wvdial: presets
2011-09-23 12:24:21 +04:00
Jan Kanis
c25c48f763
Merge commit 'refs/merge-requests/13' of git://gitorious.org/fish-shell/fish-shell into merge-requests/13
2011-09-21 16:31:40 +02:00
Jan Kanis
5105d8d87e
fixed bug where case-insensitive completion of /path\ with\ spaces/ doesn't reposition the cursor correctly
2011-09-21 15:40:45 +02:00
Mark A. Miller
35af336ff6
Fix an old, old reference to a long-gone fish function for gem.fish
2011-08-13 23:50:54 -05:00
Grissiom
157ca12d4b
Merge commit 'refs/merge-requests/12' of git://gitorious.org/fish-shell/fish-shell into merge-requests/12
2011-07-28 10:06:19 +08:00
Adam Cozzette
e9d1a54983
fix: Fish may hang in Linux virtual console
...
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 >
2011-07-28 09:50:39 +08:00
Chris Nilsson
c8981c048f
Merge commit 'refs/merge-requests/10' of git://gitorious.org/fish-shell/fish-shell into merge-requests/10
2011-07-10 16:32:44 +10:00
Andreas Raster
1ae44c6b3c
still didn't work correctly, there were delimiters missing in the conditional as well
2011-06-24 02:45:05 +02:00
Andreas Raster
b2887477e3
last commits fix now also applied in the 'else' clause
2011-06-21 23:17:03 +02:00
Andreas Raster
8e2db29c9a
fixed an issue when trying to complete something like 'cd /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
2011-06-21 17:02:49 +02:00
Shaun Reich
d38de7365a
Change git-symbolic-ref to git symbolic-ref.
...
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).
2011-06-19 14:14:40 -04:00
Jakukyo Friel
cde6067cae
minor changes on user doc
2011-02-20 02:58:11 +08:00
Christopher Nilsson
2583638f4b
Merge commit 'refs/merge-requests/8' of git://gitorious.org/fish-shell/fish-shell into merge_request_8
2011-01-11 23:22:27 +11:00
Dylan Smith
11360b018f
mimedb: Search all the defaults.list files rather than just the first.
...
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.
2010-12-02 23:55:45 +08:00
Grissiom
bdfc62184d
fish_indent: indent "case" with the same level as "swith"
2010-12-02 23:42:48 +08:00
Grissiom
74f06d550a
fish_indent: don't indent commands after a pipe
...
commands after a pipe tend to be at the same line of previous command.
So don't indent them.
2010-12-02 23:42:24 +08:00
James Bowlin
46986ad4c2
Use eix instead of emerge when possible
...
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 >
2010-12-02 01:33:56 +08:00
Dylan Smith
6a5d6471c5
mimedb: Search for exact mime type match in search_ini.
2010-12-02 01:19:56 +08:00
Dylan Smith
cf0850edfd
mimedb: Add seperator between directory and filename in file_exists.
...
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.
2010-12-02 01:16:29 +08:00
Dylan Smith
fd4ac87382
funcsave: Fixed error and help handling.
...
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.
2010-12-02 01:13:51 +08:00
Dylan Smith
164144f126
default_key_bindings: Added mappings for ctrl-arrow keys.
...
On debian and ubuntu these control sequences are output while using
gnome-terminal and xterm.
2010-12-02 01:13:04 +08:00
Dylan Smith
f2ad4a2e8e
Makefile: test for xsel directory before trying to clean it.
...
This avoids the users seeing ignored errors for make -C clean.
2010-12-02 01:12:34 +08:00
Grissiom
df23913bb8
fish_indent: only output fd number when have to
...
The original patch is own by Dylan. I just did some cleaning and
reformating.
2010-12-01 13:05:10 +08:00
Dylan Smith
4ccf26fbcc
builtin: count should not accept options, not even help
...
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 >
2010-11-26 19:00:18 +08:00
Dylan Smith
081e277fe4
builtin: read's --shell long option should require an argument
...
The short option -s doesn't need it and it won't be used.
Signed-off-by: Grissiom <chaos.proton@gmail.com >
2010-11-25 19:09:31 +08:00
Christopher Nilsson
dcecab384a
Merge commit 'refs/merge-requests/6' of git://gitorious.org/fish-shell/fish-shell into merge_req_6
2010-11-24 22:34:29 +11:00
James Vega
4f9b07e979
Allow fish_greeting to be NULL or an array
...
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 >
2010-11-24 00:49:15 +08:00
Grissiom
9b97c55546
add test case for 364d3dbbf8
2010-11-24 00:35:56 +08:00
Dylan Smith
364d3dbbf8
exec: Don't format status returned directly from builtin function
...
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 >
2010-11-24 00:27:16 +08:00
James Vega
9f3a4d1640
Fix some spelling mistakes
...
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 >
2010-11-23 23:50:49 +08:00
Dylan Smith
5fca92994f
help.fish: Fix the sed expression to find anchors with id or name
...
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 >
2010-11-23 23:37:09 +08:00
Grissiom
fefd17fe5e
add test case for 6b243fbc
2010-11-23 23:05:21 +08:00
Dylan Smith
6b243fbcd3
eval: (eval false) should return an error status
...
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 >
2010-11-22 19:36:42 +08:00
Dylan Smith
82f8c3834e
Makefile: Provide PACKAGE_TARNAME for autoconf default docdir
...
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."
2010-11-22 19:05:06 +08:00
Grissiom
e0ba91db31
Revert "use is_interactive instead of isatty to test whether we are in interactive mode"
...
This reverts commit ceba377ab8 .
2010-11-22 08:43:21 +08:00
Grissiom
fa148bf59f
break long lines
2010-11-22 08:42:57 +08:00
Christopher Nilsson
1b0ce33669
Merged changes from codemonkey and grissiom branches
...
Conflicts:
kill.c
seq.in
2010-11-12 02:07:14 +11:00
David Frascone
0cf2a1eb33
Fixed negative indices in the seq command
2010-11-05 09:34:42 -06:00
David Frascone
8a46a8ecb2
This change allows for customizing of the clipboard buffer, by supplying
...
a command to accept the "copy". So, you add your clipboard buffer command
to an environment variable, and custom commands will be used for the copy
program. Very useful when your OS is not naitively supported by fish.
2010-11-05 09:32:05 -06:00
David Frascone
4f0221bc4f
Modify getopt string to force posix compliance. I forgot why I
...
needed this -- but -- some options were not working right.
2010-11-05 09:29:10 -06:00
David Frascone
ce08bb2ad2
The grep on the commands would sometimes output errors, causing noise and
...
breaking scripts.
2010-11-05 09:26:26 -06:00
David Frascone
93f797326e
Optimized the result of the xsel check, so that it is cached.
...
It is called very often, and causes a significant performace hit. The
availability of xsel is not likely to change during the invocation of
the shell.
2010-11-05 09:22:28 -06:00
Grissiom
ceba377ab8
use is_interactive instead of isatty to test whether we are in interactive mode
2010-10-13 04:30:23 +08:00
Grissiom
b9b6e867df
check allocated memory when setting SHLVL
2010-10-08 09:38:06 +08:00
Grissiom
f47caefdb9
fix a memory allocation bug in commit 1e27024d75
2010-10-08 09:01:25 +08:00
James Buren
41ae7bccc2
silences some warnings outputted by gcc with -Wall and -Wextra
2010-10-08 08:43:57 +08:00
Grissiom
1e27024d75
accumulate SHLVL env variable at startup
2010-10-08 08:35:22 +08:00
Grissiom
6654fff377
fix null reference when erase TERM env
...
Way to reproduce:
> set -e TERM
fish: function contains_internal called with null value for argument a.
fish: This is a bug. If you can reproduce it, please send a bug report
to fish-users@lists.sf.net .
fish: Backtrace:
/home/grissiom/sysroot/bin/fish(show_stackframe+0x1a) [0x43519a]
/home/grissiom/sysroot/bin/fish(contains_internal+0xce) [0x4373ee]
/home/grissiom/sysroot/bin/fish(reader_write_title+0x59) [0x424179]
/home/grissiom/sysroot/bin/fish() [0x4242d5]
/home/grissiom/sysroot/bin/fish(reader_readline+0x54) [0x425974]
/home/grissiom/sysroot/bin/fish(reader_read+0xba) [0x42742a]
/home/grissiom/sysroot/bin/fish(main+0x4be) [0x43b19e]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7fcbe0dcbb6d]
/home/grissiom/sysroot/bin/fish() [0x408c29]
2010-10-06 20:58:13 +08:00
Grissiom
89d999df72
some optimization on filling prompt_buff
2010-10-06 20:37:30 +08:00
Grissiom
a941d82be3
don't expand variables in no_exec mode
...
We couldn't know variables values unless execute commands, so disable
variable expansion in no_exec mode.
2010-10-06 11:37:59 +08:00
Grissiom
694cdf5ae1
update .gitignore
2010-10-05 21:14:43 +08:00
Grissiom
2bfe4afea2
add prof target
2010-10-05 02:23:18 +08:00
Grissiom
d559c3fe2e
fix bug in build debug targe
2010-10-05 02:22:33 +08:00
Grissiom
27df727ca1
don't parse the options that should be passed to fish scripts
...
This commit makes fish_parse_opt stop at first non-option argument,
which expected as fish script name and pass the remaining argument to
that script. I also updated the test cases.
2010-10-03 11:46:26 +08:00
Grissiom
8910226d2f
only count the last line of promt when caculate prompt width
2010-09-24 19:01:13 +08:00
Grissiom
04f58b1a31
ignore tmp staff in tests/
2010-09-24 11:34:35 +08:00
Grissiom
1b9dd0c75f
Merge remote branch 'origin/otherchirps-dev'
2010-09-19 14:12:30 +08:00
Grissiom
a7af415b6a
call original grep in sgrep
...
functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's
effort.
2010-09-19 13:56:30 +08:00
Grissiom
f8a5a59513
Revert "match the whole command for git completion"
...
This reverts commit d957d23d8f .
Use __fish_git_using_command to test commands and __fish_contains_opt to
test arguments.
2010-09-19 11:04:24 +08:00
Grissiom
ac3dfb3f96
don't complete file names for git checkout
2010-09-19 00:19:44 +08:00
Grissiom
d957d23d8f
match the whole command for git completion
2010-09-19 00:17:53 +08:00
Grissiom
d049947801
event_fire( 0 ); => event_fire( NULL );
2010-09-18 21:30:02 +08:00
Grissiom
21a10c3c74
use $() in Makefile var expansion
2010-09-18 21:29:05 +08:00
Grissiom
04951f8b34
reader_read( 0... => reader_read( STDIN_FILENO
2010-09-18 20:26:54 +08:00
Grissiom
c08bae6aeb
configure xsel in configure phase
...
... and with the same arguments of fish
2010-09-18 14:31:18 +08:00
Grissiom
3aa107c4ae
add XSEL_BIN var in configure.ac
2010-09-18 13:49:03 +08:00
Grissiom
e196091714
make clean should clean xsel and make distclean should delete it
2010-09-18 13:41:27 +08:00
Grissiom
d35d65cc40
use variables as xsel target
2010-09-18 13:27:34 +08:00
Grissiom
7f7b30959b
don't make xsel in subshell
2010-09-18 13:14:59 +08:00
Grissiom
70322077d2
remove trialing spaces #2
2010-09-18 10:18:26 +08:00
Grissiom
f529b2e057
upgrade xsel to 1.2.0
...
xsel 1.0 begin to support UFT-8.
2010-09-18 10:14:14 +08:00
Grissiom
c6372a1b3f
remove trailing spaces
...
This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not
introduce any functionality change.
2010-09-18 09:51:16 +08:00
Grissiom
41b8db063c
add git submodule completion
...
Merged from http://github.com/weavejester/fish-git
2010-09-17 16:38:26 +08:00
Grissiom
1b16758d7e
Fix cd prompt fail on the case that CDPATH have variables
2010-09-17 16:01:44 +08:00
Grissiom
51b5adc306
ignore ~ backup files
2010-09-16 13:32:18 +08:00
Grissiom
56f8993b8c
ignore po/*.gmo
2010-09-16 13:31:49 +08:00
Ben Hoskings
8c4d1ca587
Added .gitignore.
2010-09-16 13:30:59 +08:00
Christopher Nilsson
ec8b3593f3
added '-c' option to the functions.txt docs.
2010-09-12 20:29:34 +10:00
Christopher Nilsson
5c9b42e260
'functions --copy': added sanity check on new function name.
...
Now matches function create behaviour, running the new function name through
wcsfuncname() and parser_keywords_is_reserved(), before allowing the copy.
2010-09-12 13:16:11 +10:00
Christopher Nilsson
7914c92824
replaced the functions '--rename' option with '--copy'.
...
Copying the function implementation was the main point. Actually removing the original isn't necessary, as that
functionality already exists (functions -e).
2010-09-09 23:48:18 +10:00
Christopher Nilsson
208be0f4d4
Adding '--rename' option to 'functions' builtin.
...
Aim is to allow an existing function to be renamed, allowing some basic function chaining.
Example:
> function foo
echo Hello
end
> foo
Hello
> functions --rename foo bar
> foo
fish: Unknown command 'foo'
> bar
Hello
> functions --rename fish_prompt old_prompt
> function fish_prompt
printf "{Boo!}%s" (old_prompt)
end
{Boo!}>
Note in the last case, the new fish_prompt is calling its old definition.
2010-09-08 03:31:05 +10:00
Ben Hoskings
7cfac5bb59
Fix an fprintf() type warning in set_color.c by using "%s".
2010-04-09 16:05:19 -07:00
Ben Hoskings
1bd09bfd40
Fix casting warnings in screen.c / s_update() by casting al_get() twice to convert type and then size, instead of both at once.
2010-04-09 16:05:18 -07:00
Ben Hoskings
517751f2a3
Declare write_loop() in print_help.c to fix warning (it's declared in common.h, but including that file here breaks things badly).
2010-04-09 16:05:18 -07:00
Ben Hoskings
006952c571
Fixed incompatible pointer warning in env_universal_common.c / iconv() call.
2010-04-09 16:05:18 -07:00
Ben Hoskings
7a8b7201a1
Write formatted duration to ENV_DURATION after commands that run for > 1s wall time.
2010-04-09 15:56:32 -07:00
Ben Hoskings
1157e4d7b2
Allow newlines in fish_prompt, by joining prompt_list with newlines instead of nothing in exec_prompt().
2010-04-09 15:56:15 -07:00
Ben Hoskings
6b8e7b16f6
Reduced timeout in select_try() from 5s to 10ms.
2010-04-09 15:56:09 -07:00
axel
1eb089d722
Bump version number
...
darcs-hash:20090308144106-ac50b-e64db4a3009f99b3c1d206bba1781775faef671c.gz
2009-03-09 00:41:06 +10:00
axel
e50d0c18b0
Update todo list
...
darcs-hash:20090308142007-ac50b-22e9cc31212ff9647f75426327cdf5aff2d30f79.gz
2009-03-09 00:20:07 +10:00
axel
810d5f9548
Fix interactive job in background busy wait bug, reported by Randall D. Wald
...
darcs-hash:20090301021441-ac50b-a9488a9e55f545c3b8bd52aa0fb00b2b967974a8.gz
2009-03-01 12:14:41 +10:00
James Vega
e0c317dfd4
Prevent potential infinite loop
...
Ignore-this: 24edfe9248e1b667fcf4d8e151dd50f2
darcs-hash:20090224183601-35ec8-5e86d44c77af33376bd80485689d60c761ff17c6.gz
2009-02-25 04:36:01 +10:00
axel
d5320fb9f9
Update copyright info, minor layout changes to section about licenses in fish
...
darcs-hash:20090222224540-ac50b-69c4f8dd027e4672b8d25f8240c1d5f625135ad1.gz
2009-02-23 08:45:40 +10:00
axel
14c84ffbcb
Check return value of a few write calls and retry on EINTR, and fix a few other warnings, mostly by printing error messages before giving up.
...
darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
2009-02-23 06:28:52 +10:00
axel
f71c6f3f0e
Misc documentation updates
...
darcs-hash:20090222191714-ac50b-fdd090aafd60f71989ef5c63aac9f876dcad93eb.gz
2009-02-23 05:17:14 +10:00
axel
6dbb9e070d
Hopefully make iconv detection work on OS X with non-gnu iconv implementation
...
darcs-hash:20090222191649-ac50b-4f7010fdbf662b71cb7c4c99d2ae6e00c7cccb83.gz
2009-02-23 05:16:49 +10:00
axel
47ae2a05ce
Don't make complete builtin complain when used in non-interactive mode, as we can always launch a debug prompt. Who are we to question why?
...
darcs-hash:20090222162253-ac50b-bb3c9dc1d1fa33548a2ed7b3c7c4d21d527eba47.gz
2009-02-23 02:22:53 +10:00
axel
810262118a
Fix read in noninteractive mode problems reported by James Reeves
...
darcs-hash:20090222162206-ac50b-c293945986f75103120606a64133b59fe82c02a6.gz
2009-02-23 02:22:06 +10:00
axel
f5be301a2f
Handle exit status of processes terminated by signals
...
darcs-hash:20090221164656-ac50b-7bcbf6cb0bb8384560fbf9bf1059480cb4089def.gz
2009-02-22 02:46:56 +10:00
axel
b1357d11b2
Pressing Control-C (or otherwise changeing the command line content through the commandline builtin) should clear the search buffer.
...
darcs-hash:20090221154420-ac50b-52641fb6dd6e76aebc6244211e07c0861fb3eff0.gz
2009-02-22 01:44:20 +10:00
axel
5fc42fcaff
prompt_pwd broken, this fix by James Reeves
...
darcs-hash:20090221104759-ac50b-35f7a896d3e62cd002605d47c090c7bec992317b.gz
2009-02-21 20:47:59 +10:00
axel
c1cf6a4071
Oops, I broke recursive wildcard completion
...
darcs-hash:20090221104330-ac50b-ab9d487d3fc77fab32d9c49045d23b3e9124e618.gz
2009-02-21 20:43:30 +10:00
axel
972f3e121e
Document rename of save_function to func_save. Pointed out by Ovchinnikov George
...
darcs-hash:20090218202037-ac50b-0351e8564d3274cd4fb364c07b4a3260f8a45f20.gz
2009-02-19 06:20:37 +10:00
axel
0dd8ae4843
Added faw entry on history editing, written by Beni Cherniavsky
...
darcs-hash:20090216211940-ac50b-4175fb2ae8ec2f5a67ac3c6a33a48bc5ac35eea2.gz
2009-02-17 07:19:40 +10:00
axel
8a93b6f26d
Make xdg-version of open handle multiple files.
...
darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
2009-02-17 07:11:03 +10:00
axel
07717a3570
Add possibility to define greeting function, suggested by Chris Miller
...
darcs-hash:20090216210450-ac50b-9b4f7c5bf45afaf21d51e46ff8c2b11d171fcbf2.gz
2009-02-17 07:04:50 +10:00
Nick Pilon
79784d3e18
This patch fixes a problem where prompt_pwd was printing the full path twice under OS X and probably BSDs. (Which, needless to say, made for very long prompts) The problem was that (Free?)BSD sed and GNU sed handle ? differently. For BSD sed, ? is not special unless the -E flag is specified. The {0,1} syntax should work the same way in both.
...
darcs-hash:20080122180340-5b666-21f1cdb835cbfa458a0f3d7344370837db962388.gz
2008-01-23 04:03:40 +10:00
terceiro
c08c313c0a
adds completion for Debian's invoke-rc.d command
...
Ignore-this: f9ff385e3c239cedfbc9850b06822bba
darcs-hash:20090204191757-69c1e-a55c2a720fd784c7be2534feacecd5e2ebdbeecd.gz
2009-02-05 05:17:57 +10:00
terceiro
dfd70057b3
function to put current git branch on the fish prompt
...
Ignore-this: 841402742571f399e012514315b8e4f0
darcs-hash:20090204190358-69c1e-2ebcf761a4e55bc049ff1d5bba272d722b2d4501.gz
2009-02-05 05:03:58 +10:00
terceiro
07dec5c3ed
better git completion
...
Ignore-this: af7fede5c1ee1d92c89d2887cbe54c0b
darcs-hash:20090204185826-69c1e-f72e06ad575efee258b392afd17255166ac4a260.gz
2009-02-05 04:58:26 +10:00
axel
1ed5decf2c
Fix warnings in FATAL_EXIT macro
...
darcs-hash:20090204224310-ac50b-111db6c8f5b74dad0a309441063d3d7e9bf8f55d.gz
2009-02-05 08:43:10 +10:00
Isaac Dupree
9b95dda6bf
fix help for open
...
darcs-hash:20080605192305-6c1c4-ccf59a87bf7197b5d07a33d7aaeb31638aa0aa52.gz
2008-06-06 05:23:05 +10:00
axel
41015691db
Make all fish that use universal variables binaries include iconv
...
darcs-hash:20090203002620-ac50b-6be533cd1bf7dd043d96547b2c2f3ab4cda30e10.gz
2009-02-03 10:26:20 +10:00
axel
7e1ac2d806
Actually escape the double-star recursive wildcard char when requested. This will make sure the syntax highlighting doesn't try to perform a recursive wildcard expansion when cheching command name existance, which killed performance
...
darcs-hash:20090202234751-ac50b-55dfd8b52f842826b02a69d6ab51c222108c30e3.gz
2009-02-03 09:47:51 +10:00
axel
35258bf1fb
Make proper autoconf test for availability of posix nan function instead of fudging with the NAN macro.
...
darcs-hash:20090202232049-ac50b-0176955677ff39fdd05eeefa20dca883863c34e6.gz
2009-02-03 09:20:49 +10:00
axel
72025a6a38
Make fish avoid iterating through user list when completing file part of directory starting with tilde. Also add a timeout to the directory iteration, to protect against humongously large user databases.
...
darcs-hash:20090202224645-ac50b-353047a73e4d6f494f470fe2ea6c4a34b486d302.gz
2009-02-03 08:46:45 +10:00
axel
05341b055b
ish's current hostname completion uses ~/.ssh/known_hosts as one of its sources of information, but ~/.ssh/config may also be useful. Gather all of the 'Host' declarations from ~/.ssh/config and filter out the ones with wildcards. Signed-off-by: James Vega <jamessan@debian.org>
...
darcs-hash:20090202210242-ac50b-cf50070ee33ab6113e32a4d997d464ac4b1faf24.gz
2009-02-03 07:02:42 +10:00
axel
9d7224d756
Add support for completing aliases in ssh. Written by David Bronke.
...
darcs-hash:20090201231805-ac50b-196d4c81981efe681677fe8ca7f1cc833a4734da.gz
2009-02-02 09:18:05 +10:00
axel
33ec8b45a0
Add effectv completions, written by Stefano Sabatini.
...
darcs-hash:20090201225558-ac50b-5704829043880d0264e3e3908d324a39857ada16.gz
2009-02-02 08:55:58 +10:00
axel
1dc49a4062
Fix color ls detection for BSD and OS X systems. Patch by Sven Axelsson.
...
darcs-hash:20090201222410-ac50b-e1e02244ae950c602d3b7e67fe567920c619024b.gz
2009-02-02 08:24:10 +10:00
axel
1123467991
Fix cd function to handle empty variables correctly. Patch by Sven Axelsson.
...
darcs-hash:20090201222058-ac50b-31a7ee2db9f68729c21ba153e1439cbeabff84ce.gz
2009-02-02 08:20:58 +10:00
axel
4f54da3795
Fix user completion so it can handle comments in the passwd file. Patch by Sven Axelsson.
...
darcs-hash:20090201221921-ac50b-ef0883afe4dc68b43c1c705d49b6b5505dbf1e73.gz
2009-02-02 08:19:21 +10:00
axel
c8de3d24c8
Add netcat completions, written by James Stanley
...
darcs-hash:20090201160411-ac50b-43c34e2a73477cde40f15887a810a7b365ec81c4.gz
2009-02-02 02:04:11 +10:00
axel
31439ffb52
Better warning message when trying to exit with jobs running. PAtch and suggestion from Josef Spillner.
...
darcs-hash:20090201151601-ac50b-64bf24877419a9087f37eda2486232dfdabea9d2.gz
2009-02-02 01:16:01 +10:00
axel
9111b85437
Fixed bug with configure.ac in autotools shipped with F10. This fix comes from James Reeves.
...
darcs-hash:20090201140928-ac50b-952a8ba0596e3cf4f4a4a94f226fd04ec607075f.gz
2009-02-02 00:09:28 +10:00
axel
c6427c5a47
Add mimedb infinite loop bug fix from James Reeves
...
darcs-hash:20090201133734-ac50b-96fb4735af616094ea57ba02266188f8a7038a0c.gz
2009-02-01 23:37:34 +10:00
axel
36c3bd4e8d
Switch from ARG_MAX to getting value from sysconf, glibc no longer defines the latter. This was reported from Peter Alfredsen Matthew Wesley, among other people.
...
darcs-hash:20090201132329-ac50b-5b9d54731c2ea2da3868fd492e68628b7684bb76.gz
2009-02-01 23:23:29 +10:00
axel
dad549afd1
Fix slightly wrong LD_FLAG in Makefile
...
darcs-hash:20090201125628-ac50b-3e68d7165a6c19558c7c8d7189cb75d71b4a9875.gz
2009-02-01 22:56:28 +10:00
Ori Avtalion
e73c2be216
Add missing commas, letters and \c in the documentation
...
darcs-hash:20080210210053-57fc3-f7e03b3fca9dff8bdc02256dfb78478b68945015.gz
2008-02-11 07:00:53 +10:00
axel
b0d324f1a7
Fix dumb error causing fish not to compile...
...
darcs-hash:20080204230945-ac50b-a95529cf19c473f62b6104ae138cf8b8abcbd2ec.gz
2008-02-05 09:09:45 +10:00
axel
d7396ac59f
Fix bug causing flood of error messages in terminal when trying to highlight an invalid command, reported by Denilson F. de Sa.
...
darcs-hash:20080204230905-ac50b-0829b69835347e5875656ae735181b724f10de2a.gz
2008-02-05 09:09:05 +10:00
liljencrantz
3f439e9cd3
Add quilt completions, written by Stefano Sabatini.
...
darcs-hash:20080123000021-75c98-b27ae979720c55ec2219f451c50e87e79fa38cd6.gz
2008-01-23 10:00:21 +10:00
liljencrantz
0b722864c0
Make string handling a bit more solid be making sure sb_printf returns a null terminated string even on failiure.
...
darcs-hash:20080120022045-75c98-a47aff63ce7278148ccf027d6ee3ff93b35ee350.gz
2008-01-20 12:20:45 +10:00
liljencrantz
75e26f0f94
Add completions for various user and group adding commands. Skip addgroup, since manual page was actually for adduser, most switches weren't applicable and I was too lazy to guess which ones.
...
darcs-hash:20080120020816-75c98-f937df6cb6789868a1385bfc3eb48f5ddefb3c43.gz
2008-01-20 12:08:16 +10:00
liljencrantz
8cacb33347
Add completions for m4
...
darcs-hash:20080119150149-75c98-d8e5060ef78c6103d51e453ee4d5265f0981c4af.gz
2008-01-20 01:01:49 +10:00
liljencrantz
bf7d62fd91
Add completions for badblocks
...
darcs-hash:20080119145849-75c98-657a11bc69fbf625b01f84f1f6638e0d4b767228.gz
2008-01-20 00:58:49 +10:00
liljencrantz
4ac31e637d
Add completions for Battle of Wesnoth
...
darcs-hash:20080119145414-75c98-6d8f856062ea44cf5de56bb014765a65ac26706b.gz
2008-01-20 00:54:14 +10:00
liljencrantz
0ad64ad2e4
Improve documentaion for bind builtin, clarify how to specify key sequences.
...
darcs-hash:20080119003820-75c98-b1f9360ddab9206a1cdf77b94ce28e9978badb53.gz
2008-01-19 10:38:20 +10:00
liljencrantz
523096e5d8
Add simple git completions by Diggory Hardy
...
darcs-hash:20080118160327-75c98-33e4e011de409944143aecf4f7e7aa8995687c75.gz
2008-01-19 02:03:27 +10:00
liljencrantz
0de629e009
Fix spelling in docs and add a help page for the funced builtin. These changes where suggested by Emanuele Rusconi.
...
darcs-hash:20080118155413-75c98-eadff877b3af3c3271b098903f80a45082111424.gz
2008-01-19 01:54:13 +10:00
liljencrantz
1f6fa1208e
Search for command-not-found in PATH on startup, since older implementations place it there
...
darcs-hash:20080115122953-75c98-05ef8cb650a942c59dfa35aa63b25ccd49614dde.gz
2008-01-15 22:29:53 +10:00
liljencrantz
b86856b454
In prompt_pwd, if a directory name starts with a dot, include first two characters. This patch was written by Denilson F. de Sá
...
darcs-hash:20080116223621-75c98-46f96c9f25d5e32cd10148d35713622e6eac50d7.gz
2008-01-17 08:36:21 +10:00
liljencrantz
6598320534
Remove useless stray argument in function call
...
darcs-hash:20080116222628-75c98-a307fbeacdd815edcedea05930dc8b4bb064acb3.gz
2008-01-17 08:26:28 +10:00
liljencrantz
0a66dc4a31
Correct completions for the function builtin
...
darcs-hash:20080116222602-75c98-c1a48b4a04fe71b25c5e004a282341148a95ab6d.gz
2008-01-17 08:26:02 +10:00
liljencrantz
88a2b622df
Add more documentation on events
...
darcs-hash:20080116222531-75c98-ef30dabc492d7883dbb620c40ef95152469057a3.gz
2008-01-17 08:25:31 +10:00
liljencrantz
e10f75483f
Fix minor bug, PWD was incorrectly set on startup
...
darcs-hash:20080116220738-75c98-2b7c886629857540efee8f1cab9da0aa9ed8f76d.gz
2008-01-17 08:07:38 +10:00
liljencrantz
1a66fc4c5d
Drop vim feature of only completing text and gzip files
...
darcs-hash:20080116180249-75c98-2fdff83afcb286c7cc06d3ed66089c9cc02eca20.gz
2008-01-17 04:02:49 +10:00
liljencrantz
905b792de7
Improve code comment
...
darcs-hash:20080116010601-75c98-fc7e940543424479bf1016cec26af619f177f5fd.gz
2008-01-16 11:06:01 +10:00
liljencrantz
804f5ab334
Add an extra input validation check
...
darcs-hash:20080116010548-75c98-e6f198bb1eb5a456ce830c42f061428a9c6f755d.gz
2008-01-16 11:05:48 +10:00
liljencrantz
f974c7c416
Improve error messages on failed execve calls a bit more
...
darcs-hash:20080116010454-75c98-883050bf00f10bdb205724d7d273f10e6f0a1065.gz
2008-01-16 11:04:54 +10:00
liljencrantz
f3b6b74568
Oops. Made a minor but important typo in previous cleanup patch. :-(
...
darcs-hash:20080115004050-75c98-3f7f733cca054d8685ec5df68d6467057ea5be53.gz
2008-01-15 10:40:50 +10:00
liljencrantz
ab94a397c3
Drop minor typo, add a few code comments
...
darcs-hash:20080114225828-75c98-f67f17d7f3148b0bcc74ea53536d52da80667e55.gz
2008-01-15 08:58:28 +10:00
liljencrantz
537ab32dd9
Add support for the Ubuntu 'command-no-found' handler, which suggests a package to install in order to get a command.
...
darcs-hash:20080114223124-75c98-ab1658d54086394cf13f3a6210543c0b790362c4.gz
2008-01-15 08:31:24 +10:00
liljencrantz
a2660cfb76
Handle case insensitive completions of variables better
...
darcs-hash:20080114010032-75c98-6e570c2b095baeb2ed2ee4d09e32f4e7d6ae47de.gz
2008-01-14 11:00:32 +10:00
liljencrantz
3743a5758b
The max size of the string buffer was too small. Push it up a bit.
...
darcs-hash:20080114005745-75c98-1bcad5c5e81d4257eb7e96e860f8c667f9ba3267.gz
2008-01-14 10:57:45 +10:00
James Vega
e510d10c77
Fixed various spelling errors.
...
darcs-hash:20080113200151-35ec8-c587f020aec07a5e613068677bd3dd4f5c6189ac.gz
2008-01-14 06:01:51 +10:00
liljencrantz
f5540ff958
Add canse insensitive tilde completion
...
darcs-hash:20080113193221-75c98-169804fe128001f73eaee6fab28bfb99dca7c93e.gz
2008-01-14 05:32:21 +10:00
liljencrantz
c2b28063e1
Improve Doxygen documentation generation a bit
...
darcs-hash:20080113164924-75c98-d9762465de42750728ac6cb9364f4739a29ae376.gz
2008-01-14 02:49:24 +10:00
liljencrantz
8d2564291d
Make sure fish_indent handles io erros
...
darcs-hash:20080113164905-75c98-b090ce79fb50a260874951525218cac65a097a6d.gz
2008-01-14 02:49:05 +10:00
liljencrantz
87db9517e9
Add lots of new code comments.
...
darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
2008-01-14 02:47:47 +10:00
liljencrantz
ab3502fc8b
Bump version number
...
darcs-hash:20080113011626-75c98-5037824714b5f39b8e4786d724bd047275e4c718.gz
2008-01-13 11:16:26 +10:00
liljencrantz
22472ea980
Update todo list
...
darcs-hash:20080113011617-75c98-8a3bcc0b4a2c58e5f2b13c51f372e7349ffec32d.gz
2008-01-13 11:16:17 +10:00
liljencrantz
ef705be6a5
Raname main.c into fish.c. NAme makes more sense.
...
darcs-hash:20080112192135-75c98-dc3f8480f1b25f6ab866c252c7edace862298f38.gz
2008-01-13 05:21:35 +10:00
liljencrantz
d50fac7fe5
Update copyright dates
...
darcs-hash:20080112191848-75c98-2e9d03feebe185c70e63bbabb421ebb5ef248979.gz
2008-01-13 05:18:48 +10:00
liljencrantz
39c16a7770
Add check for existance of fish_greeting variable
...
darcs-hash:20080112185319-75c98-3b5231b1a956c94e8800dae033f3672622104340.gz
2008-01-13 04:53:19 +10:00
liljencrantz
2aad9d5a95
Fix silly type I caused when cleaning up ant completions. Thanks to Steven Knight for the report
...
darcs-hash:20080112184928-75c98-286284df7196a479c6a2789120705f1764d619b9.gz
2008-01-13 04:49:28 +10:00
liljencrantz
52aaf60510
Fix spelling, thanks to Chris Rebert
...
darcs-hash:20080112184042-75c98-1f776d6f099003efd9a0c4ed45100c3a02e80e19.gz
2008-01-13 04:40:42 +10:00
liljencrantz
3a2f7d0edf
Add completions for the fish_indent command
...
darcs-hash:20080109031024-75c98-23e2782d68822c1005eb9766ae2d14e76ed5499b.gz
2008-01-09 13:10:24 +10:00
liljencrantz
605fffa9d2
Make sure the help switch to the cd command is not flagged as an error
...
darcs-hash:20080109030647-75c98-f82822cde746d1c8a89512481347061cfeb41e43.gz
2008-01-09 13:06:47 +10:00
liljencrantz
2229fad410
Fix bug in return and block builtins - they where unable to handle functions that do not shadow the calling scope
...
darcs-hash:20080109030136-75c98-05f7a48cd991ac24e15d7e8b580caef0396ff59c.gz
2008-01-09 13:01:36 +10:00
liljencrantz
8e9384e2e8
Update todo list again. :-)
...
darcs-hash:20080109020655-75c98-9255c6c2287859211af77869fe2eb77543390c03.gz
2008-01-09 12:06:55 +10:00
liljencrantz
394776c56b
Update todo list and code comments
...
darcs-hash:20080109012338-75c98-745297861fd11ec82e062a79fe1d15c9084342f1.gz
2008-01-09 11:23:38 +10:00
liljencrantz
e3d3a1062d
Dont change working directory during startup
...
darcs-hash:20080109004339-75c98-478d0024895b89e12d02f6f19273aa1f9df66ed9.gz
2008-01-09 10:43:39 +10:00
liljencrantz
b4042b18c6
Make sure case sensitive completions are ignored by the pager if case sensitive completions exist
...
darcs-hash:20080109000928-75c98-fc6dc6fcebca99f33a1ed484444efee87f5caa94.gz
2008-01-09 10:09:28 +10:00
liljencrantz
5379200b9e
Make sure inserted completions are escaped, even when case insensitive
...
darcs-hash:20080109000046-75c98-baf9ef4594ad0c7024a79b5c4819c10c0697ba47.gz
2008-01-09 10:00:46 +10:00
liljencrantz
9c38ed8238
Improve ant completions. This patch comes from Steven Knight. (minor tweaks applied)
...
darcs-hash:20080108221608-75c98-a0c7f65c65fb2e2c68085c69e72caa4a2c86a029.gz
2008-01-09 08:16:08 +10:00
liljencrantz
cb59da7a6f
Fix typo in docs on exporting rules. This issue was pointed out by Isaac Dupree.
...
darcs-hash:20080108213600-75c98-b68f1bc3846ca7050955ee0f133acd20282cb908.gz
2008-01-09 07:36:00 +10:00
liljencrantz
bdec900aca
Minor doc updates
...
darcs-hash:20080108210918-75c98-7510c066f74a2c3f4bf60bda84237adcef2ca276.gz
2008-01-09 07:09:18 +10:00
Nicholas Burlett
564d19e3bd
The ability to switch to sh for processing files starting with a ':' broke
...
recently, as the incorrect arguments were being passed to execve. The
function went through the trouble of creating the proper arguments, and
then failed to use them.
darcs-hash:20080104015631-2d839-1d79a7810fcc3e2a3788dabdbc22d13a4bd4f404.gz
2008-01-04 11:56:31 +10:00
liljencrantz
063c4d7e67
Add comment on CDPATh being a universal variable after comments from Isac Dupree.
...
darcs-hash:20080107235427-75c98-3f56a4f450bb9beb66c9949c9313a1991754d8fb.gz
2008-01-08 09:54:27 +10:00
liljencrantz
30cfa2a445
Add explanation to csh versus sh variable naming in docs.
...
darcs-hash:20080108194127-75c98-b44c6f18607cf270fae16179cd0df3e84f980b91.gz
2008-01-09 05:41:27 +10:00
liljencrantz
71c2cde390
Cleanup and improve the exit status numbers and the messages generated on error as well as make sure that keyboard shortcuts don't change the status
...
darcs-hash:20080108193145-75c98-56c8aa2dd081af643d206820aa36bf3b6e49e0f2.gz
2008-01-09 05:31:45 +10:00
liljencrantz
da4a4bcc18
Only set various startup defaults once. Even if the user removes them, do not try to reset them.
...
darcs-hash:20080108161856-75c98-7d228f7a0c62aa8be74f66ce72d0cadbc3030f5d.gz
2008-01-09 02:18:56 +10:00
liljencrantz
286ce1d6a4
Only set the fish greeting variable on the very first startup
...
darcs-hash:20080108152708-75c98-d1aa82fbcf070b74f402a6b33e687ccf615fb104.gz
2008-01-09 01:27:08 +10:00
patroclo7
5064cec16d
makepkg-completions
...
Completions for makepkg, the archlinux tool to build packages from source
darcs-hash:20071218002337-782a0-b2f26f1e8ed35e6180785f077a7a0af99f5ea804.gz
2007-12-18 10:23:37 +10:00
patroclo7
f5f5e63ddf
pacman-completion
...
Completion definitions for the pacman package manager, used by Archlinux.
darcs-hash:20071217231409-782a0-c17d12806fcd9732578a878b827af4074577c177.gz
2007-12-18 09:14:09 +10:00
patroclo7
ae878ed6ea
option-absent-function
...
Add a function which checks that an option has not been used (useful to avoid
incompatible combinations of options and necessary for the completions for
the pacman package manager.
darcs-hash:20071217230315-782a0-be39b1258832f0d2427765200d051e5d688b041b.gz
2007-12-18 09:03:15 +10:00
liljencrantz
2c5151bb78
Fix bug in key binding code causing unneeded error messages
...
darcs-hash:20071031091503-75c98-3ab5786c1f991e4ea37c33b76823a487f25fab64.gz
2007-10-31 19:15:03 +10:00
liljencrantz
f506f1f495
Remove unneeded code
...
darcs-hash:20071028233214-75c98-0b98df754e50f6fb937098506884b1d526bf15fd.gz
2007-10-29 09:32:14 +10:00
liljencrantz
374fc09af0
Minor tweaks for man page parser.
...
darcs-hash:20071028233110-75c98-7d900290fdb313cb8ce2194a2d452cd9d4c8dc13.gz
2007-10-29 09:31:10 +10:00
liljencrantz
54b1986986
Add command specific comlpetions for cowthink
...
darcs-hash:20071028230807-75c98-1706c8b0f2559c2f5fa9e6055c7aa60e8fc4a2f6.gz
2007-10-29 09:08:07 +10:00
liljencrantz
6e9489f4f5
Add command specific comlpetions for cowsay
...
darcs-hash:20071028230620-75c98-d137040e58b76a570234eb15603192922c4cfe01.gz
2007-10-29 09:06:20 +10:00
liljencrantz
a52bd219b9
Remove lots of things from the todo which have been implemented
...
darcs-hash:20071028190344-75c98-9ccc5b5dab1f788c5179d5a527e6823d207f832e.gz
2007-10-29 05:03:44 +10:00
liljencrantz
bdd1b6b4b2
Rewrite automatic completion creator from scratch. The new implementation uses a finite state machine instead of a set of regexes, which inpractice seems to make the parser more robust and the code subjectively more readable
...
darcs-hash:20071028185143-75c98-92c1a0cd579ff0c41f47e75c975405fe3e002ddb.gz
2007-10-29 04:51:43 +10:00
liljencrantz
6dfdb3ba6e
Remove bad completion for bison
...
darcs-hash:20071028184743-75c98-2f74b81cb8bfe7fe7346aa65b652d6bbe8eac4a1.gz
2007-10-29 04:47:43 +10:00
liljencrantz
48d5637178
Add command specific comlpetions for gdb
...
darcs-hash:20071028184722-75c98-a2822e20d772dde73ef13a6ce7ca56339b13864f.gz
2007-10-29 04:47:22 +10:00
liljencrantz
d724b160ea
Add command specific comlpetions for chmod
...
darcs-hash:20071028183924-75c98-e73d8ce3ba9da36a70ef849df3c309f9f188ba68.gz
2007-10-29 04:39:24 +10:00
liljencrantz
7a4dc6f700
Add command specific comlpetions for bison
...
darcs-hash:20071028183548-75c98-0027c86d0077004b7bb0408358ba3821772b2374.gz
2007-10-29 04:35:48 +10:00
liljencrantz
c9f43fb02d
Add command specific comlpetions for awk
...
darcs-hash:20071028183140-75c98-0c649a62488fa155d8170ac04a876b9ab426dbc0.gz
2007-10-29 04:31:40 +10:00
liljencrantz
da02905250
Add command specific comlpetions for acpi
...
darcs-hash:20071028182810-75c98-fc6cb8818dc8a93976802c255584cfd9c86a8958.gz
2007-10-29 04:28:10 +10:00
liljencrantz
80060229f8
Minor simplification to rpm completions
...
darcs-hash:20071028182440-75c98-dc3d22f37e1779dca7e2e88f02fc9e0d815301c9.gz
2007-10-29 04:24:40 +10:00
liljencrantz
10b9b06ef7
Add command specific comlpetions for scons
...
darcs-hash:20071028182413-75c98-41bf654fd8fe0522a8ebae19b6ecaa8a4d1f2d8c.gz
2007-10-29 04:24:13 +10:00
liljencrantz
e9aba6a878
Add command specific comlpetions for xgettext
...
darcs-hash:20071028180724-75c98-42c8d8a3810f6bdaee4ac90da1cc34371fcfacf4.gz
2007-10-29 04:07:24 +10:00
liljencrantz
5fee5a2890
Add command specific comlpetions for msgfmt
...
darcs-hash:20071028095834-75c98-d749a3fef8e28c9d5bab1cd3dfbf989aac9a8049.gz
2007-10-28 19:58:34 +10:00
liljencrantz
3f3fe634c8
Do not use carriage return in translated strings
...
darcs-hash:20071028091145-75c98-fc211f29b5c96fa5e10cedd848dabb0a664a34b7.gz
2007-10-28 19:11:45 +10:00
liljencrantz
a5156c54cb
Make sure configuration files are only run once
...
darcs-hash:20071028091117-75c98-735febed13f816e2870e90324758ec59d713b1e2.gz
2007-10-28 19:11:17 +10:00
liljencrantz
74cd64ba21
Make sure that function and completion paths contain contain the basic fish completions/functions on startup.
...
darcs-hash:20071028091042-75c98-4e201b1b39c7c7b66ff9ec71f95b05f8d6d42708.gz
2007-10-28 19:10:42 +10:00
liljencrantz
348e991d7c
Indentation fixes, add a few comments, spelling, etc.
...
darcs-hash:20071028090840-75c98-2ae076441517cd7a0d8172fad28edaf6f034b70c.gz
2007-10-28 19:08:40 +10:00
liljencrantz
a1af86cb6b
Remove non-ascii characters from completions
...
darcs-hash:20071028090802-75c98-06f7a48a6a5590117c0293dc75b07846e86a34a1.gz
2007-10-28 19:08:02 +10:00
liljencrantz
baa6a40d6f
Fix completion bug - case insensitive competions of command names sometimes got the path prepended to them
...
darcs-hash:20071028090605-75c98-b623c6bf3f5a5144cdecaf0c005d4acb980e33f1.gz
2007-10-28 19:06:05 +10:00
liljencrantz
5082054bcb
Some polising of english and swedish translations
...
darcs-hash:20071028010624-75c98-2943272173fa60e70e9e947e34a2ed05296156a7.gz
2007-10-28 11:06:24 +10:00
liljencrantz
2160777d2f
Implement non-clobbering file io. Use the >? operator for this for now.
...
darcs-hash:20071026184232-75c98-11edcbc7548c8ad3a2d4b648cb7ae18067569f02.gz
2007-10-27 04:42:32 +10:00
liljencrantz
a97faaf664
Indentation fixes.
...
darcs-hash:20071015132125-75c98-c59b345017f97ac4fe9bb166bf5128245a66e05a.gz
2007-10-15 23:21:25 +10:00
liljencrantz
0c1b40e3b3
Fix swallowing of last line on prompt display. Again. How many times have I triggered this bug?
...
darcs-hash:20071015132106-75c98-11863d8b1743b84f6ad448b64e5ccdeb5aaa5a2f.gz
2007-10-15 23:21:06 +10:00
liljencrantz
e54ce9a147
Minor bug fix - the parse_util_set_argv function can trigger an event, hence signals have to be unblocked when it is called.
...
darcs-hash:20071015132006-75c98-4ec10e4e26ea63c86c57f7e1f24f3d0fc60995b5.gz
2007-10-15 23:20:06 +10:00
liljencrantz
36e08dc49e
Make the maximum execve size test use sysconf. Create a fallback if sysconf is unavailable.
...
darcs-hash:20071015113936-75c98-078e9f8727e91d41fabc80827bf97c8e04dd97ba.gz
2007-10-15 21:39:36 +10:00
liljencrantz
dd02e96712
Second part of improved execve errors - this patch makes the memory limits nicely formated (e.g. 128kB instead of 136549 bytes).
...
darcs-hash:20071015095108-75c98-51c2ea6ab6edba5d1885eb5938f039054da775e2.gz
2007-10-15 19:51:08 +10:00
liljencrantz
4163040e56
First stab at better error reporting on too many arguments to execve.
...
darcs-hash:20071015093615-75c98-2137b887ca3c97bc3e4234e2fd14a1391b4cc85a.gz
2007-10-15 19:36:15 +10:00
liljencrantz
0bea4c46e3
Add very minimal fallback keybindings
...
darcs-hash:20071015085130-75c98-1c91b5d8cc1227f15d5de68b85af2ceadbf66e31.gz
2007-10-15 18:51:30 +10:00
James Vega
0f6fe652a4
Use wcscmp instead of
...
darcs-hash:20071013212606-35ec8-ba25df01017fb1c272ea9dae059fb4245e4c02da.gz
2007-10-14 07:26:06 +10:00
James Vega
afa0ed124f
Check whether '$TERM' starts with 'screen' instead of whether it's an exact match when determining if \ek\e\\ should be recognized.
...
There are various terminfo entries for screen that should be recognized aside from simply 'screen' such as 'screen-256color' and 'screen-bce'.
darcs-hash:20071013184358-35ec8-5e85add3cc1667781590e12118a98ec6641bc714.gz
2007-10-14 04:43:58 +10:00
liljencrantz
8904ab47aa
Remove mention of fish_inputrc in install scripts. The file no longer exists.
...
darcs-hash:20071014115259-75c98-f43cd2358ddd15b28eba4d47de383bef8c794615.gz
2007-10-14 21:52:59 +10:00
liljencrantz
25305c6b24
Fix bug in pager causing some keybindings to be ignoerd because other are undefined
...
darcs-hash:20071014111640-75c98-c4d271f9b033a4f644e1b58cdb2e8842aff198d2.gz
2007-10-14 21:16:40 +10:00
liljencrantz
89c27c6d9d
Indentation fixes
...
darcs-hash:20071014101502-75c98-5767d159d7c10deda49c23ad9e3758d93024950f.gz
2007-10-14 20:15:02 +10:00
liljencrantz
175dd75a3d
Tiny touchups of docs and code
...
darcs-hash:20071006105527-75c98-339c5d7ec2fbae0c2d4dc93552db85c389971a6a.gz
2007-10-06 20:55:27 +10:00
liljencrantz
9b74687384
Minor new sanity test in reader
...
darcs-hash:20071006105453-75c98-3f5d1a0a175a7b810f68b38dec472bb697081742.gz
2007-10-06 20:54:53 +10:00
liljencrantz
fcd474afe8
Make completion system not use quoted string escapes, since it generally looks a bit confusing there
...
darcs-hash:20071006105131-75c98-af770878124cc19946b964c0cf772818a5bf4216.gz
2007-10-06 20:51:31 +10:00
liljencrantz
3ca3b6209d
Make the Alt-p keybinding respect the PAGER variable
...
darcs-hash:20071006103231-75c98-59ef22ad49526f52cff8a97d9fac9f003af19213.gz
2007-10-06 20:32:31 +10:00
liljencrantz
9299515f3e
'Misfeature' fix for eval function - make it force job control when in interactive mode, in order to make commands that expect to control the terminal happy
...
darcs-hash:20071006102326-75c98-b168d709d54edb21c478ec2d69420468a2c08da1.gz
2007-10-06 20:23:26 +10:00
liljencrantz
188f0454b7
Use IO redirection to make the eval function actually have a working stdin
...
darcs-hash:20071005150245-75c98-d6a6d2f6ec1690079ee30f0e9cccf61e30e14c08.gz
2007-10-06 01:02:45 +10:00
liljencrantz
e55739296d
Don't crash when trying to close fds for a builtin command
...
darcs-hash:20071005150106-75c98-292df3863252c1eebd5734a241a2d80e6883f65f.gz
2007-10-06 01:01:06 +10:00
liljencrantz
68857220ac
Make fish automatically realise a repaint is needed in more situations, making many keybinding calls to 'commandline -f repaint' unneeded
...
darcs-hash:20071005145919-75c98-ce349d3718e54df30a050b97afee48b56ab46348.gz
2007-10-06 00:59:19 +10:00
liljencrantz
713c84d821
Make the . builtin have a more useful (and posix-compatible) exit status
...
darcs-hash:20071005145808-75c98-17100c1e321b8bca06f75e900db1386451232f98.gz
2007-10-06 00:58:08 +10:00
liljencrantz
d34d05ca8b
Comment updates, minor code cleanups and other janitorial jobs
...
darcs-hash:20071002100937-75c98-d4040e70a256e36a6334cca0a05d60500680132b.gz
2007-10-02 20:09:37 +10:00
liljencrantz
dac2129048
Minor comment updates and code tweaks in input code
...
darcs-hash:20071002092838-75c98-d98cf339d971128761f65f6878651bd7069f9f59.gz
2007-10-02 19:28:38 +10:00
liljencrantz
8cd8c3002e
Actually make the previously defined function for reloading key bindings on chage of function into an event handler as intended...
...
darcs-hash:20070930225557-75c98-284157fbbc56effe781bf26c21499a8e5586e563.gz
2007-10-01 08:55:57 +10:00
liljencrantz
4b85eb32d7
Remove readline legacy input function 'winch' and replace its functionality with an event handler function. Once again make the null keybinding do nothing. There are various sitauations where you want to perform a repaint at just the right time, and more or less by luck it worked very well to do this on null, but this really shouldn't happen and no longer does. Hopefully if new repainting issues turn up, they can be fixed at the root instead of once again reapplying this broken bandaid.
...
darcs-hash:20070930225354-75c98-8e2b518aa0ef694cee889c1c599ff4f158d9eb7f.gz
2007-10-01 08:53:54 +10:00
liljencrantz
5870ee7723
Add input function completions for the commandline builtin
...
darcs-hash:20070930074204-75c98-670704072134326d281626dcc6c1e7dc5be66140.gz
2007-09-30 17:42:04 +10:00
liljencrantz
feec9579c2
Drop the unneeded input-function delete-line. It was only there for compatiability with readline, which we have dropped.
...
darcs-hash:20070930073018-75c98-d3abd6e63797c4954778486064f5f55a718f066c.gz
2007-09-30 17:30:18 +10:00
liljencrantz
dde3838f2d
Drop the unneeded input-function exit. It was only there for compatiability with readline, which we have rdropped.
...
darcs-hash:20070929072114-75c98-db188ce2bc31a0668867f9de05ffeed098b988c2.gz
2007-09-29 17:21:14 +10:00
liljencrantz
97b77d1b3a
Indentation and comments
...
darcs-hash:20070928213922-75c98-96ae445e28ad3273c98ddc4ca16597988eb66d37.gz
2007-09-29 07:39:22 +10:00
liljencrantz
addb5a698d
Add a few extra directories to check for in path on startup
...
darcs-hash:20070928213855-75c98-3670b961e1b16bfdc952bbd8e6eccacdc368ff6b.gz
2007-09-29 07:38:55 +10:00
liljencrantz
db0a982570
Make path checking on startup faster by only using builtin commands
...
darcs-hash:20070928213821-75c98-65fb9e2159bfef7ab04468511378ac3efbf2308e.gz
2007-09-29 07:38:21 +10:00
liljencrantz
3a73b60956
Ignore errors when autoloading keybindings
...
darcs-hash:20070928213741-75c98-8339e7f5f5b465af315efd606fe866624f958320.gz
2007-09-29 07:37:41 +10:00
liljencrantz
f4f10a8226
Documentation improvements on new key binding system
...
darcs-hash:20070928213654-75c98-a4845fb417b0b29a75d4a337df18250bc488e271.gz
2007-09-29 07:36:54 +10:00
liljencrantz
d6c7e25bea
Add more keys to list of kes supported by 'bind -k'
...
darcs-hash:20070928213616-75c98-35f276b1c34b54684ee48681e6a04375cd3152c5.gz
2007-09-29 07:36:16 +10:00
liljencrantz
f28e83d3e9
Improve error reporting for bind builtin
...
darcs-hash:20070928213523-75c98-bd88022a63af1409ae28ae0829280df9652dcaff.gz
2007-09-29 07:35:23 +10:00
liljencrantz
0e716763d8
Replace variadic functions like sb_append and contains_str with variadic macros without a sentinel.
...
darcs-hash:20070928213227-75c98-2e7b06242acfd5fd0bf02ce77c41d52374f2363a.gz
2007-09-29 07:32:27 +10:00
liljencrantz
50f5941a82
Drop tokenizer.o from list of objects to include into fish_pager, since it wasn't actually used. Reduces size of pager binary by a few kB.
...
darcs-hash:20070926092957-75c98-393fa9d6ddb97a60fd0a8f5e86a2de6d2422e23b.gz
2007-09-26 19:29:57 +10:00
liljencrantz
093cb71f91
Fix bug in exit code that made the exit builtin exit even if there where running jobs if called directly from the commandline
...
darcs-hash:20070926090159-75c98-2760c6c24e21fd14711c9ce3bef1b0890b495d65.gz
2007-09-26 19:01:59 +10:00
liljencrantz
df4fdf33c4
Make escaping of the empty string return two quotes instead of the empty string
...
darcs-hash:20070925161959-75c98-1a0409c5fd12c7570e54cbdd9201548c7405196b.gz
2007-09-26 02:19:59 +10:00
liljencrantz
5694d3f027
Make escaped strings more readable
...
darcs-hash:20070925161916-75c98-c33aa140fb099f2003e5af3dadb5f613075b59d6.gz
2007-09-26 02:19:16 +10:00
liljencrantz
cf8e746d0c
First stab at dropping all support for readlines inputrc files and instead using an internal system for performing keybinding.
...
darcs-hash:20070925161447-75c98-1feaef88a4b518badb7879f598f06ab650a8f93b.gz
2007-09-26 02:14:47 +10:00
liljencrantz
af9c2067e1
Add missing escape highlighting for \c-style escapes and a few other escape codes
...
darcs-hash:20070925115514-75c98-3959f8729d32585232d191b4eead83935b36bff1.gz
2007-09-25 21:55:14 +10:00
liljencrantz
d44dd73682
Improve documentation in screen handling code
...
darcs-hash:20070924085602-75c98-0a60a87de51e0dbf7e64221b0382401e72745465.gz
2007-09-24 18:56:02 +10:00
liljencrantz
5938a93018
Make prompt have its own line if we things don't fit on a single line
...
darcs-hash:20070924084933-75c98-0b139cdab5da3f9c9f358d09275ed15fc0fbba52.gz
2007-09-24 18:49:33 +10:00
liljencrantz
79ac330afb
There code for detecting when a keepalive process was needed missed lots of cases. This should fix some issues. Both the keepalive code and the code for spawning fake processes for builtins should be rethought, though.
...
darcs-hash:20070924082144-75c98-ab62f758374952aa3b295af709d57931972f4683.gz
2007-09-24 18:21:44 +10:00
liljencrantz
e6764f3130
Improve commenting a bit
...
darcs-hash:20070924081823-75c98-20dee07adff34f2337c56b30f1e453cc38f40639.gz
2007-09-24 18:18:23 +10:00
liljencrantz
710a01c945
Improve error reporting in the . builtin
...
darcs-hash:20070924081428-75c98-72b9f1dfe64a40b0f7893c9ebcb59f477f6c924c.gz
2007-09-24 18:14:28 +10:00
liljencrantz
0b7b20f013
Make sure that ouput with no trailing newline is not eaten. This is a regression bug fix.
...
darcs-hash:20070924081301-75c98-86bd87a9323044807e78b8eb904bd6c5830ee23f.gz
2007-09-24 18:13:01 +10:00
liljencrantz
819c20e1d8
Fix bug causing some fish strings not to be translated
...
darcs-hash:20070923211111-75c98-3bac272b81c4af4e18968a532987d9a7be1c273a.gz
2007-09-24 07:11:11 +10:00
liljencrantz
61ebc12dd4
Minor polish like adding missing whitespace, switch to using --argument switch in function definitions to make code more readable, add a few minor saftey checks, etc.
...
darcs-hash:20070923210730-75c98-88557ba8b6020cae04a5e437c6bb6370e39c04d9.gz
2007-09-24 07:07:30 +10:00
liljencrantz
449a75756d
Fix narrow/wide encoding issues found through new test suite additions
...
darcs-hash:20070923210007-75c98-9ffee3b8f1ce24e1d6f178baa1f2ef52d70ee38b.gz
2007-09-24 07:00:07 +10:00
liljencrantz
5e2e9e2b9b
Add escape/unescape and wide/narrow conversion tests to the test suite
...
darcs-hash:20070923205918-75c98-1456ea86764a6a414f94c30e16aa2918b8341be1.gz
2007-09-24 06:59:18 +10:00
liljencrantz
737935ebe4
Fix bug caused by new escap beutification code. Some strings containing a single quote where incorrectly escaped.
...
darcs-hash:20070923145555-75c98-1125e148af36cb1bbe2f2029c3f1d118308721a6.gz
2007-09-24 00:55:55 +10:00
liljencrantz
0679a6351f
Fix bug making builtin help for the '.' builtin not show up.
...
darcs-hash:20070922223828-75c98-41cf335992cd61ef5c958889714766c513d5d5f7.gz
2007-09-23 08:38:28 +10:00
liljencrantz
657e3f8147
Whitespace fixes, etc.
...
darcs-hash:20070922222041-75c98-5aeb13041abd7ca8f9989e209fbaa5441fa78756.gz
2007-09-23 08:20:41 +10:00
liljencrantz
e6b9955fc1
Add switch fo scope hiding in output of functions builtin
...
darcs-hash:20070922221920-75c98-7a17d24162a3fbdfd9c05690d2358511a3ca0281.gz
2007-09-23 08:19:20 +10:00
liljencrantz
e1afe17671
Fix bug in eval function, forgot to turn off new scope creation.
...
darcs-hash:20070922193055-75c98-ea4a37e3ba1bce4da7d2b65ef464740cc67822e2.gz
2007-09-23 05:30:55 +10:00
liljencrantz
16e2c4805a
Use quoted escaping if possible. Most people find that more readable.
...
darcs-hash:20070922190838-75c98-635f62df48d611be05892c09e135e8a3993e76b2.gz
2007-09-23 05:08:38 +10:00
liljencrantz
5ecd0e22bf
Remove a few calls to the test command in favour of the switch builtin to speed statup up
...
darcs-hash:20070922190734-75c98-0e63a0ed6685edc2c9aa941f0b26c14466c7af6a.gz
2007-09-23 05:07:34 +10:00
liljencrantz
1420744669
Fix rather large performance issue on systems with slow fork syscall - a fork was used whenever redirecting output to /dev/null and using a builtin, completely unneeded.
...
darcs-hash:20070921214955-75c98-b513df263751506e5e82f97eafa08041228bc8de.gz
2007-09-22 07:49:55 +10:00
liljencrantz
048f903a9d
Create common function for listing available character encodings, make sure it is used in all relevant places.
...
darcs-hash:20070921211051-75c98-5ff21df5b29e8a66ef0c4488afb96acfdb6f74a2.gz
2007-09-22 07:10:51 +10:00
liljencrantz
dab7e6c7b9
Move mkae completion function to its own file
...
darcs-hash:20070921210401-75c98-6b303317ba375f0c6402e81902e599e79a9c06ed.gz
2007-09-22 07:04:01 +10:00
liljencrantz
06de2602cb
Clean up interactive mode init a bit. Move a few utility functions to their own files.
...
darcs-hash:20070921205212-75c98-b8b6f88e151e8d0d2fca21626bf8e36a22c565b1.gz
2007-09-22 06:52:12 +10:00
liljencrantz
65d223e672
Make sure all keybinding scripts repaint properly
...
darcs-hash:20070921151723-75c98-83f2fe86ace0f6e567db26faa4d94665971af145.gz
2007-09-22 01:17:23 +10:00
liljencrantz
c0aac8996d
Improve documentation for breakpoint builtin
...
darcs-hash:20070921151654-75c98-550df5aebaa11855c53585202ab7fafe7c5820ad.gz
2007-09-22 01:16:54 +10:00
liljencrantz
3692074e7e
Make R_NULL not repaint and document the fact that this means some keybindings need to manually tell fish to repaint
...
darcs-hash:20070921144426-75c98-7db4351e14733e2c18e44515e8ed78b1f1faea80.gz
2007-09-22 00:44:26 +10:00
liljencrantz
954c99a5ad
Minor improvement to docs for count builtin
...
darcs-hash:20070921144301-75c98-02d497e712c6932322a74d82fc7a772c92e19552.gz
2007-09-22 00:43:01 +10:00
liljencrantz
8c4770a26c
Add boilerplate definition when using funced on undefined function
...
darcs-hash:20070921142954-75c98-752f389dfe4022ea3e72092bb717a60314408d41.gz
2007-09-22 00:29:54 +10:00
liljencrantz
624878d35f
Minor bug correction in new cursor movement code.
...
darcs-hash:20070921142301-75c98-7fc9bbdf1591e0fc24a562e69bf483845a160df5.gz
2007-09-22 00:23:01 +10:00
liljencrantz
2375578310
Add a few comments, remove debug message add function descriptions to up-or-search and down-or-search shellscript functions
...
darcs-hash:20070921141121-75c98-0c6b3970f766429ba5e5c674ab3f6283f1f8824c.gz
2007-09-22 00:11:21 +10:00
liljencrantz
084c0c5f80
Correct minor typos, stupid error messages, indentation and drop unused variable.
...
darcs-hash:20070921140752-75c98-74318b9daffa071845187bcc0b72259ca37b7e18.gz
2007-09-22 00:07:52 +10:00
liljencrantz
d2d397d9eb
Make up/down cursor move up or down when in multiline mode, except if already in search mode or at the top/bottom line. Since part of this is done in script-space, this involves adding some functionality to the commandline builtin.
...
darcs-hash:20070921140549-75c98-ba9e83f5e6fdecae5df8f83dd863794c6af9770c.gz
2007-09-22 00:05:49 +10:00
liljencrantz
607e970659
Further improve accuracy of cd builtins error messages. Now correctly reports rotten symlinks.
...
darcs-hash:20070920175243-75c98-e210034c7bfc8308be9e03017a5a0d8ef7648b9c.gz
2007-09-21 03:52:43 +10:00
liljencrantz
3b39b1fa03
Significantly improve accuracy of error reporting in the cd builtin
...
darcs-hash:20070920172928-75c98-826cd86e1c33e1f6c746227655e340a6bb459f30.gz
2007-09-21 03:29:28 +10:00
liljencrantz
64933d31a6
Remove generated versions of scripts on 'make clean'
...
darcs-hash:20070920172500-75c98-29ba72a339c3681a5eb20cd346a9a877618813cb.gz
2007-09-21 03:25:00 +10:00
liljencrantz
c780f1a8c9
Do not use enter/exit_ca_mode if they don't exist in fish_pager
...
darcs-hash:20070909140641-75c98-7c7ff3fae5be6432998a30c51ad90ae4c6e3babe.gz
2007-09-10 00:06:41 +10:00
liljencrantz
76bb8e79b2
Add better debbuging information when writembs is called with null value.
...
darcs-hash:20070909140436-75c98-b6c925c441ebaa349f998b95314295296fb36252.gz
2007-09-10 00:04:36 +10:00
liljencrantz
370aeec44d
Fix bug in the count builtin, causing it to exit with status 0 even if no arguments where given
...
darcs-hash:20070909135734-75c98-2d0495a15440e50fb6521bffef85147832771c80.gz
2007-09-09 23:57:34 +10:00
liljencrantz
b0ae3dc9cc
Handle merge confligt for previous patches. The exact same bug was fixed twice.
...
darcs-hash:20070908222725-75c98-2e1d0b090608d71f452c6ba7c3e1281782ebec11.gz
2007-09-09 08:27:25 +10:00
axel
a900d16540
Fix insane bytemark issue on Solaris
...
darcs-hash:20070908191940-ac50b-f99e05c86f32a5c1c1aff35c1916951269a54d54.gz
2007-09-09 05:19:40 +10:00
axel
3fc1ba0f0e
Fix incorrect escape character in unescape function
...
darcs-hash:20070908191855-ac50b-e98e433dc23b6357c3a23d935de4bcb55efb9da9.gz
2007-09-09 05:18:55 +10:00
axel
38ed4c0f9b
Avoid void pointer arithmetic in halloc.c
...
darcs-hash:20070908191814-ac50b-bb024c5a7ee878810bc7e12dcbcce32ff0145090.gz
2007-09-09 05:18:14 +10:00
axel
5a61ae3e0d
Avoid magic number in main.c
...
darcs-hash:20070908191743-ac50b-7185b9d59122cb9a090cacfbb43266822400e1ed.gz
2007-09-09 05:17:43 +10:00
axel
c9fe154c01
Avoid using test command in prompt, makes it slightly faster
...
darcs-hash:20070908191717-ac50b-c2d936bff0e7aead0aecad6aa9e024e63b72fc97.gz
2007-09-09 05:17:17 +10:00
axel
2a3b01a7a0
Avoid using -n switch to ecco
...
darcs-hash:20070908191554-ac50b-22f205c0da9dde0cbe19154ee6f4f64fed49241a.gz
2007-09-09 05:15:54 +10:00
Claes Nästén
c2c4b24174
Fix issue in error handling, reported to and fixed by Axel Liljencrantz. Change val[0] and body[0] in env universal to val[1] and body[1] to support compilation with Sun Studio. Change default prompt to use pekdon instead of whoami as it does not exist under Solaris.
...
darcs-hash:20070822080052-cac88-326332f0df7d17ddca4a4496c93728a47f19bba5.gz
2007-08-22 18:00:52 +10:00
Claes Nästén
74a270ea32
Add tparm fallback to use under systems having tparm with fixed number of paramters, required with Solaris curses. Updated configure script to check for c99 for compilation with Sun Studio under solaris and updated LDFlAGS for fish_pager etc to include library dependencies from common.c etc.
...
darcs-hash:20070822075741-cac88-5532b074490bce1d7f37289b1774a4a5e44416d8.gz
2007-08-22 17:57:41 +10:00
Claes Nästén
2994378e1a
Fix compilation with Sun Studio compiler changing \e to \x1b as it does not support \e as an escape character.
...
darcs-hash:20070822075239-cac88-1a9768bf35295615d553192d9a494f00db26f742.gz
2007-08-22 17:52:39 +10:00
Claes Nästén
baeca81305
Fix compile issue with Sun Studio, read_redirect returns void still doing return read_direct breaks with error about returning from function returning void.
...
darcs-hash:20070822074900-cac88-95305ba9542eec028dc7e6bb462aab10897fb693.gz
2007-08-22 17:49:00 +10:00
liljencrantz
151943f89e
Indentation, typo and formating fixes. Very minor patch.
...
darcs-hash:20070908222453-75c98-2236d962f0c9016820063e871fbbeaa42f36ef22.gz
2007-09-09 08:24:53 +10:00
liljencrantz
ad02bb9b48
Add a 'generic' type of event that can be emited from any piece of code or by the user. Use this event layer to perform interactive configuration startup at the correct time.
...
darcs-hash:20070819164230-75c98-f91b8a73de7bbbb500d80770ddf4d2d46ae592cc.gz
2007-08-20 02:42:30 +10:00
liljencrantz
e464b4270c
Make the prompt different when root user. This change was suggested by Claes Nästén.
...
darcs-hash:20070818230302-75c98-8015683bda0bc75aeab048e2f6509afc9809ffa1.gz
2007-08-19 09:03:02 +10:00
liljencrantz
e076f2c239
Make the contains builtin not allow reordering of switches and non-switches
...
darcs-hash:20070814214257-75c98-a50161a8146dfd0a6c6a948e1960f93dd52275fd.gz
2007-08-15 07:42:57 +10:00
liljencrantz
3cb24e0681
Add missing file creation mask for open. This fixes a compilation bug on the upcoming Fedora 8. Thanks to Oliver Falk for reporting the issue as well as figuring out the cause.
...
darcs-hash:20070814213722-75c98-5466a6be1e29984da67d5de0d1fe8e04ec1373bb.gz
2007-08-15 07:37:22 +10:00
patroclo7
27baa6e62b
Completions for prt-get and pkgutils, the package management utilities for CRUX (Giorgio Lando)
...
darcs-hash:20070803202253-782a0-e2140559cdf45e3a543c3e9d915fe84537ee73a6.gz
2007-08-04 06:22:53 +10:00
Giorgio Lando
fa9d00a81a
Completions for ports, a tool for port management in CRUX linux
...
darcs-hash:20070804110916-cbd54-5a9d129b9cfc7bf1b8f09248631ddbfbfc0dda22.gz
2007-08-04 21:09:16 +10:00
liljencrantz
04948702e0
Add a mino-prompt when the normal prompt is too large to display. The old behaviour was to simply not print any proimpt, but that lead to thinking fish had hanged since there was no prompt at all.
...
darcs-hash:20070802225939-75c98-16623ffd640c6036331844334b0ff6f9f211934d.gz
2007-08-03 08:59:39 +10:00
liljencrantz
20526687b2
Drop contains function, since we now have a builtin.
...
darcs-hash:20070801225554-75c98-cbaba63efdd06277364cc9b3ef871b9e76a7edb9.gz
2007-08-02 08:55:54 +10:00
liljencrantz
0a0870180d
Fix duplicate switch antry in builtin_status. Don't know if this was caused by patch bug or typo.
...
darcs-hash:20070801225421-75c98-8c91f5fb00ccc05ac40ef12ffbfc68fec5e64dd0.gz
2007-08-02 08:54:21 +10:00
liljencrantz
972edef341
Replace the contains function with a builtin for performance reasons. The contains function used at lots of forks, which was noticable on systems such as OS X with slow forks, as well as on completions that do a lot of tests, like svn
...
darcs-hash:20070801225318-75c98-48cc4d685ab665c7c2eb93ac3c374bf5afecd28a.gz
2007-08-02 08:53:18 +10:00
James Vega
8ed521c817
Update status builtin to properly handle and document all of its options.
...
darcs-hash:20070801194450-35ec8-e2fe5b798e728d1caef474295a92230c35c79c17.gz
2007-08-02 05:44:50 +10:00
axel
88199d6b51
Implement a minimal 'dumb terminal mode'. This mode is used to at least get the relevant information on-screen when using a dumb terminal, though the interface is pretty crippled.
...
darcs-hash:20070801190754-ac50b-4a07ba05455f3ff55e337a78320dc4302cd3502c.gz
2007-08-02 05:07:54 +10:00
axel
782a739736
Remove confusing and misleading error message when trying to repaint the prompt during startup, reported by Chris Rebert.
...
darcs-hash:20070801180901-ac50b-43abf47182fcaa19fdbd993d480ac07f2915b6ed.gz
2007-08-02 04:09:01 +10:00
axel
cd19320ab2
Minor bug fix in mime-completion-filter - correctly handle when there is no mimetype
...
darcs-hash:20070801173955-ac50b-0459fc6049e9ee1907c368b8a5a01b6aa1973e45.gz
2007-08-02 03:39:55 +10:00
axel
58fd6b895a
Minor error handling improvements and minor code polish
...
darcs-hash:20070801173801-ac50b-11a281d9f622e935c1f138355babd20269068f35.gz
2007-08-02 03:38:01 +10:00
axel
df55e89bbb
Spelling fixes from Chris Rebert
...
darcs-hash:20070801173524-ac50b-760d9ddf0e68aa24cd570b542824a7f2b3248ff5.gz
2007-08-02 03:35:24 +10:00
axel
91de143003
Replace the count function with a builtin for performance reasons. The count function used at least two forks, which was noticable on systems such as OS X with slow forks
...
darcs-hash:20070731212332-ac50b-8f5b2e70008ddb131dc8bae3f361d8d65a294948.gz
2007-08-01 07:23:32 +10:00
axel
748d726ddf
Replace the count function with a builtin for performance reasons. The count function used at least two forks, which was noticable on systems such as OS X with slow forks
...
darcs-hash:20070731212320-ac50b-3bae489646f359ca86bb1f049901860ce9aedd5f.gz
2007-08-01 07:23:20 +10:00
axel
2caaa7526d
Make sure completion descriptions generated by make_vcs_completions.fish are properly escaped. Thanks to Claes Næstén for the bug report.
...
darcs-hash:20070605105111-ac50b-e2cbb17047be6c6b0ddf5847507986f50c97be4c.gz
2007-06-05 20:51:11 +10:00
axel
778aa1c304
Print 'unknown' if 'mimedb -d' fails
...
darcs-hash:20070524171053-ac50b-c9374e0da7f4cf1458a19d9234e4752ae156e37e.gz
2007-05-25 03:10:53 +10:00
axel
c40eb8a716
Update regexps in mimedb to work on NetBSD. (NetBSD does not support having empty subexpressions. This bug was reported and diagnosed by Claes Nästén.
...
darcs-hash:20070524063728-ac50b-9377f6d2ba709e997c00d716e766a912cc1ee23e.gz
2007-05-24 16:37:28 +10:00
axel
1c6236831c
Fix character set conversions in both directions in universal variable code. This fixes encoding issues on NetBSD. This patch was written by Claes Nästén.
...
darcs-hash:20070515194610-ac50b-9da1b06c8235dd94ae26074f2a42809d5b856743.gz
2007-05-16 05:46:10 +10:00
axel
c1b4fa847f
Improved error reporting in mimedb for failed regexps. This patch was written by Claes Nästén.
...
darcs-hash:20070515193751-ac50b-8221971ea524cddaba3e8e72a61b151b399ea7b6.gz
2007-05-16 05:37:51 +10:00
axel
a6644631d9
Show hints on how to proceed if xsel fails to build
...
darcs-hash:20070510192411-ac50b-ec68699d6ca6ba2b315e5f283e30dfba4bad75b4.gz
2007-05-11 05:24:11 +10:00
axel
e4f5bc69e2
Make sure that the PWD and HOME variables are always in canonical form
...
darcs-hash:20070510191128-ac50b-dd51a75617d62e4f403094ddc7527a82c5de3103.gz
2007-05-11 05:11:28 +10:00
axel
03f322c715
Use ucs4 or ucs2 as a fallback character set if wchar_t encoding is not supported by iconv
...
darcs-hash:20070510061428-ac50b-ae9bfda1cc24bc29c2c492f902854440da319bfc.gz
2007-05-10 16:14:28 +10:00
axel
a72d877752
Add missing -b switch for the commandline builtin. This issue was reported by philip ganchev
...
darcs-hash:20070427223131-ac50b-f7a40d4cf7622cbce4b9d73cc2bc5e2d27ce386f.gz
2007-04-28 08:31:31 +10:00
axel
d0585befb3
Make sure that io redirections are respected by the '.' builtin. This was not the case earlier, which caused various bugs, especially after eval was made into a function that internally used '.'
...
darcs-hash:20070425183002-ac50b-d7d93e3b74e7274fe3e0aad98e95dd608bb903ae.gz
2007-04-26 04:30:02 +10:00
axel
784c5d9fa3
Update todo list
...
darcs-hash:20070424205314-ac50b-2b1048b8a50fd21fd264eba5b00647f3bdf23304.gz
2007-04-25 06:53:14 +10:00
axel
52e7a7ec1c
Actually add the count function. Thanks to Tassilo Horn for the report.
...
darcs-hash:20070424153317-ac50b-f6ab71ad0ea9d74351169d18f1dc856a442ee3f4.gz
2007-04-25 01:33:17 +10:00
axel
c00e1fcf26
Fix bug in stack trace printing code
...
darcs-hash:20070424060620-ac50b-174e68e78bc2b1d6e5e3f5787e4a252cad95911c.gz
2007-04-24 16:06:20 +10:00
axel
5425970706
Add a fes minor completion corrections
...
darcs-hash:20070423220148-ac50b-460b1d404dca7169054459ab6c7f9845dad51a05.gz
2007-04-24 08:01:48 +10:00
axel
419b3166c8
Implement count as ashellscript function instead of a command in order to support very long argument lists. Note that this implementation is painfully slow for more than 1000 arguments.
...
darcs-hash:20070423220026-ac50b-69c4b06c88e6120429b6358f1b61f6076d392ce5.gz
2007-04-24 08:00:26 +10:00
axel
e2714b05eb
Launch debug shell on TRAP signal.
...
darcs-hash:20070423211026-ac50b-fccf4fb588775fbacc5cdc9f121abe417970066f.gz
2007-04-24 07:10:26 +10:00
axel
2c02b59703
Replace the eval builtin with a function
...
darcs-hash:20070422221806-ac50b-28cffc6c3063c14cd8ab30f999e3530314c78af2.gz
2007-04-23 08:18:06 +10:00
axel
ee94424b0f
Add the possibility for functions which do not shadow the arguments of the calling function
...
darcs-hash:20070422221033-ac50b-d9544c87d0ddab10f7f503b5a1707292f266efe4.gz
2007-04-23 08:10:33 +10:00
axel
2b7535bb51
Make the . (source) builtin able to read commands from stdin
...
darcs-hash:20070422211947-ac50b-b8d33d81fcef5e0b7e76a8d2a9f0bcbcf3ac67b7.gz
2007-04-23 07:19:47 +10:00
axel
c5805cfd47
Validate variables names when using named arguments for functions
...
darcs-hash:20070422211624-ac50b-11920a8a00c7bae97c3556bc7ce47b3022c34f08.gz
2007-04-23 07:16:24 +10:00
axel
7ca76ef743
Make 'functions' builtin print named arguments of functions
...
darcs-hash:20070422211534-ac50b-3293f1d733a8a3be760f344598bfae8b77647b2f.gz
2007-04-23 07:15:34 +10:00
axel
2c743173d3
Fix minor memory leak on printing help for builtins
...
darcs-hash:20070422211451-ac50b-42293b46e39cd5d0cfdf2ca63effe12faa048970.gz
2007-04-23 07:14:51 +10:00
axel
003dfb99da
Prettyfy output of 'functions' builtin a tiny bit
...
darcs-hash:20070422185627-ac50b-99b7c27d06f5a6d5e7a7b66da864317bf1019fe2.gz
2007-04-23 04:56:27 +10:00
axel
dd48de068d
Add funced function, which works like vared, but with functions
...
darcs-hash:20070422185539-ac50b-9080fb745cec45609e7e29971b55b96e073806e6.gz
2007-04-23 04:55:39 +10:00
axel
cb179c448b
Minor tweaks to the indent program
...
darcs-hash:20070422185429-ac50b-f054a56d16ba55d2bbbd1d61e8bbfcb6c17a23a9.gz
2007-04-23 04:54:29 +10:00
axel
c323fc226f
Add support for changing token separator in command substitution. IT is not the first character of IFS, same as in various other shells
...
darcs-hash:20070422184956-ac50b-7e03b375feb9fd22e11aa7a7d8f8add8e3b717a5.gz
2007-04-23 04:49:56 +10:00
axel
176c1a487b
Minor improvements to the completion generator and gcc completions
...
darcs-hash:20070422101414-ac50b-07612cd287d524a361e358369732c26fc9ff3b67.gz
2007-04-22 20:14:14 +10:00
axel
2872df66d7
Add source code prettyfier program called fish_indent
...
darcs-hash:20070422100312-ac50b-a073999b7dc172259c8200f3e740c921647222a0.gz
2007-04-22 20:03:12 +10:00
axel
45412f2b1f
Move keyword detection code to separate file
...
darcs-hash:20070422095026-ac50b-77a840e2830370f46b7a48fd8863095d2cd7a5f0.gz
2007-04-22 19:50:26 +10:00
axel
e9790db64a
Fix bug in parser, on incomplete blocks. This bug was handled correctly by the error handler, so it was non-critical.
...
darcs-hash:20070422094847-ac50b-f8aff4c2939725e256b2f6d020f98240d2658d50.gz
2007-04-22 19:48:47 +10:00
axel
8ab1d0254c
Add missing help building dependency
...
darcs-hash:20070421081244-ac50b-e78d648a50ec2ec48ef6bf95f5540e3c1a684633.gz
2007-04-21 18:12:44 +10:00
axel
4c858a10c9
Minor code edits (comments, function rename)
...
darcs-hash:20070421081122-ac50b-fdd497a6ff8a1d2507509f21a168c9130ed59ad7.gz
2007-04-21 18:11:22 +10:00
axel
b4ccce2dc3
Add completion support for named function arguments
...
darcs-hash:20070421080931-ac50b-c3e482ad145c619d23cc5f19256010b5b0697c57.gz
2007-04-21 18:09:31 +10:00
axel
06688fb9ea
Change output format of complete -C to make writing case insensitive command specific completions more transparent
...
darcs-hash:20070420195506-ac50b-b5f56bb2964e65d13abfb9281ce26db2b8c341b7.gz
2007-04-21 05:55:06 +10:00
axel
4d5c50cbb3
Fix minor bug - the description would occasionally get appended to command specific tab completions in case insensitive mode
...
darcs-hash:20070420193430-ac50b-13e34ac41cf1662a74f0af329fb41d872df5d691.gz
2007-04-21 05:34:30 +10:00
axel
91d1dee06b
Add completions for evince
...
darcs-hash:20070418224801-ac50b-83713782420d5f820add93e47b57d2289f289b61.gz
2007-04-19 08:48:01 +10:00
axel
3e030bc6c6
Add a completion function for completiong file url:s
...
darcs-hash:20070418224611-ac50b-4e457b2218751a182989f3635bb98c5e8a8b9766.gz
2007-04-19 08:46:11 +10:00
axel
b9009eba96
Remove explicit directory completion from __fish_complete_mime, we only want directory completion as a fallback in order to minimize the number of reasonable completions that are ignored. This issue was reported by Claes Nästén.
...
darcs-hash:20070417225658-ac50b-26178885ea4f8693858a74cec57a743831430634.gz
2007-04-18 08:56:58 +10:00
axel
90c5cea43d
Fix URL character encoding bug in mimedb
...
darcs-hash:20070417062932-ac50b-7816e307ab180be02fc247f6c4796e7fa774862d.gz
2007-04-17 16:29:32 +10:00
axel
52f9560b4f
Rename save_function to funcsave to keep consistency between function/variable functions
...
darcs-hash:20070416214453-ac50b-9ec9559fc468256dc149e92e9fece37da940ad7e.gz
2007-04-17 07:44:53 +10:00
axel
91ca8610ee
Use cpp macro to avoid manually adding sentinel value to varargs functions
...
darcs-hash:20070416214041-ac50b-f682569c0d29ab3519bb59335debba525a640175.gz
2007-04-17 07:40:41 +10:00
axel
2efb88a30a
Minor code cleanup in history search code
...
darcs-hash:20070416212615-ac50b-ca37865e50d0773abb5a4fdc7f71e5fa9a503c34.gz
2007-04-17 07:26:15 +10:00
axel
87223c68f4
Fix bug where case insensitive completions would miss the leading slash in file completions. This bug was reported by Claes Nästén.
...
darcs-hash:20070416210605-ac50b-eb1bc315ec360f8ccd5f37194c274796be97c607.gz
2007-04-17 07:06:05 +10:00
axel
5c9570eb56
Minor code tweaks
...
darcs-hash:20070416201053-ac50b-99d3ee51ef2b3642c737c3809bc2a4bfbe103b67.gz
2007-04-17 06:10:53 +10:00
axel
778b6a31ad
Fix warning caused by bad casting
...
darcs-hash:20070416201034-ac50b-89a7257eadbf9098222cfb5ddc4bcf4bb88a8681.gz
2007-04-17 06:10:34 +10:00
axel
4d6751c274
Allow named arguments to function instead of only $argv. Philip Ganchev once suggested this, and it was suggested again by Egil Möller.
...
darcs-hash:20070416200611-ac50b-5eb42c94a65a4e72cae12cd9c04424bdc3b2b4f8.gz
2007-04-17 06:06:11 +10:00
axel
a03a4d1ba3
Add newline to error message in alias.fish. This problem was reported by flixil.
...
darcs-hash:20070412115221-ac50b-0ff23d6e2158522d10c7e799dc9f1594112f1869.gz
2007-04-12 21:52:21 +10:00
axel
5a670e2a96
Fix bug where fish would refuse to start if $HOME has an invalid value. Thanks to James Vega for the report.
...
darcs-hash:20070411131823-ac50b-2760c09e8939179a6c771a44220aa355381f4f0b.gz
2007-04-11 23:18:23 +10:00
axel
edf896f7cd
Fix crash bug in recursive completion (e.g. 'which ls'). This bug was reported by Philip Ganchev
...
darcs-hash:20070326061307-ac50b-a89d4427b3f416f31e214bd833c4c76c6ebe3580.gz
2007-03-26 16:13:07 +10:00
axel
e128fa1a8e
Fix a bug where io redirection of builtins would not truncate files if the builtin did not produce any output
...
darcs-hash:20070324223430-ac50b-3f3d6fd35f5b82c59ecaa06b459fe2b61dc8f387.gz
2007-03-25 08:34:30 +10:00
axel
e8ba091161
Move documentation on fish_prompt to the external command section
...
darcs-hash:20070324222135-ac50b-0b27258486492ea6178a852061dc894da60140ee.gz
2007-03-25 08:21:35 +10:00
axel
65d99117aa
Minor code simplification in util.c
...
darcs-hash:20070324193801-ac50b-e45d88fd7de0204467a0f7d52b71ee323f4e3f0d.gz
2007-03-25 05:38:01 +10:00
axel
94a483d46b
Minor tweak to vcs completion generation code. Most significantly, some svn command descriptions which where previously truncated are now complete.
...
darcs-hash:20070324193714-ac50b-61b10db649ef82ba8d8d658ef10cc05c2253d5f0.gz
2007-03-25 05:37:14 +10:00
axel
e750f1a3c2
Minor documentation fixes
...
darcs-hash:20070324191646-ac50b-0892de7e96348caf198830af2b2ad46b84f9f13e.gz
2007-03-25 05:16:46 +10:00
axel
3f4b47b4af
Fix bug where case insensitive file completions would get directory components removed
...
darcs-hash:20070324190738-ac50b-2f94de910083eae1fe563284b9953071df706072.gz
2007-03-25 05:07:38 +10:00
axel
f6b3fcb4f5
Add missing sentinel value in function call - potential crash bug
...
darcs-hash:20070324190423-ac50b-e32dddfd98131c542133b98a8c49bc3d9c345fec.gz
2007-03-25 05:04:23 +10:00
axel
8fe90e4327
Include the make_vcs_completions.fish file that is used to generate various completiosn with the main tarball. Nick Pilon pointed out that it was missing. This patch also removes the make target for the file, which was used to chmod it, which is not needed since it is not used in the build chain.
...
darcs-hash:20070324115040-ac50b-d5b525be925d1a738b9ca6252c89e662a02a9e44.gz
2007-03-24 21:50:40 +10:00
axel
a17019e439
Do not flag a lone '-' as an error. Many commands accept it.
...
darcs-hash:20070324111455-ac50b-aaee0e9c80c3e57b1f0b5f421c80ed599d5c1e1b.gz
2007-03-24 21:14:55 +10:00
axel
b5baac8291
Try to fix the dependency problems with user_doc. Thanks to James Vega for investigating the cause of this.
...
darcs-hash:20070324110801-ac50b-ee833df5e34ae4fff8a4adb417647aadb8be9e29.gz
2007-03-24 21:08:01 +10:00
axel
f36508837b
Use per-binary LDFLAGS to remove linking to useless libraries. This will reduce the size of the binaries and may also speed up startup time slightly. These changes are based on suggestions and a patch by James Vega.
...
darcs-hash:20070324105629-ac50b-64425ff68a18e3adf51eee141d3a4450405c1ddb.gz
2007-03-24 20:56:29 +10:00
axel
3969c1b453
Add a blacklist of console types that are known not to support terminal titles, even when in a virtual terminal
...
darcs-hash:20070317233846-ac50b-4030f863aefb96085368470b76ee9da146c04c96.gz
2007-03-18 09:38:46 +10:00
axel
1e524fbc7a
Fix occasional shoowing of the same completion twice. Than ks to Tassilo Horn for the bug report.
...
darcs-hash:20070317231623-ac50b-a9447aa60d0ca654713a5391a3f6137d29d98916.gz
2007-03-18 09:16:23 +10:00
axel
3e1b0e587e
Fix performance bug in command description lookup - it was performed once for every element in PATH. Thanks to Tassilo Horn for the bug report.
...
darcs-hash:20070317225611-ac50b-5df5227ddd88747781c981ed34a80844391573d1.gz
2007-03-18 08:56:11 +10:00
axel
2aea1d5a84
Initial checkin of code for using case insensitive completion as a fallback for regular completion. Some types of completions don't yet support the feature.
...
darcs-hash:20070228214327-ac50b-9b5c69a1c3e0c11b560f8c61be0441d2ee9d6404.gz
2007-03-01 07:43:27 +10:00
axel
6616543991
Add breakpoint builtin
...
darcs-hash:20061111105400-ac50b-18b9165f8719efd45b46e3b3786f7079edd721e7.gz
2006-11-11 20:54:00 +10:00
axel
83a3706099
Various minor codee updates. Dead code removal, comment tweaking. Spelling fixes, etc.
...
darcs-hash:20070225111738-ac50b-9656f807d2e41ebb06a43e10925834420740e20d.gz
2007-02-25 21:17:38 +10:00
axel
7c96cb2ff8
Second round of bug fixes and minor code improvements after the completions struct update. Fix space insertion issues on command specific completions.
...
darcs-hash:20070225103715-ac50b-5aaaa1c1c6ed1084ba68841fb70cc23c84f19806.gz
2007-02-25 20:37:15 +10:00
axel
a3c5718eb9
Round of bug fixes and minor code improvements after the completions struct update. Moves the file description code to wildcard.c, where it was actually used. Simplifies the memory allocations in that code significantly. Makes sure directoriy names don't get a space inserted after the completion.
...
darcs-hash:20070225090524-ac50b-4d095bf8da7c788a7828e707556edbdc0bbf5000.gz
2007-02-25 19:05:24 +10:00
axel
9b10fa4762
Make halloc-based list allocation work without context
...
darcs-hash:20070224131932-ac50b-4523781b1e3cc49e7cd7e3b2e1f21e28b1c5503f.gz
2007-02-24 23:19:32 +10:00
axel
0f51d5ec18
Do not use makefile to generate vcs completions, do it directly in the script. Also add some minor updates to the vcs completions.
...
darcs-hash:20070224125927-ac50b-f1242b198ea0651c993b045d584262dc32062338.gz
2007-02-24 22:59:27 +10:00
axel
73a67c2a43
Fifth phase of using a real struct for passing around completions - make expand.c and wildcard.c use the struct internally. This makes all completion code use the new struct.
...
darcs-hash:20070224081131-ac50b-aba4ff255c6dc1ce9ad375d6cd1acde919c7cbd6.gz
2007-02-24 18:11:31 +10:00
axel
6859e012d9
Fourth phase of using a real struct for passing around completions - make expand_string return a completion_t struct. Also make the reader sort and remove duplicates again
...
darcs-hash:20070218232520-ac50b-e23339ec5bba673681eced110e1b0b344eb5d976.gz
2007-02-19 09:25:20 +10:00
axel
680cf17570
Third phase of using a real struct for passing around completions - make all of complete.c use the completion_t struct
...
darcs-hash:20070218120841-ac50b-ae97122e9c9922271e93f9b7dd8808072820e873.gz
2007-02-18 22:08:41 +10:00
axel
854c4aee9a
Second phase of using a real struct for passing around completions - make variable, user and command completion use the completion_t struct
...
darcs-hash:20070217110555-ac50b-8f08ade57885bc2ee17a07f5e789368e7dad9421.gz
2007-02-17 21:05:55 +10:00
axel
104ec963c2
First phase of using a real struct for passing around completions - only use it on things returned by complete(), e.g. use it in the reader
...
darcs-hash:20070209093350-ac50b-d91fe87be4612a56bff2139349cefa28a504cbb7.gz
2007-02-09 19:33:50 +10:00
axel
08eb92707a
Fix paran mismatch bug in umount completions that popped up when dropping the N_ script
...
darcs-hash:20070223163630-ac50b-efa267645ce113eab089d49d240bb3e00e9f07e5.gz
2007-02-24 02:36:30 +10:00
axel
e50f43416b
Add missing file for vi completions that is needed to complete files selectively based on mime types. Also use it to improve emacs completions, in order to balance my GNU karma.
...
darcs-hash:20070222214555-ac50b-60aa6a3e4cea77451c51d40d2a574d145f3de4fe.gz
2007-02-23 07:45:55 +10:00
axel
58755fc579
Do not make documentation generation depend on Makefile
...
darcs-hash:20070216200015-ac50b-981a883d95acd776e1e58d6ca74f95b5494fd305.gz
2007-02-17 06:00:15 +10:00
axel
31ca1218d4
Fix bug where fish would randomly assume completions are authorative
...
darcs-hash:20070209093237-ac50b-d6ccbddf652a8307c8fd43406fc0ad059a2ba834.gz
2007-02-09 19:32:37 +10:00
axel
44e8a12b66
Update darcs completions with additional command specific completion for setpref subcommand
...
darcs-hash:20070208172759-ac50b-2a233f8590dbb13a47ff243efa351dc6bce8f47a.gz
2007-02-09 03:27:59 +10:00
axel
fe21577a8e
MArk make_mercurial_completions.fish as executable
...
darcs-hash:20070208172658-ac50b-c721b6a07934d11e8467dad78a2fbb206f0b24cd.gz
2007-02-09 03:26:58 +10:00
axel
a4ac924512
Bump version number
...
darcs-hash:20070208170725-ac50b-083a3c094fc4901b949cd71e7ff956f6dae958c4.gz
2007-02-09 03:07:25 +10:00
axel
e936629dc3
Minor documentation update to reflect change in how __fish_complete_suffix function works
...
darcs-hash:20070208170339-ac50b-3ce23bc61e8cd7c4874748dd5f1395739c57ad36.gz
2007-02-09 03:03:39 +10:00
axel
dfabf7f206
Update todo list
...
darcs-hash:20070208170232-ac50b-7413e8283f40a38c9790b391a70954897ae0bcae.gz
2007-02-09 03:02:32 +10:00
axel
7118269e4b
Minor tweaks to vared function
...
darcs-hash:20070208170118-ac50b-76ea318d47de28a4437ecf0a50daea2c617017ea.gz
2007-02-09 03:01:18 +10:00
axel
100355c3c1
Add chengelog entry to spec file for fish
...
darcs-hash:20070208170032-ac50b-d748dc073ffb6ea0e209d0d99bd3dcc6eba2f2cd.gz
2007-02-09 03:00:32 +10:00
axel
4b1fced1f8
Add -u flag to case completions - case is often used to parse switches, coloring them red makes no sense
...
darcs-hash:20070205122839-ac50b-a87b86846216ad495f58825f3cb27692fc8bf269.gz
2007-02-05 22:28:39 +10:00
axel
abff4e5b41
Add flags for long file support in configure.ac. They should be useful when supported (e.g. Linux and Solaris) and should do no harm when unsupported.
...
darcs-hash:20070205122553-ac50b-93adeeafc5c4bb43397e4b088f6e9de5744b3058.gz
2007-02-05 22:25:53 +10:00
axel
25082b6528
Update vi/vim completions. Add __fish_complete_text function that completes using any text file, and __fish_filter_mime that filters a file list based on mimetype. This update was written by Velko Hristov with some suggestions and updates by me.
...
darcs-hash:20070204151809-ac50b-b7f3b44ac528f9e994bf0f842ee2e008866fb620.gz
2007-02-05 01:18:09 +10:00
axel
766482d90e
Fix bug in read builtin - signal handlers where not correctly set, causiong ^C not to work
...
darcs-hash:20070201002053-ac50b-b73e22cbeecaeb364974cd2c512efbd517bb90d3.gz
2007-02-01 10:20:53 +10:00
axel
15e0a44fc7
Fix bug where pressing ^C while in the read builtin would mess up the block execution bit
...
darcs-hash:20070131235810-ac50b-23dde9d0e13cc028b744307073c1daf989258b54.gz
2007-02-01 09:58:10 +10:00
axel
3b653cd26a
Fix indentation error - the else builtin was not properly indented
...
darcs-hash:20070131231820-ac50b-1c5825cd78a1636801b8a4a26c1d15eb811cb28f.gz
2007-02-01 09:18:20 +10:00
axel
ba6661e9df
Fix occasional duplicate stack trace, reported by Mike Roberts. Also make fish less likely to print huge amounts of help in non-interactive mode, as per suggestion from Mike Roberts.
...
darcs-hash:20070131160317-ac50b-8354948f55a1478515ebfe7ddb6db14b6775dd18.gz
2007-02-01 02:03:17 +10:00
axel
55af8e4966
Add support for checking the existance of specific variable array elements
...
darcs-hash:20070130204344-ac50b-d006de7693722677d052f7559923753acd27a4a2.gz
2007-01-31 06:43:44 +10:00
axel
dcad2ef17b
Switch various completions to the simpler format for __fish_complete_suffix
...
darcs-hash:20070130153435-ac50b-abe42f3f464cb96db062c83084d97ef377a72e80.gz
2007-01-31 01:34:35 +10:00
axel
418192b312
Make the first and last argument to __fish_complete_suffix optional. Use mimedb to look up descriptions if not supplied.
...
darcs-hash:20070130152631-ac50b-24f1c947d88ce3ad20f31a17b58adfe02cf002e2.gz
2007-01-31 01:26:31 +10:00
axel
76d9051605
Add vim completions, written by Velko Hristov
...
darcs-hash:20070130004233-ac50b-5c48b940b29ac4f3c377bc88e2abf2e490e9df48.gz
2007-01-30 10:42:33 +10:00
axel
ca2b2103d3
Add command specific completions for xterm, written by Velko Hristov
...
darcs-hash:20070130000155-ac50b-7834a733d6bc48f3b57172fa6dc49c36680d575d.gz
2007-01-30 10:01:55 +10:00
axel
14e6bdb139
Add command specific completions for totem, written by Velko Hristov
...
darcs-hash:20070130000128-ac50b-8aec9bbe3858d03189720ed6fc9906ce8f9d4ddc.gz
2007-01-30 10:01:28 +10:00
axel
20d42378de
Remove trailing period in descriptions for darcs and svn
...
darcs-hash:20070129183116-ac50b-c4870570baaee554457413360c084209cb6a4090.gz
2007-01-30 04:31:16 +10:00
axel
41c9f89fcf
Add memory allocation check
...
darcs-hash:20070129175223-ac50b-05b933837cf0522889287069d5ed2fcacaf62b6a.gz
2007-01-30 03:52:23 +10:00
axel
7953863b38
Fix bug where quiting from the read builtin could cause the prompt not to repaint
...
darcs-hash:20070129174501-ac50b-7e7f62ab8a1864617291208919551505bae6e156.gz
2007-01-30 03:45:01 +10:00
axel
3fff030ee2
When clearing a line in the screen handler, also make sure that the internal state reflects this. This helps avoid issues with wiping out parts of the prompt
...
darcs-hash:20070129174358-ac50b-73d002a44ef53ba63e33c66073eea6fec449b9d0.gz
2007-01-30 03:43:58 +10:00
axel
da9f7227f5
Fix repaint bug for read - screen needed repainting after call to read
...
darcs-hash:20070129162807-ac50b-c037ecfc0670a1f2795982337760f76036d6cdc5.gz
2007-01-30 02:28:07 +10:00
axel
ba932b6590
Add support for -s switch to read builtin, enables shell syntax highlighting in the read builtin
...
darcs-hash:20070129162624-ac50b-dff9d9ebf16ce3247b83d917efbffd4942cda83f.gz
2007-01-30 02:26:24 +10:00
axel
c02e2b1320
Empty environemnt variable array entrys are now set to the empty string - what value should they really have?
...
darcs-hash:20070128134331-ac50b-a1efdcd67e1d142c5f234a4018187fdb2f70b567.gz
2007-01-28 23:43:31 +10:00
axel
37a95a3096
Make parsing of --authorative switch for complete builtin more logical. Fix bug with previous approach causing some completions to be ignored.
...
darcs-hash:20070128134059-ac50b-de53eb223939fbdf0d247dfbe343c62fc31cce11.gz
2007-01-28 23:40:59 +10:00
axel
bbd229b206
Add command specific completions for file and locate, written by Velko Hristov
...
darcs-hash:20070128114415-ac50b-f5844d6523a9aed3ca0e881c6c125072caee4978.gz
2007-01-28 21:44:15 +10:00
axel
6a60377e02
Add -u switch to completions which can have unknown switches or which are incomplete
...
darcs-hash:20070128032652-ac50b-dae70e7b2efddbc757aae8bc7d1884ff5e010621.gz
2007-01-28 13:26:52 +10:00
axel
fc87b3c4b4
Make it possible to specify the -u switch tom complete without actually specifying any new completions, since it affects all previous completions
...
darcs-hash:20070128032416-ac50b-93b943d712ac072f1bdb7f568e8064f73ffb85e0.gz
2007-01-28 13:24:16 +10:00
axel
fcbdb6f2a7
Add command specific completions for mutt and sylpheed, written by Velko Hristov
...
darcs-hash:20070128024639-ac50b-484668bdfb13c4cd23e058224d14b8f6d52b04d0.gz
2007-01-28 12:46:39 +10:00
axel
a537b01814
Add aptitude completions, written by Velko Hristov.
...
darcs-hash:20070127231612-ac50b-0a3b6ef52a01b5b15b0b1a9f11df739d02fa353c.gz
2007-01-28 09:16:12 +10:00
axel
bd5a16d213
Add support for using __environ instead of environ, if it exists and environ isn't set
...
darcs-hash:20070127165911-ac50b-72747760d767a6918152c2e4f254febb19ab1205.gz
2007-01-28 02:59:11 +10:00
axel
be0bd50bad
Remove unneeded code from isatty, fix spelling in docs
...
darcs-hash:20070127141215-ac50b-d15c657b62862841df80c55095a05e9c38086a11.gz
2007-01-28 00:12:15 +10:00
axel
cab5c63402
Verify that fd redirection is an int
...
darcs-hash:20070127135010-ac50b-d9c048edc5579c460ed2b181c366c67e9cfd7beb.gz
2007-01-27 23:50:10 +10:00
axel
d480d892c9
Do not call getc if getwc fails - mixing wide and byte-based readin may cause a crash. IT's better to simply hope that getwc can recover.
...
darcs-hash:20070127021026-ac50b-b85e10029d2bc0ce4857ec48945a92270e499a07.gz
2007-01-27 12:10:26 +10:00
axel
f2ccbe7374
Make get_desc_buff variable functions local static instead of global
...
darcs-hash:20070127020924-ac50b-0dfd72f6c30a82adc9500020df4b7bafb8d6dd56.gz
2007-01-27 12:09:24 +10:00
axel
85241817f8
Drop unneeded generic descriptions for completion of functions and builtins. Add description for count.
...
darcs-hash:20070127020752-ac50b-62dba47967cac04cd242894bfaa03116461883f3.gz
2007-01-27 12:07:52 +10:00
axel
8cf46bdb5c
Add make target for vuilding svn and cvs completions
...
darcs-hash:20070127020406-ac50b-a5dee791cf05cf76dd23395deee5e2d9f347c71b.gz
2007-01-27 12:04:06 +10:00
axel
5e6d1efb56
Fix a few more trailing N_ calls
...
darcs-hash:20070127020240-ac50b-6081d8cc0bc5d648b53b3ddfe878ec0f65412b6e.gz
2007-01-27 12:02:40 +10:00
axel
bc1f9b6f1c
Another batch of fixes for the VCS completions
...
darcs-hash:20070127020141-ac50b-e617fbabb234af668fa7ded7f838d66477605c8d.gz
2007-01-27 12:01:41 +10:00
axel
85d069c106
Fix crash in tab completion code when completing an imcomplete backsalsh escape
...
darcs-hash:20070126171413-ac50b-a9338dc73863381f2b22e09fb8b5e711f64b8f29.gz
2007-01-27 03:14:13 +10:00
axel
cfecb58bb6
Fix various completions that didno't drop the N_ no-op
...
darcs-hash:20070126012631-ac50b-4e13c06ddbf73f05a0a26824c71dbb96aa7ce0b9.gz
2007-01-26 11:26:31 +10:00
axel
11c2ec91d4
Update make_mercurial_completions.fish to also handle cvs. Correct bug causing issues in darcs completions.
...
darcs-hash:20070126012321-ac50b-caa9749f5e844ce5d06d84f2c38e282049369ed1.gz
2007-01-26 11:23:21 +10:00
axel
cc6f133368
make the make_mercurial_completions.fish script able to handle svn as well. Update svn completions.
...
darcs-hash:20070125153452-ac50b-60dce711d8614f99ba24ab9b24acfbd879d58bfa.gz
2007-01-26 01:34:52 +10:00
axel
350b637a1a
Generalize make_mercurial_completions.fish a bit so it can be used with darcs as well. Add make targets for creating darcs/hg completions.
...
darcs-hash:20070125132836-ac50b-0e7a728e4be2386d696094a414a1c8bcaee771fc.gz
2007-01-25 23:28:36 +10:00
axel
f917dccf6f
Use make_completions.py to make new completions for gcc
...
darcs-hash:20070125012757-ac50b-21408f89b71abb894850ddff452c83d130ed0401.gz
2007-01-25 11:27:57 +10:00
axel
62d380a1ee
Make first stab at a manual page parser. It takes the name of a command as input and outputs completions for it.
...
darcs-hash:20070125012728-ac50b-442dec7a0252f7cf817f442623161e33ce50c355.gz
2007-01-25 11:27:28 +10:00
axel
65ef6cf217
Add completions for hg (Mercurial). These completions are autogenerated from the help commands for mercurial through the make_mercurial_completions.fish script
...
darcs-hash:20070124225136-ac50b-1636989747df4e2510905e3286dbf1871522f653.gz
2007-01-25 08:51:36 +10:00
axel
2bba0f7b8f
Use MB_LEN_MAX instead of MB_CUR_MAX as the length of an array, since the latter does not need to be a constant value, meaning it is illegal as an array size
...
darcs-hash:20070122165125-ac50b-884456df993125e0dc16cd8dfed1e63d350d05dd.gz
2007-01-23 02:51:25 +10:00
axel
565970b8ca
Fix uninitialized varialble in env.c
...
darcs-hash:20070122012815-ac50b-a04cfc343ce75afd4feff8e25c580f9e54d5c5ef.gz
2007-01-22 11:28:15 +10:00
axel
6ea3dd7dfe
Minor edit to init scripts to reduce number of non-builtins called on init
...
darcs-hash:20070121155057-ac50b-1fae99ef89abc7bc08dc31eb671bfc556e34202d.gz
2007-01-22 01:50:57 +10:00
axel
8176a1253b
Do not use stdout to report errors when stderr is dead - take the hint instead...
...
darcs-hash:20070121152242-ac50b-3e192328959cf65f03756b3bfbb794fb43dccead.gz
2007-01-22 01:22:42 +10:00
axel
4f67c38777
Use constant instead of hardcoded value for sleeptime on failed fork call
...
darcs-hash:20070121152026-ac50b-1daaac921f31dd10b2646d51b65af5260890d291.gz
2007-01-22 01:20:26 +10:00
axel
86beb7b109
Minor code simplification in exec.c
...
darcs-hash:20070121151943-ac50b-d913d1b205443cdf40a83a1d001e4d7a114c6e0c.gz
2007-01-22 01:19:43 +10:00
axel
98a6c491b1
Print stack trace when execting due to fatal problem or bug
...
darcs-hash:20070121150341-ac50b-66b86014963568bf402a76d5beb7c1d4e188c5f7.gz
2007-01-22 01:03:41 +10:00
axel
66c045c439
Minor code edits. Add curly brackets in various places, add or rewrite various comments, fix indentation, etc.
...
darcs-hash:20070121150114-ac50b-4fd6965cb2c557178923f8afa944835166e08423.gz
2007-01-22 01:01:14 +10:00
axel
a1ec38f53b
Check error code when writing output from builtins - try to report errors
...
darcs-hash:20070121145810-ac50b-46ecb601ce9f0d862f00e4a97f25b6034e52f4cc.gz
2007-01-22 00:58:10 +10:00
axel
64f1024eb5
Make all error messages from options parsin in builtins redirectable
...
darcs-hash:20070121145527-ac50b-1375af219a5eba6167e99d3fe24b26dba60eba2a.gz
2007-01-22 00:55:27 +10:00
axel
b3500bfbdc
Fix bug in rsync completions
...
darcs-hash:20070121024539-ac50b-6bef9090303c56d117633077554bb43c40f64024.gz
2007-01-21 12:45:39 +10:00
axel
f8c45324b6
Add switch completions for the rsync command
...
darcs-hash:20070121023815-ac50b-178776e2fe6c3d510f4f1342269c132797a7793a.gz
2007-01-21 12:38:15 +10:00
axel
bf5d4f6b07
Simplify completions for a few commands (svn, cvs, darcs, yum)
...
darcs-hash:20070120170940-ac50b-24c0e5b05ca03a590b90e795bbd62b15583e2bd1.gz
2007-01-21 03:09:40 +10:00
axel
1300e68fa5
Add support for backtraces - if the compiler and libc version supports it (probably only glibc/gcc) then a stack trace is printed on serious bugs
...
darcs-hash:20070120023649-ac50b-5efa310bea0deddfa1d8dfca1000163eee89c7cb.gz
2007-01-20 12:36:49 +10:00
axel
1a76f2ecb9
Do not purge internal history if saving history to file fails
...
darcs-hash:20070120023347-ac50b-8e61c5f65cfca3ffdb6dd740fc32b91a975fdb87.gz
2007-01-20 12:33:47 +10:00
axel
9c5fb0392d
Make save_function print the help text when given no argumetns. Thanks to Alexander Kellett for the suggestion.
...
darcs-hash:20070119131538-ac50b-a77f60f557677543f38c73ffc21a209432b8b26a.gz
2007-01-19 23:15:38 +10:00
axel
f4c5eaf05b
Spelling fixes in documentation
...
darcs-hash:20070118173337-ac50b-4bfe34ea056f6fbc007df4c0b97cde695c822923.gz
2007-01-19 03:33:37 +10:00
axel
dd90b4ece4
Fix incorrect use of the term 'alias' where 'function' was meant in documentation
...
darcs-hash:20070118170034-ac50b-f10d79a1aed0e91d350db13187965bf2f5c45b7e.gz
2007-01-19 03:00:34 +10:00
axel
4930db35e2
Correctly unescape tokens when performing switch completion
...
darcs-hash:20070118164528-ac50b-fcaa59d247c4c6b430ab47b293d5eb173a97e9fc.gz
2007-01-19 02:45:28 +10:00
axel
e6409a88d5
Add missing completion for the commandline builtin
...
darcs-hash:20070118163104-ac50b-e33d3888efa42218881291ce1d2636ca14f10805.gz
2007-01-19 02:31:04 +10:00
axel
77a48dc252
Minor performance improvement in the variable assignment code
...
darcs-hash:20070118162922-ac50b-0f4bfd125e20673fdcb928e2a7aac6af50a1dec7.gz
2007-01-19 02:29:22 +10:00
axel
029be823e2
Remove the final non-builtin call from __fish_gnu_complete, to make it even faster
...
darcs-hash:20070118162853-ac50b-a31f51d53ba3121eaf6dfb4006dde00491fd53c2.gz
2007-01-19 02:28:53 +10:00
axel
421aff7d67
Make command specific completions handle quoted and otherwise escaped tokens better by making sure that the output from the commandline builtin is properly unescaped
...
darcs-hash:20070118162700-ac50b-cd93d9a6aff5bb7629a790d60b241000eb1d0ac0.gz
2007-01-19 02:27:00 +10:00
axel
9e7094adfc
Fix bug in code for unescapiong strings - when not in unescape_special mode, quotes would not get properly removed. This patch also adds the ability to check that quotes match up when unescaping. This functionality is on by default and can be disabled using a special flag.
...
darcs-hash:20070118160246-ac50b-b230c3fcd8440025b5243d76de2a9fd400f7ea32.gz
2007-01-19 02:02:46 +10:00
axel
19e8d60179
Make 'fish --help' display a help message, not start the help browser
...
darcs-hash:20070117131246-ac50b-328c735ba09b8488cf6ee5b95d73290681ce5f06.gz
2007-01-17 23:12:46 +10:00
axel
9d9869e515
Documentation touchup. Give a few examples in the section about escapeing characters
...
darcs-hash:20070116164834-ac50b-dd4c23ae1b8e35bbb2d3e186c2a819d8f2647ec2.gz
2007-01-17 02:48:34 +10:00
axel
54e19b1efb
Add a one-item cache into the hash table. This reduces the number of hash computations by roughly 20%
...
darcs-hash:20070116163707-ac50b-214a16d4210d32fb50693e71a14b6b8f3fededfe.gz
2007-01-17 02:37:07 +10:00
axel
f603b6ef68
Fix potential use of ininitialized variable. Could cause fish to save the history even when unneeded.
...
darcs-hash:20070116151130-ac50b-6186e6da834bae3ea07f3f25a105592f5115e0f3.gz
2007-01-17 01:11:30 +10:00
axel
81e0fcbc13
Additional performance tweak for __fish_gnu_complete
...
darcs-hash:20070116125116-ac50b-0a702bc02f9a126b36505864dcc597661a7ca2b0.gz
2007-01-16 22:51:16 +10:00
axel
b999bd9c8c
Bugfix in __fish_gnu_complete - switches could be ignored
...
darcs-hash:20070116112226-ac50b-6d6ce88d87f74a3779e4c6de6c62068c49354966.gz
2007-01-16 21:22:26 +10:00
axel
9c9a8f9d0f
Improve speed of __fish_gnu_complete on systems with no native seq implementation by avoiding using seq at all
...
darcs-hash:20070116102651-ac50b-ad7e0acd325f88d1676e4c533bc863caedf91748.gz
2007-01-16 20:26:51 +10:00
axel
461ef2a508
Fix completion bug where fish would refuse to provide completion strings for '--'
...
darcs-hash:20070116015938-ac50b-353566d9fd8984cabd56127a9088d57695e2b7ba.gz
2007-01-16 11:59:38 +10:00
axel
7492b6cdb3
Make all descriptions for function calls use the implicit translation from the previous patch instead of explicitly using N_
...
darcs-hash:20070116012918-ac50b-c1c0df64333ad910ca81dbc86ad193ece6680722.gz
2007-01-16 11:29:18 +10:00
axel
34e27ff4c2
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
...
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
2007-01-16 11:18:28 +10:00
axel
47588c8e75
Darcs completions: Check for file existance before trying to complete using the repos file. Thanks to Alexander Kellett for the bug report.
...
darcs-hash:20070115205209-ac50b-60c03383f55bb2dc1d0f5317d907f71c63b2bb7b.gz
2007-01-16 06:52:09 +10:00
axel
00c6fcfe98
Document -f option for psub, add tab completions
...
darcs-hash:20070115181924-ac50b-6ac48aec8937e9dd172858dfa7eaaac1aca14775.gz
2007-01-16 04:19:24 +10:00
axel
c90f7c3203
Update todo list
...
darcs-hash:20070115175516-ac50b-8e5e316633ff0951b9165067b9b0e777753f5365.gz
2007-01-16 03:55:16 +10:00
axel
6467ead9ad
Make sure read returns with a non-zero status if no string was actually given
...
darcs-hash:20070115175346-ac50b-9bbcfd114344f030c46456d2d603ce323406bfea.gz
2007-01-16 03:53:46 +10:00
axel
cb7caf2afc
Minor edits - add a few input checks, remove a few commented pieces of debug code, add a few brackets, etc.
...
darcs-hash:20070115175144-ac50b-2045f2132156645222e6dde57487aa299a5316e2.gz
2007-01-16 03:51:44 +10:00
axel
c6ebb23f38
Add a -f switch to psub to use regular files instead of fifos. This makes psub work with programs that need to seek. This change was suggested by Alexander Kellet.
...
darcs-hash:20070115174330-ac50b-2349cef2d1a26a9e7c9356691bc74991135c1d2c.gz
2007-01-16 03:43:30 +10:00
axel
5753d63958
Check all file writes for errors when saving history file
...
darcs-hash:20070112161724-ac50b-21721102c5844ba871668093cb7428dc793d2ba6.gz
2007-01-13 02:17:24 +10:00
axel
e56d9765d7
Add missing completions to ulimit
...
darcs-hash:20070112152048-ac50b-b402f5e5fb9bfa0720b7b89de465d06bf66a1ac3.gz
2007-01-13 01:20:48 +10:00
axel
a5b7ec2624
Clarify documentation for the ulimit builtin
...
darcs-hash:20070112151540-ac50b-70ce1dbbad6b4e559723e1c5f8cf6fc3e271cf77.gz
2007-01-13 01:15:40 +10:00
axel
b2fa41307c
Clean up the 'ulimit' builtin. There was a bug making it impossible to set the stack size, the switch '-p' was erroneously accepted, and the multiplier was not always correctly used, e.g. when reporting limits.
...
darcs-hash:20070112150017-ac50b-aff8db509f1bc8bb9803aa66bfad70ebc85d27b2.gz
2007-01-13 01:00:17 +10:00
axel
fce74c73c7
Minor code edits - show user name when completing home directories and minor code simplifications
...
darcs-hash:20070110173445-ac50b-40fd22ba766239dcfe6797155a852591b76f9253.gz
2007-01-11 03:34:45 +10:00
axel
e110b29c2f
Do not complete using switches after a '--' has been encountered
...
darcs-hash:20070110124528-ac50b-111f01af0701f2fcc2bd22a7666b74497835356a.gz
2007-01-10 22:45:28 +10:00
axel
a3aba0269d
Make it possible to cancel a long-winded wildcard match by pressing ^C
...
darcs-hash:20070109164705-ac50b-d8bf2c22e9ecb6bccec6892da266016dcae79a4c.gz
2007-01-10 02:47:05 +10:00
axel
e1f4aa5fcd
Updates to the swedish translation
...
darcs-hash:20070109141310-ac50b-0fd8faccb396f0576917be3e4096701a2cdc3ca7.gz
2007-01-10 00:13:10 +10:00
axel
e19ee86b0d
Update dependencies for making .po files in Makefile
...
darcs-hash:20070109134457-ac50b-31e9a1225e7deb5c097fb05c103bc5dc5bb58eea.gz
2007-01-09 23:44:57 +10:00
axel
6e71b5a59c
A few more error checks during string to integer conversion in various places
...
darcs-hash:20070109134117-ac50b-8816e238b0b6aa3fe83c0a4695d719a60b0d17d4.gz
2007-01-09 23:41:17 +10:00
axel
b70092e281
Check for errors during string to integer conversion in various places
...
darcs-hash:20070109032005-ac50b-29514c9c8c19c70b7cfe7670a5c74899f316931f.gz
2007-01-09 13:20:05 +10:00
axel
602eac89c4
Fix typo in user message, remove a few warnings, minor indentation edits
...
darcs-hash:20070109025356-ac50b-328e42b8898bbc9b40b4841a032ae7871dba9e13.gz
2007-01-09 12:53:56 +10:00
axel
d8b5cc6717
Handle out of memory condition in various parts of fish by shutting down instead of crashing
...
darcs-hash:20070109025102-ac50b-ee7951028e626628257852fd9b5de97572609cea.gz
2007-01-09 12:51:02 +10:00
axel
76fedccf13
Make it possible to specify an error handler function for out of memory in any of the collection functions. Make the default oom handler print the line where things failed and exit.
...
darcs-hash:20070109013521-ac50b-dc7304cfb548cf1efc100124125eed032e392169.gz
2007-01-09 11:35:21 +10:00
axel
41206e70b4
Make the bg builtin check that all specified jobs exist before sending any of them to background. Also make sure that the string to pid conversion didn't throw errors.
...
darcs-hash:20070109002144-ac50b-c3954d98bab5cd95699966b2d1f2480797a9094d.gz
2007-01-09 10:21:44 +10:00
axel
bc2c37c739
Fix accidentally triggering of error condition when nothing bad happened in fish pager init code
...
darcs-hash:20070108230338-ac50b-c4d0a44ee06660acf107388f1c889296a535494b.gz
2007-01-09 09:03:38 +10:00
axel
4a2a47666f
Fix indentation and add a few comments to fish_pager
...
darcs-hash:20070107164336-ac50b-d3cfa100a499d3f0996aac16288c4c892a65c1fe.gz
2007-01-08 02:43:36 +10:00
axel
94fbbb7669
Update todo list
...
darcs-hash:20070107142445-ac50b-391ff0eac6a84ae3dd5345d338682d243d40fb0a.gz
2007-01-08 00:24:45 +10:00
axel
63010c26ad
Two very minor code touch ups
...
darcs-hash:20070107142430-ac50b-20cd4fe96c03c052bb6fb5c07ce207a534e86498.gz
2007-01-08 00:24:30 +10:00
axel
f398b2eafa
Remove comments from apropos matching in function for getting description for command from whatis database
...
darcs-hash:20070107142000-ac50b-0221d36e24d3d68f0a25535e7a7b303e4fb84abe.gz
2007-01-08 00:20:00 +10:00
axel
1214067d03
Redo the interface between fish and the completion pager. The old interface has issues if the current user does not own the tty, as happens when using 'su'. It also had issues when stderr was redirected. The new interface should be more extensible as well.
...
darcs-hash:20070107141336-ac50b-30bdfb198674b93a67d323c0a65b8e08b43c0525.gz
2007-01-08 00:13:36 +10:00
axel
0469d05447
Make it possible to buffer input to other file descriptors than stdin. It is still only possible to buffer input on a single descriptor to any given job.
...
darcs-hash:20070107141052-ac50b-561265cd5acde7d882e4506870f13d61d34b3734.gz
2007-01-08 00:10:52 +10:00
axel
2fcec27e23
Make sure errno is not changed when error reporting after a failed call to execve
...
darcs-hash:20070107140918-ac50b-35186f2300d6ec03dbeac2cb5d5ffcee3feffc4e.gz
2007-01-08 00:09:18 +10:00
axel
42d0283489
Fix bug in IO redirection making is possible for the IO redirections to fail in cases where there are multiple pipes and buffers using file descriptors above 2.
...
darcs-hash:20070107140646-ac50b-dee4f380320ef2743635e77401a789c28d45f805.gz
2007-01-08 00:06:46 +10:00
axel
3fbd8036f4
Fix potential crash bug when pasting large amounts of text into the shell
...
darcs-hash:20070107140410-ac50b-c7b680b05f3aaf7f10e6e06a0fdc232d30c3e1b1.gz
2007-01-08 00:04:10 +10:00
axel
3b4bacb5ba
Allow the user to specify name of history file to use with the read builtin
...
darcs-hash:20070106142430-ac50b-32ad52077e11438799b17911dc83e57f89e02f2b.gz
2007-01-07 00:24:30 +10:00
axel
7e350dab66
Update the dcop completions. This update was written by David Bitseff.
...
darcs-hash:20070106130722-ac50b-a73277cfccbf456595f0fb7ceeb18d23b2f744ab.gz
2007-01-06 23:07:22 +10:00
axel
9c23d50e92
Fix bug in completion pager where non-ascii characters where escaped because the locale was set after the completion strings where read in. Thanks to mikeX for the report.
...
darcs-hash:20070103125702-ac50b-752f6e1182dba4356e068191b52fdb05d3cb5649.gz
2007-01-03 22:57:02 +10:00
axel
2ec7428e32
Add iconv completions
...
darcs-hash:20061226142933-ac50b-dd385732a0337f215855db4c517dc1bab52b2aca.gz
2006-12-27 00:29:33 +10:00
Tassilo Horn
594f81ec8c
svn-delete-completion.dpatch
...
darcs-hash:20061221212334-c06f4-2db8d07267b142165302d63fd94fdc0eb9f6f791.gz
2006-12-22 07:23:34 +10:00
axel
9767b76881
Fix minor type in 'find' completions
...
darcs-hash:20061219152443-ac50b-989d374683f181a5fc41d162f2a0793ca31227ac.gz
2006-12-20 01:24:43 +10:00
axel
0ace93c2a4
Fix yet another place where the 'builtin' builtin was used in stead of 'command'
...
darcs-hash:20061214182409-ac50b-60af38f1b1edcafcf1c0aff9c64094b92a84e5fc.gz
2006-12-15 04:24:09 +10:00
axel
c73d165165
Make the directory history keyboard shortcuts repaint the screen. Otherwise, the prompt won't reflect the new CWD. This is needed because of the reduced amounts of repainting done since 1.22.2
...
darcs-hash:20061214182313-ac50b-a912bcc0fac6e1d78f116e19f31f1c50ffc409cb.gz
2006-12-15 04:23:13 +10:00
axel
c1945f8275
Minor highlighting tweaks to make highlighter handle switches to 'command' and 'builtin' builtins more correctly
...
darcs-hash:20061214134025-ac50b-e17f79d1d4d7594ab20a358296f84dbb6356f42b.gz
2006-12-14 23:40:25 +10:00
axel
4d368dc06c
Do not add --help completions for builtins at init time. These completions are already present in the commmand specific completions
...
darcs-hash:20061214131239-ac50b-3626c53c9c985bc3b786d5d6baff5e162a5e4951.gz
2006-12-14 23:12:39 +10:00
axel
9ff0e9cf72
Fix incorrect use of the 'builtin' builtin when the 'command' builtin was intended
...
darcs-hash:20061214120630-ac50b-5cee4b32042bb23c1a4b01e2a400a4af13c64c9c.gz
2006-12-14 22:06:30 +10:00
axel
a971d91a70
Make tab completion of process expansion consider other processes than those owned by the shell. Also makes tab completion of process expansion properly handle paths in command names
...
darcs-hash:20061214115811-ac50b-8569bcd30f97fe505dc1e7f2596d2fbd23f31525.gz
2006-12-14 21:58:11 +10:00
axel
52b74f9f34
Make sure debug() never alters errno, so that it can safely be called between an error and calling wperror()
...
darcs-hash:20061214100131-ac50b-b1c2e4819567fc35858233c265a26b934620fc6d.gz
2006-12-14 20:01:31 +10:00
axel
b932a9a084
Minor correction to script for extracting translation strings
...
darcs-hash:20061214014117-ac50b-fe792403646e1859116973494f2278c88f76072b.gz
2006-12-14 11:41:17 +10:00
axel
997f2dffbf
Make syntax highlighter flag invalid command types as subcommands for 'command' or 'builtin' builtins. Also make sure that the '--' switch is understood by the highlighter
...
darcs-hash:20061214013537-ac50b-9d84fe371eed10ce48ade5ebe88b00442658d67a.gz
2006-12-14 11:35:37 +10:00
axel
1289e03134
Only complelete valid command types as subcommands for 'command' or 'builtin' builtins. Also make sure that the '--' switch is understood by the completions
...
darcs-hash:20061214000326-ac50b-3ee9130ebb3fcc9b2723686945cfca055c4f44a4.gz
2006-12-14 10:03:26 +10:00
axel
9a8e5e64ed
Make sure that a command is never executed as the subcommand of the 'builtin' builtin
...
darcs-hash:20061214000152-ac50b-f1593dfeb4cecdbe48599ffe8d76a956989c7d24.gz
2006-12-14 10:01:52 +10:00
axel
774c050f92
Minor code tweaks. Move a few deeple nested pieces of code to their own functions. There are lots of other places where this should be done as well.
...
darcs-hash:20061213235838-ac50b-c3bedea3017910cc4f0d257ad6ee1da6b76efd12.gz
2006-12-14 09:58:38 +10:00
axel
478a319442
Make the builtins 'and', 'or', 'not', 'exec', 'command' and 'builtin' respect the '--' argument
...
darcs-hash:20061213154449-ac50b-d2ae8ff5a1cab8e753ddb97545071cc985051411.gz
2006-12-14 01:44:49 +10:00
axel
24fea5dd7b
Code cleanup: Use a macro constant instead fo a literal for builtin exit codes
...
darcs-hash:20061213143431-ac50b-5c5cec623ecca9f52c7d44cfcb26f07fe2fcda39.gz
2006-12-14 00:34:31 +10:00
axel
2b05bdfa94
Update functions builtin so that default behaviour when not given any arguments is to print only names of all existing functions, not their definitions. Use 'functions (functions)' to get the latter.
...
darcs-hash:20061213142107-ac50b-16d0a9097ede4b0cd49847618d65fcbfee699393.gz
2006-12-14 00:21:07 +10:00
axel
6c8a559023
Drop unneeded '--' when using set builtin in various places
...
darcs-hash:20061212203727-ac50b-23fbb54bba0c5773e8a3dd2e5737ea8a670c801d.gz
2006-12-13 06:37:27 +10:00
axel
ca8c337c94
Drop unneeded '--' when using set builtin in the trap function
...
darcs-hash:20061212181841-ac50b-dd1fd50b80c6d3c759c123832bc6334613529ee6.gz
2006-12-13 04:18:41 +10:00
axel
8ccad65504
Minor fix to help generation to avoid creating a stray doxygen file in share/man
...
darcs-hash:20061212172518-ac50b-fec0999bd0b19259eaeee76c78c04b052392a6bb.gz
2006-12-13 03:25:18 +10:00
axel
fd11f294bc
Use the math function instead of calling bc directly in various places
...
darcs-hash:20061212171118-ac50b-a40709edf008f3d725e3755d5282ae5a84818c88.gz
2006-12-13 03:11:18 +10:00
axel
b3fa76c1be
Extend documentation for the math function
...
darcs-hash:20061212171037-ac50b-1b9d0f51b284925fe0fc3020774ec32bb1414ce7.gz
2006-12-13 03:10:37 +10:00
axel
d3dd9400e3
Make sure the rm command and not a wrapper function that could change its behaviour is used. This patch was written by David Bitseff.
...
darcs-hash:20061212122853-ac50b-4f3c9962bc6daed95c8f53a19af05bc3d924eac7.gz
2006-12-12 22:28:53 +10:00
axel
234034d302
Make sure cwd colors update when the variable changes. This is a common regression, it seems. This time it was caused by the repaint reductions added in 1.22.2.
...
darcs-hash:20061212101348-ac50b-970686fcd3317f19c6131cdc46885a841c68a6d6.gz
2006-12-12 20:13:48 +10:00
axel
edc20a7505
Update to the ':' patch by Nicholas Burlett. This patch makes sure that ':' style executing of a command is only performed if a regular call to execve fails. This should improve performance a mall bit in the common case.
...
darcs-hash:20061211190308-ac50b-d284fa30c8c633816898141b644bd3039f80cc62.gz
2006-12-12 05:03:08 +10:00
axel
3a29028f60
Fix broken example in the documentation for the begin builtin
...
darcs-hash:20061211134723-ac50b-6ea37b6dca30a85d00651129a762d8a9d95d40a2.gz
2006-12-11 23:47:23 +10:00
axel
f4af7603da
Add completions for flac, written by David Bitseff
...
darcs-hash:20061210092326-ac50b-4de3e3473cdc73ef05052d4053f56dd790cc1403.gz
2006-12-10 19:23:26 +10:00
axel
63a28eb46f
Add completions for oggenc, written by David Bitseff
...
darcs-hash:20061209085946-ac50b-747b61e4a0d717b5b9a5b7dcc3bdad8e33e79e18.gz
2006-12-09 18:59:46 +10:00
axel
b85d9ee737
Minor documentation update
...
darcs-hash:20061209011911-ac50b-2295056319c5b7a95e77df897f0310cd52c6580a.gz
2006-12-09 11:19:11 +10:00
Tassilo Horn
58042b0e9f
ruby-gems-completion.dpatch
...
darcs-hash:20061208232818-c06f4-510633a992d3557967709713ab8ed8df94a36c05.gz
2006-12-09 09:28:18 +10:00
nickburlett
23759e6eca
colon-command support
...
Shells such as bash, sh, tcsh, and ksh each support a "colon command" that causes the script to be
evaluated as a bourne script. In the case of bash and sh, this command is a no-op. For others,
it means the script has sh syntax.
To suppor this in fish, I've added code to launch_process that checks for a ':' as the first
character of p->actual_cmd. If it is a colon, the process descriptor is modified to call
/bin/sh, which should exist on any POSIX system.
darcs-hash:20061208220428-5830d-6bde4f1a3e8100296a60c21f9e47988e20688a77.gz
2006-12-09 08:04:28 +10:00
axel
1d3465698f
Add dcop completions, written by David Bitseff
...
darcs-hash:20061208215855-ac50b-aa2ee1fc551ce7bca50d5979800e6674015a3737.gz
2006-12-09 07:58:55 +10:00
axel
b156f083be
Fix off-by-one error making it impossible to edit the first element of an array using array slicing. Thanks to useer for reporting this bug.
...
darcs-hash:20061208133136-ac50b-3c8085ec61fcc3987356ee412133dba6c7f32d1f.gz
2006-12-08 23:31:36 +10:00
axel
f83b754cd4
Bump version number
...
darcs-hash:20061207224603-ac50b-a8f5ce18d44626814a15fc2c0b0fe0d51dae0567.gz
2006-12-08 08:46:03 +10:00
axel
df4a0d65bd
Update comlpetions for the help function
...
darcs-hash:20061206131020-ac50b-f7f1a3c5aa85d90a6538583681167abca7f50e63.gz
2006-12-06 23:10:20 +10:00
axel
77b5532ce9
Make delete-or-exit work with multiline commands
...
darcs-hash:20061206122537-ac50b-80e3b3d6dff886eba162fbb8db5a82ff0f7a107f.gz
2006-12-06 22:25:37 +10:00
axel
d9ec65da4d
Update user documentation - add section on internal completion functions, update todo list, minor documentation tweaks
...
darcs-hash:20061206000810-ac50b-08f12efdb74224abe46301d3722cd8180d8ba37d.gz
2006-12-06 10:08:10 +10:00
axel
4b9dcf1cf2
Add ant target completions, written by Nate Drake
...
darcs-hash:20061205235252-ac50b-112c0ff335e456ed0b419c6c5c7a889c517baed1.gz
2006-12-06 09:52:52 +10:00
axel
1fbac89a38
Do not highlight parameters beginning with a '-' as switches if the '--' parameter has been given
...
darcs-hash:20061204120707-ac50b-3c2099fd75ac615dfcdc0b0954713728142cd505.gz
2006-12-04 22:07:07 +10:00
axel
ceacfb83a8
Add completions for the env command
...
darcs-hash:20061204115838-ac50b-f75e067b50ee2cbc8f735110c34892613c53c4d9.gz
2006-12-04 21:58:38 +10:00
axel
d736c8cca6
Add completions for the locate command
...
darcs-hash:20061204114205-ac50b-1231627ff987bbb3dc4c7af1436cfdf17bd3a5c1.gz
2006-12-04 21:42:05 +10:00
axel
60769903a5
Add subcommand completion support to nice completions
...
darcs-hash:20061204111346-ac50b-913f68c7fcbf71117ac6d662423d64d05d38c6e5.gz
2006-12-04 21:13:46 +10:00
axel
8b73bac580
Rename __fish_complete_directory to increase consistency
...
darcs-hash:20061202233433-ac50b-48368a338773ad47807b0032389fd305d86b3275.gz
2006-12-03 09:34:33 +10:00
axel
c8162c2900
Flash commandline each time completion fails, not just the first one
...
darcs-hash:20061130235852-ac50b-de6e94a878e7a6de6ec9f34289437aec87d95b07.gz
2006-12-01 09:58:52 +10:00
axel
de181c91d5
Only flash commandline, not entire screen, when completion fails
...
darcs-hash:20061130235749-ac50b-436e5619f7818db7660269545de19e21c6a7e1b8.gz
2006-12-01 09:57:49 +10:00
axel
687ba1c9ef
Add completions for the find command
...
darcs-hash:20061130231414-ac50b-4636dbd460ad23479c5740b22dcba011c2e140a3.gz
2006-12-01 09:14:14 +10:00
axel
02802b509d
Make keyboard shortcuts that execute a shellscript function (^D, for example) a lot quicker. This is done by not changing the titlebar message or reexecuting the prompt. A full repaint is still performed though. This patch also changes the behaviour of the 'null' virtual keypress - it no longer reexecutes the prompt, it only causes a repaint.
...
darcs-hash:20061201163009-ac50b-65508b8e5aa3b2c73695feb0a47a718419868f8e.gz
2006-12-02 02:30:09 +10:00
axel
7f18dd6a4a
Improve kill completions on non-Debian systems (They where fine before on Debian systems)
...
darcs-hash:20061130163230-ac50b-0f72c7a609b1218e30ec193362df13c76f4cb35b.gz
2006-12-01 02:32:30 +10:00
axel
2f7a472230
Remove fallback of using globals when universal variables are broken in config file- fish does the equivalen internally now
...
darcs-hash:20061130154838-ac50b-04861991dfc12fc4a7d1bb675dbffe4b78df920e.gz
2006-12-01 01:48:38 +10:00
axel
b8f2f46945
Use dircolors to set default colors for ls
...
darcs-hash:20061130154026-ac50b-d6d5e182a71516aa56ab16851e47510f2561b585.gz
2006-12-01 01:40:26 +10:00
axel
2570eb1ab8
Fix bug in save_function script
...
darcs-hash:20061130154006-ac50b-cb9ae4c46d3eced0fa432c47de996016519d29cd.gz
2006-12-01 01:40:06 +10:00
axel
d3062f9a97
Fix bed indentation in a few places
...
darcs-hash:20061130132431-ac50b-e17b1a55733c4f42264e88cb259a78b4a5cfc4e0.gz
2006-11-30 23:24:31 +10:00
axel
8619d17f43
Minor documentation, indentation tweaks
...
darcs-hash:20061129142102-ac50b-0ae69ec0878a54092f16261b314b34ef4eeeb5ba.gz
2006-11-30 00:21:02 +10:00
axel
8062eb3511
Makefile tweakage - make sure build messages suggest using correct make version
...
darcs-hash:20061129142004-ac50b-2776b3e6db870f6e04836a7d6e464e09d20f6274.gz
2006-11-30 00:20:04 +10:00
axel
e0322bf0e0
Add --without-gettext switch to optionally disable gettext support
...
darcs-hash:20061129141822-ac50b-64a78e7a3594827abe5024fdbf7d4c79ac21162c.gz
2006-11-30 00:18:22 +10:00
axel
ddc617f80a
Fix bug in save_function that causes it to not create missing directory entries before saving function
...
darcs-hash:20061129140229-ac50b-525f2cff869a066d5c3624880125e37862a9fd3b.gz
2006-11-30 00:02:29 +10:00
axel
f64364cced
Replace all internal uses of grep with sgrep, which is a wrapper around grep that strips away any GREP_OPTIONS. This is needed to avoid users who have added arbitrary switches to GREP_OPTIONS, thus changing its behaviour.
...
darcs-hash:20061129140004-ac50b-485ff6bfd71e9459ba62461f6e093ca5c9ddd664.gz
2006-11-30 00:00:04 +10:00
axel
32502bfac8
Don't use GREP_OPTIONS in 'contains' function - this is a modified version of a patch by David Bitseff
...
darcs-hash:20061126131150-ac50b-640bfaf2c3a4111809d9091631b79e35005e68b5.gz
2006-11-26 23:11:50 +10:00
axel
1f6a98ecb8
Make sure that non-exporeted variables can shadow exported ones. This problem was reported by David Bitseff.
...
darcs-hash:20061126130943-ac50b-b99cddc9a042545d5555b281d7e0aa8f667131d6.gz
2006-11-26 23:09:43 +10:00
axel
6ad0f141be
Add missing rulers in faq
...
darcs-hash:20061124170631-ac50b-ee9823eb30fb84be07a512f7ad6dd46cbc2d0b44.gz
2006-11-25 03:06:31 +10:00
axel
0b6366aacb
Fix missing code snippet in faq. Thank you to Binny V A for reporting this bug.
...
darcs-hash:20061124164641-ac50b-5c6594b320269aa5941b84d1d99eac70b636b332.gz
2006-11-25 02:46:41 +10:00
axel
deed3a63a3
Make completion descriptions on symlinks to directories have their own description
...
darcs-hash:20061123104145-ac50b-6b48de9c46593312d9c65368d17a45999d197e4a.gz
2006-11-23 20:41:45 +10:00
axel
cab80b452b
Fix bug where tab completions for implicit 'cd' would ignore symbolic links to directories
...
darcs-hash:20061123104023-ac50b-7245f70e0f6fbbc97358e32c6dc7ca5258f24a53.gz
2006-11-23 20:40:23 +10:00
axel
338d32a7c6
Drop the old, unused fish manual page
...
darcs-hash:20061122185443-ac50b-aa46cf36aa38990ba49b4e08f7ce7a5c68abfdf3.gz
2006-11-23 04:54:43 +10:00
axel
88f15a6804
Simplify documentation building - again.
...
darcs-hash:20061122185333-ac50b-078910540c33e18265c7d5804d1f14f241ad597f.gz
2006-11-23 04:53:33 +10:00
axel
20b3f3b9a1
Add completions for the wajig command. These where generated by the create_wajig_completions.py script, written by Reuben Thomas.
...
darcs-hash:20061120152707-ac50b-fe478814bcc5edec9dc9d49d0da665b21ba8956c.gz
2006-11-21 01:27:07 +10:00
axel
1145a5d483
Touch up completions for builtin commands
...
darcs-hash:20061120152518-ac50b-cbd3d14af4fd2d67304278d442443decbac1ef7c.gz
2006-11-21 01:25:18 +10:00
axel
125ca9ff73
Minor edits, whitespace fixes, etc.
...
darcs-hash:20061120131412-ac50b-0d9bc9d3fb35b4c9831bdf3a606e9aa8df844478.gz
2006-11-20 23:14:12 +10:00
axel
bc1efb1556
Minor code edit - move a bit of code into its own function
...
darcs-hash:20061120131224-ac50b-974496cc800377e4e06475491f89998b9640fbba.gz
2006-11-20 23:12:24 +10:00
axel
7b5649097f
Correctly handle multiple backslashes at end of line w.r.t. multiline handling
...
darcs-hash:20061120021934-ac50b-20d953c16711a4959cac9d435217309fc78aab98.gz
2006-11-20 12:19:34 +10:00
axel
c2e1d76400
Fix missing man-page generation when building from darcs tree. Also simplifys doc generation a small bit.
...
darcs-hash:20061120135336-ac50b-d3b7a4ce2ac6bcc307c57cfcd23db86a8ac411a8.gz
2006-11-20 23:53:36 +10:00
axel
f7435559a7
Simplify Makefile by using a wildcard to specify help files
...
darcs-hash:20061120010620-ac50b-1a838bdd75607a503bc8335bb39abd2aa11ac7e8.gz
2006-11-20 11:06:20 +10:00
axel
47afca1fdb
Add missing help text for the save_function function
...
darcs-hash:20061119233640-ac50b-5fb02f7ce3ec3317aa57be2d936cc430b27276b4.gz
2006-11-20 09:36:40 +10:00
axel
372c811763
Support bold and underlined characters in help output
...
darcs-hash:20061119232734-ac50b-d426980ee143b44065a3ea2afc7d3808174acd5f.gz
2006-11-20 09:27:34 +10:00
axel
dd061b1dda
Minor comment edits and removal of a warning
...
darcs-hash:20061118212459-ac50b-d6f4dddb560b4815ca850f9e9c3e8d7a5cf5ea70.gz
2006-11-19 07:24:59 +10:00
axel
eb3c99c54e
Move the event handler for fish_color_cwd to init file, so it is not autounloaded. Also cache output of call to set_color command to improve performance a bit.
...
darcs-hash:20061118212147-ac50b-b0f44cca2acf7465dd9ff071aa35a3ac81f0615f.gz
2006-11-19 07:21:47 +10:00
axel
5d864e3f69
After processing a signal/event while waiting for commandline input, check the lookahead buffer for inserted characters
...
darcs-hash:20061118211531-ac50b-355fd5556f65e9cec3af5ed9e19a44af9bfe3b7b.gz
2006-11-19 07:15:31 +10:00
axel
1b71f91a01
Update documentation display code to run roff on the client system instead of pregenerating documentation and compiling it into program binaries
...
darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
2006-11-18 02:24:38 +10:00
axel
b30886228c
Speed up history token search
...
darcs-hash:20061117233726-ac50b-eb7ef60b837a4dd5fee61c7a692d8210fdcc4719.gz
2006-11-18 09:37:26 +10:00
axel
f91de04269
Update todo list
...
darcs-hash:20061117150013-ac50b-ded7a41336a64df095ede01657a9af341f571d52.gz
2006-11-18 01:00:13 +10:00
axel
a3531db645
Add missing include in screen.c
...
darcs-hash:20061117145925-ac50b-267cb0b81f78672f3522cb320a0e951f84f70de2.gz
2006-11-18 00:59:25 +10:00
axel
1e8fe508f0
Tweak error messages in tokenizer a bit
...
darcs-hash:20061117145905-ac50b-ee735bf04d2dcbabc272c4f12cb64a8af51b83bf.gz
2006-11-18 00:59:05 +10:00
axel
54244fd33d
Add a bugreport function for writing out a message about how to file bug reports
...
darcs-hash:20061117145825-ac50b-0480300cce24657aae9572b79f145d956db93593.gz
2006-11-18 00:58:25 +10:00
axel
4c1d1bb218
Complete using known repos in darcs
...
darcs-hash:20061116132251-ac50b-d62d1a1b08d21b57fa6f7e7ae105d9b77026fd39.gz
2006-11-16 23:22:51 +10:00
axel
903326ddf5
Make hitory token search interruptible. This code was written by Netocrat.
...
darcs-hash:20061117130612-ac50b-0f1f4e58c9794e705117bde0716f07b39e0176af.gz
2006-11-17 23:06:12 +10:00
axel
0105ec284d
Don't intern as much completion data - this helps reduce memory usage when autounloading
...
darcs-hash:20061116130833-ac50b-b19887dc36b16476bb3b2a1593b23dd3325187ee.gz
2006-11-16 23:08:33 +10:00
axel
55b253152c
Only do command description lookup if we have non-directory commands
...
darcs-hash:20061116130400-ac50b-47b7159276d607aab8c4a8d52a9c8a60a3f77819.gz
2006-11-16 23:04:00 +10:00
axel
6573d2b451
Use halloc to simplyfy allocations in function.c
...
darcs-hash:20061115141649-ac50b-aff0e3369bb19d6d88130781b13e598c9445b138.gz
2006-11-16 00:16:49 +10:00
axel
cfa9ecbfd2
Drop search highlighting when exiting search mode. Thanks to Philip Ganchev and Martin Bähr for the bug reports.
...
darcs-hash:20061116125803-ac50b-6eb95d76c3679a32db940a698466381ef7822b9e.gz
2006-11-16 22:58:03 +10:00
axel
b139201a33
A few additional input checks, minor code simplifications, and some indentation/documentation fixes
...
darcs-hash:20061115133046-ac50b-a6145bd9a63b6667357cc3ec603e185696bf1951.gz
2006-11-15 23:30:46 +10:00
axel
946b5d1528
Remove getpgid prototype from exec.c - this prototype seems to be no longer missing
...
darcs-hash:20061115132959-ac50b-d163141db6ad824ea0f6788338ebcec5001cbf5b.gz
2006-11-15 23:29:59 +10:00
axel
3b2670532a
Make fish store universal variables locally if fishd can't be started - local changes are lost of the fishd connection is restored
...
darcs-hash:20061115123447-ac50b-bf17c55079e1196205cc3a4fd0ca22d9f539836c.gz
2006-11-15 22:34:47 +10:00
axel
d00bc973fe
Use fcntl to automatically close fishd socken on exec instead of handling it manually
...
darcs-hash:20061115111857-ac50b-3e04a0bc16c8442bef02cf4a50777d4556b8eaa6.gz
2006-11-15 21:18:57 +10:00
axel
4768b37531
Add support for detecting and handling the screen-specific \ek\e\ escape sequence for setting the titlebar message in the prompt calculating code.
...
darcs-hash:20061114162125-ac50b-debe872f5916328f74a4560d0833b33f9eb89a40.gz
2006-11-15 02:21:25 +10:00
axel
ab162c6c25
Bump version number
...
darcs-hash:20061112210938-ac50b-af5fc653b1ec0da6832338aec2d56c98fba69897.gz
2006-11-13 07:09:38 +10:00
axel
5ed912bebc
The incorrect pointer is used for the autounload callback, causing possible crashes
...
darcs-hash:20061112121725-ac50b-1f49f3f37c20d3fe2d4a12617e9dda139d2ad5ec.gz
2006-11-12 22:17:25 +10:00
axel
ec43090c16
Fix file descriptor leakage from completion pager
...
darcs-hash:20061112121613-ac50b-209d42c06401faf675ff123236823dcaa651d6f7.gz
2006-11-12 22:16:13 +10:00
axel
80759ee03f
Fix exit status of delete-or-exit function
...
darcs-hash:20061112114544-ac50b-d5fd61b3819715057caba2dd8b48119df080edd1.gz
2006-11-12 21:45:44 +10:00
axel
816f473ac9
Add a few missing completions for the ls command
...
darcs-hash:20061111113315-ac50b-2a77e93a78571e1e83801128c1793c52bb03e13f.gz
2006-11-11 21:33:15 +10:00
axel
d59d3b4463
Minor code simplification in main.c
...
darcs-hash:20061111110650-ac50b-0d50d10087ea863ff0c79d05c614fdb06fa3b9bd.gz
2006-11-11 21:06:50 +10:00
axel
8784b78d84
Add a few more darcs completions. These are still unfinished, though.
...
darcs-hash:20061111105547-ac50b-0791e833664ff67d8ced1176577d8266fe4a3782.gz
2006-11-11 20:55:47 +10:00
axel
5005c67d76
Minor cleanups, mostly of code comments
...
darcs-hash:20061111105452-ac50b-24ab7965f6208ecdfced738e08cdb4cb4a565458.gz
2006-11-11 20:54:52 +10:00
axel
63732a99e9
Tweak Makefile, including fixing slight dependency problem
...
darcs-hash:20061111105314-ac50b-69703cc2575856a321515aa0554e97d1895a4606.gz
2006-11-11 20:53:14 +10:00
axel
04b7da336d
Documentation updates
...
darcs-hash:20061111105208-ac50b-27e335ba701b021d3119206e91d68c8504d45c2b.gz
2006-11-11 20:52:08 +10:00
axel
5f69f2bb0c
Make fish send a HUP signal to jobs when the terminal tells it to exit.
...
darcs-hash:20061111104840-ac50b-ae989e26bdb6c769ed93dcf11b742887c97858aa.gz
2006-11-11 20:48:40 +10:00
tassilo
fb62a35921
complete-eik-and-friends.dpatch
...
Completions for all tools which come with eix.
(http://dev.croup.de/proj/eix )
darcs-hash:20061110155925-a923b-fd06120f7ea5f65cb752fe437bfccb6f16c87b45.gz
2006-11-11 01:59:25 +10:00
axel
08787c7674
fix bug where off_t was assumed to be long long, causing display errors on systems with no large file support
...
darcs-hash:20061109175804-ac50b-b05ec0aa9ae6f7dd23b7432c321eff44b446397d.gz
2006-11-10 03:58:04 +10:00
tassilo
79de45eed5
better-emerge-completion.dpatch
...
- You don't need to supply the package right after -C or -u etc.
- Better descriptions
darcs-hash:20061109145341-a923b-a1a54d3a5a040396ccba350c125f3b1ba645c601.gz
2006-11-10 00:53:41 +10:00
axel
9bc9e1c08d
Add completions for equery, written by Tassilo Horn.
...
darcs-hash:20061107211708-ac50b-6199e58e84bc8ee8729be5f2a5ff2f3518888bfc.gz
2006-11-08 07:17:08 +10:00
axel
3acdeb87a4
Update the emerge completions. They are now complete, ignore switch ordering, handle packages in different catagories with the same name. This update was made by Tassilo Horn.
...
darcs-hash:20061107211617-ac50b-fcd3108209671283b2d5553d3adf5a81a46869f9.gz
2006-11-08 07:16:17 +10:00
axel
9959e53985
Add alias function. Thanks to Tassilo Horn for pointing out that it was missing.
...
darcs-hash:20061107205539-ac50b-0053f828d40be5bcb088cdb8d669c239c201b433.gz
2006-11-08 06:55:39 +10:00
axel
4edb71325f
Do not escape the ':' character. Thanks to Tassilo Horn for pointing this out.
...
darcs-hash:20061107205437-ac50b-51632ce51915d4ca8680ab4c4522bcd002a794b6.gz
2006-11-08 06:54:37 +10:00
axel
310768e8d2
Try to avoid the '
...
darcs-hash:20061107181911-ac50b-fda6044a81b3a09707f17d4017c2c3dacf4e1801.gz
2006-11-08 04:19:11 +10:00
axel
dc90e460fe
Fix a bug in the help function causing help to fail when trying to open help for a builtin command. Thanks to Reuben Thomas for the report.
...
darcs-hash:20061107131211-ac50b-9727a813d940b34923b23b073c80a7b42c023486.gz
2006-11-07 23:12:11 +10:00
axel
d20c14b4bb
Do not print a newline on empty greeting message. Thanks to Reuben Thomas for pointing this out.
...
darcs-hash:20061107130629-ac50b-553bc13390c0f040f4cecf2780e34da674e065fa.gz
2006-11-07 23:06:29 +10:00
axel
981f5782d8
Fix code for locating inputrc-file in users fish configuration directory. Thanks to Reuben Thomas for reporting this.
...
darcs-hash:20061103155335-ac50b-23ddaec5d0ca591b00e8a59ccc39e63ed8b9ff25.gz
2006-11-04 01:53:35 +10:00
axel
c2021b6225
Fix typo in documentation for the commandline builtin. Thanks to Reuben Thomas for reporting this.
...
darcs-hash:20061103143140-ac50b-b37fbfe68321f904936c002010045e467bc3a778.gz
2006-11-04 00:31:40 +10:00
axel
9de4dbdd03
Add the file that generated the wajig completions to the tree. This should not be installed but it should be included with the tarball. The file was written by Reuben Thomas.
...
darcs-hash:20061103142645-ac50b-0e13e41941b5dc990c60d775cdd8503ed8e54529.gz
2006-11-04 00:26:45 +10:00
axel
1a84a44cc2
Add completions for ps2pdf, dvipdf and dvipdfm commands, written by Reuben Thomas.
...
darcs-hash:20061103141945-ac50b-7592bb5784a55272747bbb0322281b9090e5fd65.gz
2006-11-04 00:19:45 +10:00
axel
80a9fc2fce
Add mention of uninstalling old fish versions to the INSTALL file. Thanks to Jason Grossman for the suggestion
...
darcs-hash:20061103141254-ac50b-27f1f4741379bff54298b6c18d289947f66f91cf.gz
2006-11-04 00:12:54 +10:00
axel
8aac7e82c0
Try to detect seq versions installed by earlier fish versions and replace them
...
darcs-hash:20061103131621-ac50b-2748c958f8614f39fbaa7a45261877a912de539e.gz
2006-11-03 23:16:21 +10:00
axel
49e300d0ca
Check if any libraries need to be linked in order to use iconv. This is needed on OS X. Thanks to Jason Grossman for the report
...
darcs-hash:20061103100004-ac50b-861ca2bc42414c475b1ab24399c8d240cf1e4651.gz
2006-11-03 20:00:04 +10:00
axel
136e99de62
Fix bugs causing all unmapped inputs below 31 to be interpreted as newlines. Thanks to Reuben Thomas for the report.
...
darcs-hash:20061103003457-ac50b-5f3fee63e211b12014e40dc3d8d8c94eaa22f24d.gz
2006-11-03 10:34:57 +10:00
axel
c41986a63f
Add command specific completions for unrar command (No switches yet, only commands and files in archive)
...
darcs-hash:20061102235727-ac50b-7b7638289be4de52b4e3e3d109ad3167b7285023.gz
2006-11-03 09:57:27 +10:00
axel
bedf8ea55e
Add support for completing using contents of tar archives
...
darcs-hash:20061102235548-ac50b-ec4a3b206c73f8fc44cc715b2a95fe6fef2d53c0.gz
2006-11-03 09:55:48 +10:00
axel
d8f1c0abcd
Minor tweaks in the reader. Vastly simplyfu the insert_char function, and add a few code commants.
...
darcs-hash:20061102135019-ac50b-c5d4f7f307deb93b71e797bbb8a1d420a5790dc3.gz
2006-11-02 23:50:19 +10:00
axel
13a85ee3f1
Make sure fish has the currect exit status
...
darcs-hash:20061102134859-ac50b-692f9e9aff838ea375e5cf29eeae1e29b1b75338.gz
2006-11-02 23:48:59 +10:00
axel
fab18bae80
Updates to the documentation - add a few crossreferences, remove redundant listing of builtins and update the todo list
...
darcs-hash:20061102134725-ac50b-802d5cf8754ff94c4cc9533b2ff16a759e9aa2c9.gz
2006-11-02 23:47:25 +10:00
axel
6e24b26e2c
Fix the code for ignoring infinite recursion
...
darcs-hash:20061102134537-ac50b-2dddd06dd77c362caf44c9160acc29b76278b230.gz
2006-11-02 23:45:37 +10:00
axel
7fb44d4d5f
Spelling fix. Thanks to Reuben Thomas
...
darcs-hash:20061101231404-ac50b-8f5b08242aed565baf37035805d7b3614fe8022b.gz
2006-11-02 09:14:04 +10:00
axel
44f85d04f9
Fix formating issue for the documentation for the prevd function
...
darcs-hash:20061101221835-ac50b-03a9b5abc7e4a25cc75effecc734c20eb8fee342.gz
2006-11-02 08:18:35 +10:00
axel
bd71f0a096
Fix build error
...
darcs-hash:20061101181221-ac50b-227b2d2f6f5122c9f25c471872376884bdace13c.gz
2006-11-02 04:12:21 +10:00
axel
f7b656017f
Use the same wording about license in Makefile and main.c.
...
darcs-hash:20061101144747-ac50b-fac8e3693445a8601f0c71ab191a64dac0ad7a67.gz
2006-11-02 00:47:47 +10:00
axel
7a8ca73376
Add missing include to fix a warning
...
darcs-hash:20061101105412-ac50b-1ee3d996330ad435954abfc8f827deb3f121adb5.gz
2006-11-01 20:54:12 +10:00
axel
9eb1826961
Update to buildscripts to fix dependency issues caused by new documentation layout
...
darcs-hash:20061101103112-ac50b-8ee49c3031b7802822c95ffcfee26d10e1870ed1.gz
2006-11-01 20:31:12 +10:00
axel
728a60bd67
Fix beginning/end-of-line input function, add beginning/end-of-buffer functions
...
darcs-hash:20061031220149-ac50b-6e6b8f523642bead730059dd96ee2d1290283b5e.gz
2006-11-01 08:01:49 +10:00
axel
0099c3c420
Add table of contents to begining of documentation. This involves some restructuring of the documentation files.
...
darcs-hash:20061031153614-ac50b-7a6e97e30ae759591028227466e76c574b931fd5.gz
2006-11-01 01:36:14 +10:00
axel
885d16fcd6
Fix casing and other minor issues in documentation
...
darcs-hash:20061031152316-ac50b-e68db9853d6e9461a0c054f1ea290704ccfc0a31.gz
2006-11-01 01:23:16 +10:00
axel
c4a8f4c890
Code beutification in build files
...
darcs-hash:20061031020656-ac50b-2385bb51d7df624e5691b7659120596600fd1d5d.gz
2006-10-31 12:06:56 +10:00
axel
c098cb5c87
Bump version number
...
darcs-hash:20061030160357-ac50b-29729cb4ba358e09f9c19e6d6e07e0c2489e14fd.gz
2006-10-31 02:03:57 +10:00
axel
63643ff17f
Fix completions for which and type, which where broken by previous script updates
...
darcs-hash:20061030015221-ac50b-e4a0f2802e7a5dc4a1e594933f25cae00d9ea104.gz
2006-10-30 11:52:21 +10:00
axel
f83575f084
Make sure signals aren't blocked while autoloading, also add a few consistency checks to see that signals aren't blocked in critical places
...
darcs-hash:20061029210911-ac50b-50bec85c3d59d0332ba44f3ece1a012cdc3e8c4b.gz
2006-10-30 07:09:11 +10:00
axel
a6c00ca0d2
Minor edits
...
darcs-hash:20061028164448-ac50b-c53d5f235d01db3a11b01996b77411a213dc5303.gz
2006-10-29 02:44:48 +10:00
axel
c5eaefc8b5
Update autoloader to fix concurrency issues when changing loader path in autoloaded function
...
darcs-hash:20061028164122-ac50b-25f978df9afeb370a06ef7576ef03183034bc057.gz
2006-10-29 02:41:22 +10:00
axel
f16bb285be
Documentation updates and clarifications
...
darcs-hash:20061028163229-ac50b-2b6d3712a97903788520c155326b0e7a193b5eec.gz
2006-10-29 02:32:29 +10:00
axel
09c348bef2
Add a shellscript function 'save'function' for saving the current definition of a function to file
...
darcs-hash:20061027225004-ac50b-2454152687ff84deec90e3d938a0288e62dc34e6.gz
2006-10-28 08:50:04 +10:00
axel
561ec7d5f5
Change the way the umask is used so that executable bits are ignored on file creation. Thanks to sqweek and Jamessan for explaining the issue.
...
darcs-hash:20061026151946-ac50b-3a55159343f1fe0a4edf3f077bcec8afd6f131f5.gz
2006-10-27 01:19:46 +10:00
axel
e98a604a21
Minor edits, remove unneeded code, add a few commants, correct spelling, tweak the todo list, etc.
...
darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
2006-10-26 20:22:53 +10:00
axel
3341fc888c
Make the fish manpage in Doxygen and add it to the main fish documentation
...
darcs-hash:20061026102059-ac50b-2a7956bb4651b5ffe867e7c6eb26a29e2f15ad24.gz
2006-10-26 20:20:59 +10:00
axel
1faf7df371
Move out argument parsing into it's own function
...
darcs-hash:20061025205443-ac50b-2889624cadb3b92be13da523df32b178c773dbf7.gz
2006-10-26 06:54:43 +10:00
axel
3a128e1484
Use bitset to implement flags for jobs instead of wasting a whole int for every flag
...
darcs-hash:20061025204759-ac50b-ea07caa30782a1ea02d2cd8aa7cbc94474047a10.gz
2006-10-26 06:47:59 +10:00
axel
cdc52f7bde
Add more comments to the history implementation
...
darcs-hash:20061025204650-ac50b-419d37d9ea68de0deee613524d06882a8e4c908e.gz
2006-10-26 06:46:50 +10:00
axel
e0899addcb
Minor cleanups and improved error checking in reader code
...
darcs-hash:20061025203608-ac50b-213edeb462eaabce849d9cd13ffc30879e810bb8.gz
2006-10-26 06:36:08 +10:00
axel
c627509e59
Make al_pop return null on empty lists instead of crashing
...
darcs-hash:20061025203433-ac50b-5d3a18d788d6f36dffe1136664f029a500989db9.gz
2006-10-26 06:34:33 +10:00
axel
4502fc74c3
Fix spelling error in init file
...
darcs-hash:20061025203337-ac50b-576bd81401e332f94ecdff5665ca8da82c63fa8e.gz
2006-10-26 06:33:37 +10:00
axel
3b0ed061cd
If the builtin help won't fit on-screen, and it can't be shortened, don't print it
...
darcs-hash:20061025203225-ac50b-8675f297a8aabea080edf7946d6f136296a6d7bb.gz
2006-10-26 06:32:25 +10:00
axel
dfa73c7cc1
Remove the --key-binding switch for fish
...
darcs-hash:20061025202836-ac50b-682015e2f5830a85ff520e89b0a951ca9d2913dc.gz
2006-10-26 06:28:36 +10:00
axel
12be24ef47
Update dependency list
...
darcs-hash:20061025163950-ac50b-161f81c51f5e923bfaf0aa9fda4d74f785e7aff7.gz
2006-10-26 02:39:50 +10:00
axel
c684b7c7c7
Update makefile to not try to delete old config files during install, and instead fail with a relevant error message. Thanks to Jamessan for pointing out the evilness of the old method and suggesting the new method.
...
darcs-hash:20061025163532-ac50b-ff394c53b8eb0d932894784bc25e086f9c9b65ec.gz
2006-10-26 02:35:32 +10:00
axel
4f22082a5c
Do not remove trailing whitespace from function definitions, the may be a part of a function
...
darcs-hash:20061025122712-ac50b-6d7ab43572f71cafa5fddd65b8350498e2651b41.gz
2006-10-25 22:27:12 +10:00
axel
e3c1363831
Drop switch for saving of functions to file from the function builtin
...
darcs-hash:20061025105746-ac50b-942e878b01f5e080d7cf1e6414246b68b608b08f.gz
2006-10-25 20:57:46 +10:00
axel
6d413c8dc3
Fix bug where in rare cases calling the exit builtin would cause jobs to not execute even though the call to exit was blocked by running jobs
...
darcs-hash:20061025101402-ac50b-36456915671513f376a90c4455d1c9256f4a9030.gz
2006-10-25 20:14:02 +10:00
axel
32a49e45c8
Use the _t suffix for typedef:ed structs in complete.c
...
darcs-hash:20061024110352-ac50b-30768be6a11d9a5935be479fbdb430a42b0a95b9.gz
2006-10-24 21:03:52 +10:00
axel
b37d49a708
Fix bug in sed scripts for generating configuration files from templates. Multiple substitutions on the same line where ignored.
...
darcs-hash:20061023104315-ac50b-e5e84fb1e33fad98d81efccca0ae5dd57b479c7e.gz
2006-10-23 20:43:15 +10:00
axel
86b7023536
Decrease priority of fishd debug message
...
darcs-hash:20061022160329-ac50b-5f35fe90f6be184f02fc6514fc6047b25e4f93c3.gz
2006-10-23 02:03:29 +10:00
axel
287ab597ca
Remove extra whitespace from warning message on directory transition
...
darcs-hash:20061022155759-ac50b-e1cd50b1b0d05413ad6e4d6c06a0f005e17d6976.gz
2006-10-23 01:57:59 +10:00
axel
c313f21066
A few more minor code tweaks to fish_pager, including added documentation and removing a few hardcoded constants.
...
darcs-hash:20061022115026-ac50b-590de2ef2f0cbe474ca4e41fd134e0c46d6877b3.gz
2006-10-22 21:50:26 +10:00
axel
e2dca4273a
Add documentation, fix memory leaks and do minor code tweaks in fish_pager
...
darcs-hash:20061022110414-ac50b-e5ba776e795e0273d819d4eb51d5f60fba967db2.gz
2006-10-22 21:04:14 +10:00
axel
5a7a8003a0
Give search highligting precedence over other highligting types
...
darcs-hash:20061022094018-ac50b-0f688dc7e756f428c05e6977db6dc9cf9f642475.gz
2006-10-22 19:40:18 +10:00
axel
b83a7cb659
Make automatic history reloading actually work the way it should
...
darcs-hash:20061022012102-ac50b-e57a0dd2c918a2a8abd0210b9f8a2163ce664b74.gz
2006-10-22 11:21:02 +10:00
axel
da81328d75
Fix warning messages in fish_tests
...
darcs-hash:20061021225900-ac50b-992edf0914250ae090ef952717ef3a05cb9cfa6e.gz
2006-10-22 08:59:00 +10:00
axel
5ae4306418
Change meaning of ** to match both files and directories
...
darcs-hash:20061021224429-ac50b-38e46fa533baf9a46d207ab95bfa7af55abbe54a.gz
2006-10-22 08:44:29 +10:00
axel
ed36f30eae
Fix crash bug in new history code - fish would segfauls in non-interactive mode on exit
...
darcs-hash:20061021103035-ac50b-a2a8d96416ff217cc5640f8f27db8dbac2c39b82.gz
2006-10-21 20:30:35 +10:00
axel
7b8ebdadd6
Fix flags for mmap in history, don't unload history items written to disk in order to keep proper ordering
...
darcs-hash:20061021101609-ac50b-563c0b14b620a6ef4bffe69202e97103b1d75ea5.gz
2006-10-21 20:16:09 +10:00
axel
bb4e166b37
Add some documentation to the new history code, and fix some minor code issues
...
darcs-hash:20061020230420-ac50b-39a08d68b82481514b0d6c1024a12618bf329d57.gz
2006-10-21 09:04:20 +10:00
axel
9dc1a7d5e9
Rewritten history implementation - uses mmap to save lots of memory and also allows incremental saving. The history is autosaved every five minutes and every five added entries
...
darcs-hash:20061020223649-ac50b-5e3e2c1e395feec0f5ac457149639f68d52d40f0.gz
2006-10-21 08:36:49 +10:00
axel
79f59e2a2d
Decrease number of gettext messages that are buffered to save memory
...
darcs-hash:20061020223440-ac50b-ad0c0f685bfc851c62c340ee7d97fa1413bc9fca.gz
2006-10-21 08:34:40 +10:00
axel
8285242ff6
Add wrename wrapper around rename function
...
darcs-hash:20061020223347-ac50b-1735f7e63b87f021ca71c44e5278726d3e8debc3.gz
2006-10-21 08:33:47 +10:00
axel
c0a54955e7
Remove /etc/fish file before creating directory with the same name to avoid clash
...
darcs-hash:20061019234336-ac50b-569c1b492ab4d1f5f84dc8a4730700264c4e3e10.gz
2006-10-20 09:43:36 +10:00
axel
b2d4e85f17
Make any character except '/' legal in function names
...
darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.gz
2006-10-20 01:47:47 +10:00
axel
a5868d67f5
Make failed process expansions expand to zero arguments, not to the original string
...
darcs-hash:20061019154127-ac50b-86975e62d9947819862a98e7b6fff3ff630f26b7.gz
2006-10-20 01:41:27 +10:00
axel
45f1263112
Minor code fixes
...
darcs-hash:20061019153950-ac50b-9a7d5939ce47cd5f8b7167a97b0e9c62315b7b6e.gz
2006-10-20 01:39:50 +10:00
axel
4683f4c989
Fix a number of bugs found using the warnings generated by earlier patch
...
darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
2006-10-20 01:36:03 +10:00
axel
ae16397e1c
Fix occasional garbled characters in output of the set builtin
...
darcs-hash:20061019152418-ac50b-2ef6e93820deb5e272f28f893c51dca642a6b080.gz
2006-10-20 01:24:18 +10:00
axel
2d05b1c1b4
Add compiler warnings for some common incorrect usage of functions, such as forgetting to cast null pointers to variadic functions
...
darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
2006-10-20 01:19:47 +10:00
axel
ea998b03f2
First stab at directory transition. Test with care...
...
darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
2006-10-19 21:50:23 +10:00
axel
52b2525b0e
Make the callback for the file autoloader optional, and clarify its use
...
darcs-hash:20061019114632-ac50b-a0b3e1b3e7f26aa7cd674ade1a4fb2246f978ebc.gz
2006-10-19 21:46:32 +10:00
axel
ff96668151
Minor edits to documentation
...
darcs-hash:20061019114024-ac50b-e283638e3a34e1d38be58971f31900129230c598.gz
2006-10-19 21:40:24 +10:00
axel
d7576a409a
Make history variable contain whole history
...
darcs-hash:20061019113916-ac50b-7e24780cdd591ae23210f0da2cb80a4cf09ba5c6.gz
2006-10-19 21:39:16 +10:00
axel
f6815629fc
Give USER and HOME default values if undefined
...
darcs-hash:20061019113844-ac50b-def2288d589f479779166ed64903e99c8c8ab71a.gz
2006-10-19 21:38:44 +10:00
axel
8b3bcd2c4c
Tweak initial capacity calculations to always be a Mersenne number
...
darcs-hash:20061018230246-ac50b-3da6ada42423f5bba3f8c3fdb366ce1f352cffde.gz
2006-10-19 09:02:46 +10:00
axel
c7bc31fe50
Fix exceptaionally rare crash bug in hash tables (happens once in every 2^32 hash lookups
...
darcs-hash:20061018230148-ac50b-4e67ecf1f9aeae8239c40101ae2ad6aa164c31bb.gz
2006-10-19 09:01:48 +10:00
axel
bab168f1d1
Fix yet another universal variable issue with initialization of the read buffer. This may fix fishd bugs reported by Philip Ganchev and Martin Bähr
...
darcs-hash:20061018164438-ac50b-c586b1ad36249853d613d0137b505377fe890d37.gz
2006-10-19 02:44:38 +10:00
axel
2ab04f4043
Skip command description lookup when no commands where found
...
darcs-hash:20061018155151-ac50b-5562479da23b89571f91ae1e2ed15e640ef0a094.gz
2006-10-19 01:51:51 +10:00
axel
b32bbb24b9
Fix bug in command description lookup code causing missing descriptions when command is given with a path
...
darcs-hash:20061018155059-ac50b-40936e573c07deb6b159a16d843f02ed60e79b49.gz
2006-10-19 01:50:59 +10:00
axel
f86f80fcd6
Properly handle character sets in universal variables
...
darcs-hash:20061017211129-ac50b-6aecd04b74a9122ff0e1b320a2cf48db36dd2194.gz
2006-10-18 07:11:29 +10:00
axel
d563e428e8
Avoid unloading an item currently being loaded by the autoloader
...
darcs-hash:20061016154022-ac50b-f4b74457a9e3acdcc70076f65dff4c1f00ac379f.gz
2006-10-17 01:40:22 +10:00
axel
5473711a20
Minor code simplifications in the reader and related libraries
...
darcs-hash:20061016153226-ac50b-830735fadfdf578dfa4c686a2a6cd98df0e50c95.gz
2006-10-17 01:32:26 +10:00
axel
91009ac9aa
Fix hang bug when appending to killring
...
darcs-hash:20061016150017-ac50b-c1f789d9913949ebc44cd9d02af5c3555bdf51bf.gz
2006-10-17 01:00:17 +10:00
axel
49bff53370
Avoid reading before begining of buffer when moving/erasing word, fixes crash bug reported by Martin Bähr and further described by Philip Ganchev.
...
darcs-hash:20061016143912-ac50b-1deacc00f6c0438e6d760568ef5b1e47e3fe08c4.gz
2006-10-17 00:39:12 +10:00
axel
afcab9f1b3
Minor bugfix in the kill-ring code
...
darcs-hash:20061012223200-ac50b-6a046a89295f01937a38000ef6d016b7be5c19f1.gz
2006-10-13 08:32:00 +10:00
axel
841fdf3a04
Make kill-word and backward-kill-word accumulate kills in the killring
...
darcs-hash:20061012193000-ac50b-69f261df78b3957b9cec3d728fe05b8a27267c31.gz
2006-10-13 05:30:00 +10:00
axel
92446bda80
Yet another tweak to the move_word function
...
darcs-hash:20061012161317-ac50b-3b374e2b6c4c22f82c1cf018bf83298c8216fcb1.gz
2006-10-13 02:13:17 +10:00
axel
a620a1e5ed
Update todo-list
...
darcs-hash:20061012140247-ac50b-ae6b9a26c5979dc7080ff3fea8dad618211227e1.gz
2006-10-13 00:02:47 +10:00
axel
5a8df6cc85
Fix major memory leak in autoloader introduced by recent autounloader patch
...
darcs-hash:20061012133012-ac50b-d03de17d9df4d41db075b24c2f7e48ad8c0f6417.gz
2006-10-12 23:30:12 +10:00
axel
b70b966f90
Fix the kill-line, backward-kill-line and kill-whole-line commands to work correctly with multiline editing
...
darcs-hash:20061012132732-ac50b-03fe641cf32ace645c88174528e849ab0d1ecb4b.gz
2006-10-12 23:27:32 +10:00
axel
97f7c2093b
Drop warning in parse_util.c
...
darcs-hash:20061012120859-ac50b-1af2af938cd99630c2ea7b532e6213c26cc4ea6b.gz
2006-10-12 22:08:59 +10:00
axel
8ece4f3ddc
Better string hashing function
...
darcs-hash:20061012010129-ac50b-3c420efe649e892c491d9d9830dda153ca395655.gz
2006-10-12 11:01:29 +10:00
axel
17a13a8eb7
Use the xdg-open command in the open function if it exists
...
darcs-hash:20061011161749-ac50b-f700489a238dafbd9aec4ef4f2eed731a8622b27.gz
2006-10-12 02:17:49 +10:00
axel
afaf156a42
Fix compilation issue in test suite,. Thanks to Martin Bähr for the report.
...
darcs-hash:20061010224721-ac50b-0bd07f325c2026d991cf9535941060fadd5869cb.gz
2006-10-11 08:47:21 +10:00
axel
c4f3b5e9ef
Unload older autoloaded functions
...
darcs-hash:20061010224546-ac50b-7c3f38d32d4a413a9c0d8436bb13a5d65235f3a7.gz
2006-10-11 08:45:46 +10:00
axel
f5916358e5
Fix bug in the input buffering of messages to/from fishd causing garbled messages
...
darcs-hash:20061010222113-ac50b-1b6b01ab781ecbadf11a99b501f19a526ae7a7cf.gz
2006-10-11 08:21:13 +10:00
axel
e3e1b34fec
Only show greeting in interactive mode
...
darcs-hash:20061010173154-ac50b-4831a80be03ed132ca5f709dcc5284d17d828d4e.gz
2006-10-11 03:31:54 +10:00
James Vega
18bb4ca826
Makefile.in: Update clean target to preserve builtin_help.c, user_doc, doc_src/builtin_doc and remove share/fish
...
darcs-hash:20060920040413-35ec8-2bc89e5dff67e2cab274676df2ca90eb1bb385e9.gz
2006-09-20 14:04:13 +10:00
axel
007e4662e3
Fix bug in contains function
...
darcs-hash:20061009215133-ac50b-3dc99c245e69c176f334046d9746d533a106cf2a.gz
2006-10-10 07:51:33 +10:00
axel
e11677ef66
Make the greeting message configurable using the fish_greeting variable
...
darcs-hash:20061009214905-ac50b-cc07bf2b76c5306f96d1bca7fd478d972de25de8.gz
2006-10-10 07:49:05 +10:00
axel
194167da32
New version of the xdg fix. Unlike the previous version, this one should actually work.
...
darcs-hash:20061009212440-ac50b-10d1cdd7441335d033171f5b71a8a97f8a1d1dfb.gz
2006-10-10 07:24:40 +10:00
axel
dafeac5c40
Fix compilation issues in xdg library caused missing headers. Thanks to Jamessan for the report.
...
darcs-hash:20061009201230-ac50b-4b5c183fbd88ef45a0ededdc3eea79191951fb5f.gz
2006-10-10 06:12:30 +10:00
axel
effea85984
Apdate address of fish homepage
...
darcs-hash:20061009152007-ac50b-403f605d46849a3b83192d872c4f6322bf97bb7e.gz
2006-10-10 01:20:07 +10:00
axel
0b34836c79
Update dependency list
...
darcs-hash:20061009151948-ac50b-89b0c12a9c8763517d85bf3e46f78b7c64846db6.gz
2006-10-10 01:19:48 +10:00
axel
f85ce201ee
Do not use INTERNAL_SEPARATOR tokens to separate different parts of an unescaped string when unescape_special is false. This fixes a bug where weird characters would sometimes be printed in completion descriptions
...
darcs-hash:20061009151913-ac50b-47a9d3274b2399cef6fd0e12a908a606da2c4903.gz
2006-10-10 01:19:13 +10:00
axel
80ac4ddc2b
Allow more than one argument to the commandline builtin. The arguments will be joined together using newlines
...
darcs-hash:20061009141608-ac50b-546c0f5897670bb7e628d6e7c63d687eac261ee1.gz
2006-10-10 00:16:08 +10:00
axel
9a0f712e29
Make the screen repainting code slightly more robust by keeping track of whether clr_eol may be needed to clear 'debris' from e.g. resizes
...
darcs-hash:20061009132642-ac50b-6162ed86a97771a8da4be2adff3ad6a4f1851616.gz
2006-10-09 23:26:42 +10:00
axel
286e110fb1
Various minor cleanups
...
darcs-hash:20061009103408-ac50b-a54797b9f89f51a8fc8f13674e8fd2329e989d4c.gz
2006-10-09 20:34:08 +10:00
axel
988a7fddf3
Indent empty lines after a block command correctly. Thanks to Philip Ganchev for the suggestion.
...
darcs-hash:20061009095931-ac50b-c958a6ec7a130019527e8e06d94af010d55ac3d5.gz
2006-10-09 19:59:31 +10:00
axel
a321505351
Allow escaped newlines within qoutes, expand them to themselves
...
darcs-hash:20061009012248-ac50b-a403705cfe166c7686a168bc017c50c316c28161.gz
2006-10-09 11:22:48 +10:00
axel
a074cd62bc
Be more rigorous with the exit codes set by the parser and builtins
...
darcs-hash:20061009012102-ac50b-4f28c43dd1ccdcc04d1620a6da05218a99fd7337.gz
2006-10-09 11:21:02 +10:00
axel
7a8b468165
Allow Meta-newline to always insert a newline character
...
darcs-hash:20061009011529-ac50b-c8e3d77b569bc445e586c95aca01e4433fbff598.gz
2006-10-09 11:15:29 +10:00
axel
770fa771b6
Unknown commands should set the status flag to 127, as in bash and friends
...
darcs-hash:20061008234650-ac50b-d41e6ec3d0a6088b0addf5721aecf8d98ed866cd.gz
2006-10-09 09:46:50 +10:00
axel
414fa591b8
Make sure that if a syntax error occurs, the parser does not try to evaluate command substitutions in the command
...
darcs-hash:20061008234458-ac50b-96f9be42b12a9d2d2b61f6700b25c1242e1c385b.gz
2006-10-09 09:44:58 +10:00
axel
941b472b37
Make sure indentation works even if a line begins with whitespace
...
darcs-hash:20061008232351-ac50b-122ff623a2e428352477aa52afee9a71b40e569e.gz
2006-10-09 09:23:51 +10:00
axel
179f575593
Update history loading/saving to handle multiline editing
...
darcs-hash:20061008135046-ac50b-e830fe313e23f632b9c645227f41c49c8ce600f4.gz
2006-10-08 23:50:46 +10:00
axel
6400b60bdd
Fix a few places where uncasted 0 was used as a null pointer in vararg functions, causing potential crashes on 64-bit platforms
...
darcs-hash:20061008132759-ac50b-23fe4f70a5143b8b187780403d8d21fb69c3e83f.gz
2006-10-08 23:27:59 +10:00
axel
0e03e872be
Fis minor memory leak in screen handling code
...
darcs-hash:20061008004704-ac50b-3f40073c00f1ebd8e851c49e2df873c423637d0c.gz
2006-10-08 10:47:04 +10:00
axel
e51322ac81
Make it possible to use backslash to stay in multiline mode even when not at the end of the command
...
darcs-hash:20061007210631-ac50b-cc8513802c247d92c8d4d5f7bcf7a146aab67a1e.gz
2006-10-08 07:06:31 +10:00
axel
1e739166b3
Fix tokenizer bug causing bad highlighting in multiline mode
...
darcs-hash:20061007210521-ac50b-5cdfc808389c928b932b0e41ef14abd71b537633.gz
2006-10-08 07:05:21 +10:00
axel
560e53fd5f
Add autoindentation support
...
darcs-hash:20061007005625-ac50b-11873654797eb1e98fd17893022bdf995be3e2aa.gz
2006-10-07 10:56:25 +10:00
axel
184d58cd36
Buffer calls to read() in the universal variable code
...
darcs-hash:20061006184539-ac50b-d8ecc4c45d0caae12cd60e32515a1218b37831d3.gz
2006-10-07 04:45:39 +10:00
axel
bcf3024cf0
Update todo list
...
darcs-hash:20061005201141-ac50b-5441cefd081ede3d7b02c5955c828ac7c3f132c3.gz
2006-10-06 06:11:41 +10:00
axel
9611a3b205
Color the ellipsis used by line wrapping as comments. Thanks to Philip Ganchev for the suggestion.
...
darcs-hash:20061005194026-ac50b-2708cfe79f28dbae9febc3fc5fcddb48c1fc8822.gz
2006-10-06 05:40:26 +10:00
axel
8ace1739f5
Add missing newline in error message for popd function. Thanks to Phipip Ganchev.
...
darcs-hash:20061005064419-ac50b-4770f393ea02761a5f4b4044b456d1b618d6da23.gz
2006-10-05 16:44:19 +10:00
axel
302516a747
Fix bug causing ls function to never color or classify files
...
darcs-hash:20061004235530-ac50b-815b8576b4d845c4d5929e034177c917fc050cae.gz
2006-10-05 09:55:30 +10:00
axel
ad5a6e0552
Move the code keeping track of file descriptor modification from reader.c to screen.c
...
darcs-hash:20061004233312-ac50b-9a10ff758375885ae78a5e5c04279c1976a037ea.gz
2006-10-05 09:33:12 +10:00
axel
873fd83307
Drop the optional checking of block type for the end builtin
...
darcs-hash:20061004233206-ac50b-cf72c879b4b58c8e5ba4e1dff5c2746ca2e8844f.gz
2006-10-05 09:32:06 +10:00
axel
d1078f8582
Detect and handle terminals size changes
...
darcs-hash:20061004214502-ac50b-aaf5b76a6281c0ba8757e794b0a802793ce92916.gz
2006-10-05 07:45:02 +10:00
axel
0ea668b260
Minor code cleanup
...
darcs-hash:20061004214204-ac50b-e1529fcedb1665f9871a95eba293a4a3c1150464.gz
2006-10-05 07:42:04 +10:00
axel
91c745e4b5
Add the possibility to set the cursor position using the commandline builtin
...
darcs-hash:20061004213948-ac50b-3f673edeb01390bb3f280812d90bc8469f2f8ba8.gz
2006-10-05 07:39:48 +10:00
axel
7d73349889
Add the possibility to set the input that the commandline builtin operates on
...
darcs-hash:20061004184939-ac50b-f2c3e2161a5bf77834a566462ac9942571c9d6ea.gz
2006-10-05 04:49:39 +10:00
axel
53a2c017fe
Mangle very long variable values when using the set builtin to print variables and their values
...
darcs-hash:20061004181901-ac50b-a043695fa8fffe877970a51dd042c4bf623a770c.gz
2006-10-05 04:19:01 +10:00
axel
80ff583400
Use universal variables for fish_function_path and fish_complete_path
...
darcs-hash:20061004175519-ac50b-2e9dabc9ce1c21ebfcba020db8a8d84ef48433e9.gz
2006-10-05 03:55:19 +10:00
axel
0c7f74c78d
Repain prompt after showing completion pager
...
darcs-hash:20061004102706-ac50b-51d0603c81f3125c01bad0901f8d2b745fc18e4a.gz
2006-10-04 20:27:06 +10:00
axel
13b1ea3f50
Various fixes to make double-wide characters (e.g. asian characters) work with the new multiline editing code
...
darcs-hash:20061001232136-ac50b-9bd771b382c00b71c5e2ee75df77ba2594b2a738.gz
2006-10-02 09:21:36 +10:00
axel
44ff9956b9
Second cleanup of multiline editing patch. Add code comments, use better variable names, etc..
...
darcs-hash:20061001212243-ac50b-6cd5abfcf6b7013fd23b27734ca29af27d945ca3.gz
2006-10-02 07:22:43 +10:00
axel
add1fa9208
First cleanup of multiline patch - add support for commands longer than one line and do minor cleanups, including removal of a few unused functions
...
darcs-hash:20061001205423-ac50b-2819a086fecb1bcd0ab1bc63bae76956f0181f54.gz
2006-10-02 06:54:23 +10:00
axel
8b2059c628
Add function to insert a range of new elements into the middle of an array_list
...
darcs-hash:20061001201728-ac50b-db2f7bccee53224f50347c8995b2f6496940243d.gz
2006-10-02 06:17:28 +10:00
axel
15724d0798
First stab at multiline editing
...
darcs-hash:20061001160258-ac50b-1a760913e64b96e30ff321d7fbe4069ca161cdfe.gz
2006-10-02 02:02:58 +10:00
axel
2839f5e567
Minor comment and documentation edits
...
darcs-hash:20061001155918-ac50b-8b5b4f5dbd8334bac1c0dc77fa18c8f3cfb4a878.gz
2006-10-02 01:59:18 +10:00
axel
67c820cee8
Minor tweaks to code validation for the for builtin (again)
...
darcs-hash:20061001155734-ac50b-6009b98dfccaf8f8292859f25c4d564c6b622f47.gz
2006-10-02 01:57:34 +10:00
axel
bce4c78d49
Further reduction of malloc calls in the history
...
darcs-hash:20061001152040-ac50b-085f4b8ce20c4793d5e592f7a213df04208630cb.gz
2006-10-02 01:20:40 +10:00
axel
421ebcc2d7
Be a bit more careful with memory alignemnt in halloc
...
darcs-hash:20060930121917-ac50b-6292696663684a38844b4c21360274b365e52969.gz
2006-09-30 22:19:17 +10:00
axel
92df4a6d91
Make sure M-d erases last character of word. Thanks to DynWind for the report
...
darcs-hash:20060929214804-ac50b-ffb19242fcbd594fb72016427704cb51cf9d0a22.gz
2006-09-30 07:48:04 +10:00
axel
22fe8e6a17
Fix bug in the setenv function (values wheren't exported!), thanks to Matrin Bähr for the report.
...
darcs-hash:20060928165405-ac50b-5ada00cfc08805677e1932c800ee79d68e35a68b.gz
2006-09-29 02:54:05 +10:00
axel
d0f1870735
Add syntax check to see that the for builtin is not given an insufficient number of arguments
...
darcs-hash:20060926124109-ac50b-b088397933fa7ea539e48fa9fcd461de8295f7ce.gz
2006-09-26 22:41:09 +10:00
axel
b71f5d09b0
Fix occasional off-by-one bug in syntax highlighting causing the character next to the cursor to be unhighlighted instead of the cursor itself
...
darcs-hash:20060924175723-ac50b-35757e87eb7076c2ecdecaed11c1bb673c571035.gz
2006-09-25 03:57:23 +10:00
axel
eb00ad77fb
Make sure isatty docs are built into the main doc file
...
darcs-hash:20060919175509-ac50b-0174257f46e15d6e931bd8664e8a83ac498707b2.gz
2006-09-20 03:55:09 +10:00
axel
be886bc6df
Unly use classifications in ls if stdout is a tty
...
darcs-hash:20060919165317-ac50b-c7923c7f5900ecc9814756743e6b0345efa382c5.gz
2006-09-20 02:53:17 +10:00
axel
7a5823fd60
Documentation updates from Beni Cherniavsky
...
darcs-hash:20060919145203-ac50b-bc87b8f5e6a18395e4bc3e364da4a40ad97850e7.gz
2006-09-20 00:52:03 +10:00
axel
81d61c467b
Fix bug in for that causes crash on syntax error
...
darcs-hash:20060919142140-ac50b-48cbbdfd109e2b420d8e36acd5b13696445c0850.gz
2006-09-20 00:21:40 +10:00
axel
e91e3b6593
Minor bugfix in the switch parsing for the status builitn
...
darcs-hash:20060919142042-ac50b-b532e0308407d101d1f8b328a575a54e8bc46799.gz
2006-09-20 00:20:42 +10:00
axel
1db67a5105
Add completions for the wpa_cli command
...
darcs-hash:20060918222913-ac50b-9aeac9d1a5ecb4b6915625b07133b66ebab0b2bd.gz
2006-09-19 08:29:13 +10:00
axel
810faacd72
Make sure that syntax validator allows use of 'break' and 'continue' with --help even outside of loops, and make sure 'return' is only used in function definitions.
...
darcs-hash:20060918001518-ac50b-78977cbd17e4edce8d1b7d4c5426f478d42392af.gz
2006-09-18 10:15:18 +10:00
axel
6be3807cae
Fix issue with ^W and other shortcurs sometimes not deleting anything
...
darcs-hash:20060916230532-ac50b-395d34e2c67d2be3d634638265a98239442fd6cd.gz
2006-09-17 09:05:32 +10:00
axel
4399503f4e
Fix a bug in completion insertion code on string with escaped quotes. This bug was reported by David Benbennick.
...
darcs-hash:20060914151821-ac50b-c6628fc01a90865e0aec6e93b39b77c3877606fc.gz
2006-09-15 01:18:21 +10:00
axel
06b5fdc6e8
Update todo-list. Thanks to MArtin Bähr for the additions.
...
darcs-hash:20060913212744-ac50b-cb446bcebc04a89c7b065e2d3879b474740a005e.gz
2006-09-14 07:27:44 +10:00
axel
4037219dc0
Make sude completions include /sbin and /usr/sbin in PATH. Thanks to Xavier Douville for the suggestion.
...
darcs-hash:20060913171310-ac50b-a9e30533bc634f194f73fdee1e042d407f55fcac.gz
2006-09-14 03:13:10 +10:00
axel
1612ec50fb
Fix bug in __fish_complete_subcommand, reported by Xavier Douville
...
darcs-hash:20060912231409-ac50b-c573d798d9d1abc197fcf50f3b52df2e44e1f70e.gz
2006-09-13 09:14:09 +10:00
axel
3bb0163598
Update todo-list again
...
darcs-hash:20060912221050-ac50b-1c16582591642beba13f83224dc7ef47cb9c5a0a.gz
2006-09-13 08:10:50 +10:00
axel
4d19aa7698
Update todo-list
...
darcs-hash:20060912215025-ac50b-448068ea065db5d2db4bb68b7e41ef4e986ecc83.gz
2006-09-13 07:50:25 +10:00
axel
f72de8e141
Ugly kludge to fix ugly header output from Doxygen in man-pages
...
darcs-hash:20060912155058-ac50b-50487271adc31d20a0e07e742a1cbe724068be6d.gz
2006-09-13 01:50:58 +10:00
axel
02eb856e44
Don't syntax highlight the character under the cursor, since that may hide the cursor. Thanks to Matin Bähr and Philip Ganchev for the reports
...
darcs-hash:20060911143935-ac50b-e1502365aeba0f4d97976f688329cbfc4b9871a4.gz
2006-09-12 00:39:35 +10:00
axel
c550f4eb21
Add completions for xpdf and xmms, written by Vikas Gorur
...
darcs-hash:20060911141848-ac50b-a541eafba3f0155b207963633262229330c01bea.gz
2006-09-12 00:18:48 +10:00
axel
00c25436d7
Make it possible to save a function when defining it using the -S switch
...
darcs-hash:20060908141241-ac50b-69a055a1e791e04e2b1208a5c36b9bb22c854c12.gz
2006-09-09 00:12:41 +10:00
axel
6107d63995
Add wmkdir function
...
darcs-hash:20060908141128-ac50b-9b67d1c5af9f746be18509bad3a0e8988efce29a.gz
2006-09-09 00:11:28 +10:00
axel
eafa0a7169
Bugfix in the wdirname function
...
darcs-hash:20060908141041-ac50b-8650eea2d071606654cad94553344ed12b4bf609.gz
2006-09-09 00:10:41 +10:00
axel
45d2b89780
Use halloc in history as well as other minor cleanups in history.c
...
darcs-hash:20060908123455-ac50b-9a3aa6a186fc883621c120cd0964a05ed595f2a4.gz
2006-09-08 22:34:55 +10:00
axel
72d73b7fdd
Fix crash bug in cyntax validator when using an illegal command name. Thanks to Martin Bähr for the report.
...
darcs-hash:20060907201559-ac50b-34fa01bbc40eafddcc64a5111bebd88aab75a8d4.gz
2006-09-08 06:15:59 +10:00
axel
227a5da02c
Fix syntax bug caused by new cmdsubs slicing feature. Thanks to Martin Bähr for the report.
...
darcs-hash:20060907201145-ac50b-8315f1c207883bfbe56db2ec8b3a8b3635e8dc84.gz
2006-09-08 06:11:45 +10:00
axel
e356bdaa8e
Optionally add type of block to the end builtin to verify block nesting correctness
...
darcs-hash:20060905204347-ac50b-d0f87a700e38cdff9787be827b0df90b7f7baba5.gz
2006-09-06 06:43:47 +10:00
axel
697d524687
Clear error buffer before creating new error message to avoid bug causing all previous errors to accumulate
...
darcs-hash:20060905204020-ac50b-6ecc9e4c57a6b387431cef32c734ca525f05c26c.gz
2006-09-06 06:40:20 +10:00
axel
73f0d0bb48
Fix warning when help function is called with no arguments
...
darcs-hash:20060904201612-ac50b-63b83a589735021a6afd6be193500b549e3b25dd.gz
2006-09-05 06:16:12 +10:00
axel
200ebe43dc
Add math shellscript function, which is a thin wrapper around bc
...
darcs-hash:20060904160023-ac50b-0d784182ca3930b0987d4338655b8717237e842c.gz
2006-09-05 02:00:23 +10:00
axel
ff2d354ef8
Bump version number
...
darcs-hash:20060904002509-ac50b-098c9c879257d689a975abd102f9b4d9fc00f592.gz
2006-09-04 10:25:09 +10:00
axel
3bef568955
Fix nagging warning message
...
darcs-hash:20060903234751-ac50b-c5d7f026323b5cab450e1770be572dcdf3ecc904.gz
2006-09-04 09:47:51 +10:00
axel
9a7be6db08
New status message for fish_pager
...
darcs-hash:20060903231209-ac50b-b8bad71cb9194a905918534fafec619118d61e21.gz
2006-09-04 09:12:09 +10:00
axel
40e2025327
Minor polish
...
darcs-hash:20060903230006-ac50b-c55a9272bb1cdb10312b8580c4c2a85654329e30.gz
2006-09-04 09:00:06 +10:00
axel
a819c863eb
Skip bug causing autoloader to sometimes use the wrong version of a function. Thanks to Martin Bähr and Mystilleef for the bug reports.
...
darcs-hash:20060903225839-ac50b-5b1f3d5f0b8c54b999836c3384c22c2a31c31bd0.gz
2006-09-04 08:58:39 +10:00
axel
827c88e4a1
Fix bug where using the return builtin inside an if-block could cause the else-block to get executed
...
darcs-hash:20060831205320-ac50b-64ecbaa3ed5e32c1a815ba384a6831a8fd5e1b47.gz
2006-09-01 06:53:20 +10:00
axel
e2b7a078f4
Make "$foo\[1]" not be an array slicing. Notice the extra backslash
...
darcs-hash:20060831155932-ac50b-746462d2147f349f9a799cb4786a0abacd1d3d4a.gz
2006-09-01 01:59:32 +10:00
axel
6de0c4103b
Add support for \cx backslash escapes for control sequences, syntax is borrowed from bash
...
darcs-hash:20060831155813-ac50b-cc93412afc87c1c391c3dbc5e7b8c9175efe01d8.gz
2006-09-01 01:58:13 +10:00
axel
b6e8171f01
Fix minor null pointer bug in the set builtin, fix bug causing the -n switch to be ignored, add missing completions for the -n switch to functions and set builtins, and touch up the documentation for said builtin a bit
...
darcs-hash:20060831154400-ac50b-dddbee79481e0e0a8da9fc025e8a15c466460a2f.gz
2006-09-01 01:44:00 +10:00
axel
b1439075c6
Updated definiton of move_word, more intuitive behaviour when a token consists only of non-alphanumerics
...
darcs-hash:20060831004525-ac50b-aa6675809f0f17fa266982374700a8a4ce6b2f5a.gz
2006-08-31 10:45:25 +10:00
axel
7df536023b
Fix concurrency bug in autoloader causing memory leak
...
darcs-hash:20060828162734-ac50b-76c88ba8cc164646dcff16cb899633f1e10392e2.gz
2006-08-29 02:27:34 +10:00
axel
f5f15f9de2
Use dynamically sized buffer for reporting error messages in the parser
...
darcs-hash:20060828151913-ac50b-02453c13d107f88023b2331bf40daf6d329ac597.gz
2006-08-29 01:19:13 +10:00
axel
0e0a61119f
Update english transliteration
...
darcs-hash:20060828130147-ac50b-2b07adaa3fd63cf0cd2b0122fef45b9aee365e37.gz
2006-08-28 23:01:47 +10:00
axel
6f058c687d
Add fallback if SIGWINCH is unavailable
...
darcs-hash:20060828122515-ac50b-f2b8f1519bbbd62908a6648255bfb20bdce83212.gz
2006-08-28 22:25:15 +10:00
axel
53ea5d60b7
Minor code tweaks, mostly things like indentation, but also a ferw code reorderings
...
darcs-hash:20060828120244-ac50b-ad4be149ff245b6f799452f9eeff7bcc60af1526.gz
2006-08-28 22:02:44 +10:00
axel
9525f429c6
Dont let fallback implementation of killpg kill group 1
...
darcs-hash:20060828120122-ac50b-c5e3eb7392654feb378cdfcf11ab102418aa1386.gz
2006-08-28 22:01:22 +10:00
axel
548e379d6a
Provide fallback version of getopt_long instead of checking for it's presense every time it is used
...
darcs-hash:20060828114305-ac50b-f4aad19e936fa42bbe84e51e72aa32445a469527.gz
2006-08-28 21:43:05 +10:00
axel
202d29de88
Restructure the autoloader. This fixes a very weird and rare Heissenbug, probably caused by a compiler bug, but also makes the structure of the code a bit more logical.
...
darcs-hash:20060828110019-ac50b-7be19eda18eb358163a9a5b7180c6c7d028e546d.gz
2006-08-28 21:00:19 +10:00
axel
23152ae8a6
Remove checks for gettext presense in mimedb.c and set_color.c. If gettext is unavailable, a fallback is provided.
...
darcs-hash:20060828105806-ac50b-47f092813ed70a03477d66c377edbe24f2aedf40.gz
2006-08-28 20:58:06 +10:00
axel
7310596dab
Much more reliable getopt_long test. Idea from Netocrat.
...
darcs-hash:20060828102949-ac50b-bb55face2f3127018b6c79a72ee71e38f075232a.gz
2006-08-28 20:29:49 +10:00
axel
4afe49d7c6
Redo the -POSIX_C_SOURCE test to only add macros if they are found to fix things. Also add -stdÉ9 to CPPFLAGS if it is added to CFLAGS. Also add more comments, redo indentation and general file cleanup. Written cooperatively by Liljencrantz and Netocrat.
...
darcs-hash:20060828100334-ac50b-73eed298fdf5a853243413f0f12c235ffa9e787a.gz
2006-08-28 20:03:34 +10:00
axel
d7c3d2acbf
Use OK as return value for del_curterm fallback
...
darcs-hash:20060828100046-ac50b-e52e7181ffb6fa5b1b3162ac3ae0aacc9bf7f5a3.gz
2006-08-28 20:00:46 +10:00
axel
f771fce892
Add a $version variable. Suggested by Martin Bähr
...
darcs-hash:20060828095840-ac50b-db561647eee1d06785448a4bfc6826eef5aec2b7.gz
2006-08-28 19:58:40 +10:00
axel
6522000bf0
Don't turn of file completion in svn completions if given an unknown subcommand
...
darcs-hash:20060827144853-ac50b-d09576fd6984eb18b06e0e7b1d8a88aa7b9d1df4.gz
2006-08-28 00:48:53 +10:00
axel
285abcc9bc
Do not use the non-standard -i switch for sed
...
darcs-hash:20060827131554-ac50b-b969c2a56607ff46d028f5c44faabf2842814f0e.gz
2006-08-27 23:15:54 +10:00
axel
b15e8123ca
If no completions have been found, use file completion even if command specific completions have disabled file completions. Suggested by MArtin Bähr.
...
darcs-hash:20060827005740-ac50b-41c3bf2bb91bcfc0122c317bcc2aca2061cd019e.gz
2006-08-27 10:57:40 +10:00
axel
1c86395ed8
Fix bug reportad by Martin Bähr that causes fish fail when using blocks in pipelines in interactive mode.
...
darcs-hash:20060827005252-ac50b-09c98537b9de72f0d4a2e5a28490b2e38fe321c8.gz
2006-08-27 10:52:52 +10:00
axel
3c8d2a1126
Don't use carriage return on initial painting of the prompt
...
darcs-hash:20060826022416-ac50b-16746f45142589e7fa83e95b6ee6a2fad98432c4.gz
2006-08-26 12:24:16 +10:00
axel
ed8cd08984
Fix minor memory leak in completion code
...
darcs-hash:20060826021948-ac50b-6fecba2056e47cb7c4e8499f2a51e1c0c23d0757.gz
2006-08-26 12:19:48 +10:00
axel
69537430ea
Fix bug in completion code reported by Martin Bähr, as well as other bug evident in his bug report.
...
darcs-hash:20060826013722-ac50b-08de084a40af8ba5d708a7cd162087b7afbb7648.gz
2006-08-26 11:37:22 +10:00
axel
0a603a56c6
Minor bugfix for the completions for the complete builtin
...
darcs-hash:20060825154545-ac50b-eaa8b210ddc6fb6a089deb5c2b19723bd92228f3.gz
2006-08-26 01:45:45 +10:00
axel
046dd82995
Add minor new completion for make command
...
darcs-hash:20060825154516-ac50b-80284df4f7dd6cd332f2b21f5c9bdc359cc00eca.gz
2006-08-26 01:45:16 +10:00
axel
97c3e231f4
Allow slicing of command substitution output
...
darcs-hash:20060824133904-ac50b-fbc43cf30d8eb15e50343b786af77f85fb0b8d4e.gz
2006-08-24 23:39:04 +10:00
axel
76b782d576
Do not mix wide and narrow printf calls on stderr in set_color.c
...
darcs-hash:20060824133828-ac50b-399d9c8d4f6cd7c36ceb2991011d9dae23851d6f.gz
2006-08-24 23:38:28 +10:00
axel
ed5c1db392
Bump version number
...
darcs-hash:20060824105129-ac50b-999429675a936c246665940ee9154a524eae4be2.gz
2006-08-24 20:51:29 +10:00
axel
37f5db2bf9
Use terminfo to look up tab width instead of assuming 8 character tabs when calculating prompt width
...
darcs-hash:20060824104354-ac50b-bfb6428411a9c3f6e7a8df980b1005fdd1842a10.gz
2006-08-24 20:43:54 +10:00
axel
8a97bffd02
Spelling correction in documentation
...
darcs-hash:20060824103055-ac50b-8a81c73571b76dd2800787ca6e5bd29787eb9501.gz
2006-08-24 20:30:55 +10:00
axel
2fd48bce11
Fix use og uncasted 0 as null pointer in vararg function. Potential crash bug on 64 bit systems.
...
darcs-hash:20060824103014-ac50b-3fb830f548d383b8cef7a37b737c90f3ad30c4bd.gz
2006-08-24 20:30:14 +10:00
axel
d1a3e6abf5
Complete --do-complete argument should be optional
...
darcs-hash:20060824005315-ac50b-fa4fb8177bc11cf20f2f95fff43cd674a439bae0.gz
2006-08-24 10:53:15 +10:00
axel
1a29979bbd
Ignore return code of exec_subshell when doing command substitution
...
darcs-hash:20060824005217-ac50b-9de976e1fe2d396b08b59619e46669bad6598ec2.gz
2006-08-24 10:52:17 +10:00
axel
69814e5066
Add documentation about new backslash escapes, and correct a broken link in the docs
...
darcs-hash:20060824005117-ac50b-39a1f56891c92e6a9b64b20fdd4bfd7d60090949.gz
2006-08-24 10:51:17 +10:00
axel
4dbac8f941
Add support for \a \f \v escape sequences, and make supåport for \e standards compliant
...
darcs-hash:20060824002609-ac50b-a1a9150d096647d9ab4c39d3245b528d7e75cd57.gz
2006-08-24 10:26:09 +10:00
axel
303473f20c
Fix incorrect usage of the term subshell when command substitution was meant
...
darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
2006-08-23 00:38:31 +10:00
axel
480a29594e
Minor tweaks to previous fish_pager patch to fix two bugs
...
darcs-hash:20060822135815-ac50b-35d9f643385ec29f9d8f93ca83d01e060de93cc7.gz
2006-08-22 23:58:15 +10:00
stew
dfe3dc1429
fish_pager_via_stdin
...
darcs-hash:20060822012451-2edb7-d8939fab708d8c605d2c7d0683c71f11db659bc9.gz
2006-08-22 11:24:51 +10:00
axel
2ea00ce444
help --help should be same as help help
...
darcs-hash:20060822005230-ac50b-b82c0665cae7427c09992f51e128e33cea44b41e.gz
2006-08-22 10:52:30 +10:00
axel
ac13bdeaa7
Work around Doxygen bug in man-file generation
...
darcs-hash:20060822004853-ac50b-3c5036484961825304059567670eea0ccb3cd643.gz
2006-08-22 10:48:53 +10:00
axel
22cb7dd2d7
Add horizontal ruler between documentation for builtins and commands
...
darcs-hash:20060822004810-ac50b-aa75e233685ce4e0c22cde27411550a13efbeff6.gz
2006-08-22 10:48:10 +10:00
axel
20698cc813
Remove duplicate include
...
darcs-hash:20060817155050-ac50b-bbbd5130688d1f3f5f4e4d48c4319faf4413995a.gz
2006-08-18 01:50:50 +10:00
axel
1ebf571da5
Update french translation, thanks to Xavier Douville
...
darcs-hash:20060814181448-ac50b-08e5a5e8eff3316411469730d03d756170e4b01a.gz
2006-08-15 04:14:48 +10:00
axel
7c822cbf30
Add a message to stdout in the help function describing where the help went if help opens an external browser window
...
darcs-hash:20060814181135-ac50b-6d9b05b714bc9576c260e87b5706e7d94dd73e39.gz
2006-08-15 04:11:35 +10:00
axel
90302d9232
Documentation correction
...
darcs-hash:20060814120540-ac50b-25daddbd1130d1b57837affa6c58542fd91ff59e.gz
2006-08-14 22:05:40 +10:00
axel
bee6805ff9
Check return value of del_curterm
...
darcs-hash:20060813230502-ac50b-2b7e30d3560097725789bf6aa659835e30c7a81b.gz
2006-08-14 09:05:02 +10:00
netocrat
65035c4dc7
Change null function to #define for del_curterm() - solves build problem on some BSDs.
...
darcs-hash:20060813030853-344c5-7aa2cc3c70044214d90263999f2312f8f10296a4.gz
2006-08-13 13:08:53 +10:00
netocrat
2b0d64184a
Switch back to using -D for _POSIX_C_SOURCE and _XOPEN_SOURCE - solves build problem on Solaris 10
...
darcs-hash:20060813030806-344c5-ad0eec62d3ce93d98adcad4b93318b06538eef95.gz
2006-08-13 13:08:06 +10:00
axel
51d7159ba7
Update fish_pager interface, first try - this is the second patch to redo the fish_pager interface. Both this one and the previous one breaks the display of completions
...
darcs-hash:20060813014602-ac50b-3d30e3486021b1ffddf3f1a69e86ee51a6aac611.gz
2006-08-13 11:46:02 +10:00
axel
0a4819be27
Add support for buffering of input to a command, the first step to piping data to fish_pager instead of using the argument list
...
darcs-hash:20060813013803-ac50b-f8000d4c96162023411f84643f47221860b350b2.gz
2006-08-13 11:38:03 +10:00
axel
72ad4e0d3b
Make fish pager use non-universal variables as well for getting it's colors
...
darcs-hash:20060811145528-ac50b-26be05f363f353d87ebceccf73385cd1af1c88f2.gz
2006-08-12 00:55:28 +10:00
axel
21de293a44
Fix missing quote in configure.ac
...
darcs-hash:20060811142930-ac50b-52d1bb6faf07b6a0ddac754cee16e899dd196679.gz
2006-08-12 00:29:30 +10:00
axel
8b395d05ef
Switch to using AC_DEFINE instead of using -D switces in CFLAGS for a few macros that don't need to be passed through the Makefile
...
darcs-hash:20060811134859-ac50b-6efc59b9214909aa6804bed9c5919ed0e29ddf81.gz
2006-08-11 23:48:59 +10:00
axel
8392902cec
Remove unneded include in Autoconf test. Thanks to Netocrat.
...
darcs-hash:20060811101005-ac50b-275a1240e7802f70eb763be42683b4d1f816a9b0.gz
2006-08-11 20:10:05 +10:00
axel
a5abdd2792
Always redefine del_curterm to be a no-op under bsd, seeme the double free bug can surface under ncurses as well. Thanks to Netocrat.
...
darcs-hash:20060811100756-ac50b-1b1010b696fdd9acf45ef85ab19e75f574e5198b.gz
2006-08-11 20:07:56 +10:00
axel
e784683b8a
Comment away currently unused function to avoid warning. Thanks to Netocrat.
...
darcs-hash:20060811093051-ac50b-d025c406234bb31e36c0b0b7951b54c6fc62ed07.gz
2006-08-11 19:30:51 +10:00
axel
7fadf6c083
Do not call closedir on directories that failed to open. Avoids crash bug. Thanks to Netocrat.
...
darcs-hash:20060811092639-ac50b-6615f51aad8c2a81917db08e2dc8f4da3d7db2ef.gz
2006-08-11 19:26:39 +10:00
axel
7ff76476ed
Remove non-unicode character in documentation file. Thanks to Netocrat.
...
darcs-hash:20060811092603-ac50b-59a68550fa3279662113ec080b18e7930bb02fe2.gz
2006-08-11 19:26:03 +10:00
axel
cd9102214b
Rearrange includes so that config.h is always the first file to be included
...
darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
2006-08-11 11:18:35 +10:00
axel
8da54a1955
Add two BSD-specific preprocessor macros to get additional prototypes. Thanks to Netocrat.
...
darcs-hash:20060810203756-ac50b-21259e610fc738c6ad990d88b0af74d56d6a38f8.gz
2006-08-11 06:37:56 +10:00
axel
6899e4e734
Do not use ! to negate shellscript results, this is unsupported on Solaris. Thanks to Netocrat.
...
darcs-hash:20060810194951-ac50b-7baee5f1ab962fac6fbb37f13e0a8ba134e910e2.gz
2006-08-11 05:49:51 +10:00
axel
486e0dbe84
Remove Solaris circular dependency in init file. Thanks to Netocrat.
...
darcs-hash:20060810193338-ac50b-2f1f68170610e1669fc20298fcce50a920c3f38f.gz
2006-08-11 05:33:38 +10:00
axel
441c109afb
Remove unneded includes in autoconf tesst and add possibly needed one. Thanks to Netocrat.
...
darcs-hash:20060810192359-ac50b-8e38e24ada59928cf6f37e7ed625fe40a34fd5d7.gz
2006-08-11 05:23:59 +10:00
axel
4b0810d7e9
Added missing include in input_common.c, needed under FreeBSD. Thanks to Netocrat.
...
darcs-hash:20060810190246-ac50b-190b0b2e1fbcab0bd742f5b98f7e1e173b793800.gz
2006-08-11 05:02:46 +10:00
axel
51d58a6a7c
Added missing line continuation. Thanks to Netocrat.
...
darcs-hash:20060810185244-ac50b-944f18d3bed557061e0625b805e51a6a743835ae.gz
2006-08-11 04:52:44 +10:00
axel
7a884e11a6
Avoid circular dependency in ls autoload. Second try.
...
darcs-hash:20060809231155-ac50b-52b1b1609307fb05d3d8f32c972b0a22476a1da8.gz
2006-08-10 09:11:55 +10:00
axel
c4acfdd87c
Add missing files to make uninstall
...
darcs-hash:20060809230749-ac50b-2948357bb000b47b49b6310dabd84410fde3b461.gz
2006-08-10 09:07:49 +10:00
axel
41f8007a03
More header/autoconf fixes, improve winsize checking
...
darcs-hash:20060809225338-ac50b-7162a690e44e2272f4760723f5bf8cc135dc5952.gz
2006-08-10 08:53:38 +10:00
axel
8207030b21
Fix typo in seq.in
...
darcs-hash:20060809225230-ac50b-8371f5fd1a22526325d46f5a0565e3a38d51bb78.gz
2006-08-10 08:52:30 +10:00
axel
a2c70f495e
Use string.h not strings.h in all cases
...
darcs-hash:20060809223452-ac50b-67c4b5af37ebd17ff6d7c1403ff3231272f35465.gz
2006-08-10 08:34:52 +10:00
axel
b11f366bb0
Add SIGUSR1 as fallback if SIGIO doesn't exist
...
darcs-hash:20060809222656-ac50b-9a1f5a202f012c836570041acb6064849e7b0de5.gz
2006-08-10 08:26:56 +10:00
axel
0e1a3c7c4a
Add missing sys/select.h header needed on FreeBSD
...
darcs-hash:20060809222605-ac50b-7914c1eb0509a01bfb6d07a04e29e126218f89dc.gz
2006-08-10 08:26:05 +10:00
axel
d3a75a354a
A new faq question and some minor documentation edits
...
darcs-hash:20060809114048-ac50b-0fe667bfe9cdcade6480137f2cf5982cc743288c.gz
2006-08-09 21:40:48 +10:00
axel
afc49dded2
Minor edits to the spec file
...
darcs-hash:20060809113614-ac50b-ab6ca380a48586ef95256ab8acb77da42854829b.gz
2006-08-09 21:36:14 +10:00
axel
49b232df84
Add a few missing dependencies for the spec file
...
darcs-hash:20060809113554-ac50b-cbc408698f102c3e3170a119acfafe7569c56592.gz
2006-08-09 21:35:54 +10:00
axel
248d11c462
Only write out titlebar message if it is of non-zero length
...
darcs-hash:20060809113424-ac50b-59988efa4dd788d6623023b642fd96989c4c9ada.gz
2006-08-09 21:34:24 +10:00
axel
6b1570b745
Tweak spec file as per suggestions from Michael Schwendt
...
darcs-hash:20060801135709-ac50b-07c6191b7464ba90dd64c78ae18df8b59e8e18ad.gz
2006-08-01 23:57:09 +10:00
axel
dc3634dc94
Add posix macros in configure.ac, not in Makefile, so that they will be honored by the configure tests
...
darcs-hash:20060801013123-ac50b-0c561ad5afd6e71230e29a25d467ed63c47b9f17.gz
2006-08-01 11:31:23 +10:00
axel
696b4df1c6
Add __EXTENSIONS__ macro when under Solaris
...
darcs-hash:20060801013018-ac50b-08925f5e5239e48ca3024717d5fec2e82138ca5a.gz
2006-08-01 11:30:18 +10:00
axel
65f4d6e866
The xpg4-path was mistyped. Fix it.
...
darcs-hash:20060801005736-ac50b-ef8389777e012f9f0b6edcb3df3d638158f87373.gz
2006-08-01 10:57:36 +10:00
axel
8833e8f4ea
Fix minor nit in comment
...
darcs-hash:20060801005246-ac50b-56cb6d2245ce81d16807028749495b8e5a86cc3c.gz
2006-08-01 10:52:46 +10:00
axel
f29026b767
Fix another typo in common.c
...
darcs-hash:20060801004648-ac50b-4177620e4ee37ab1ad6f942faa3023cedeee9055.gz
2006-08-01 10:46:48 +10:00
axel
7ecf7c1fac
Fix typo in common.c
...
darcs-hash:20060801003556-ac50b-fb20d6405d2d8fc8d343d040afbf3863bac07b2f.gz
2006-08-01 10:35:56 +10:00
axel
4a2fa5ea34
Fix typo in signal.c
...
darcs-hash:20060801002550-ac50b-3412377a694aac72d04e6eae3173ac0980724e60.gz
2006-08-01 10:25:50 +10:00
axel
03f6656af6
Use S_IS* macros instead of S_IF*, which are non-posix
...
darcs-hash:20060801002411-ac50b-e5afcbfe4adfc54333c982b43309091c1cbcc1c9.gz
2006-08-01 10:24:11 +10:00
axel
8e6dbe245c
Changes to the fish spec file, written by Paul Howarth. Fixes spelling and broken dependencies.
...
darcs-hash:20060731212954-ac50b-630beb87b4563118c132dbf1c525d492b30df3eb.gz
2006-08-01 07:29:54 +10:00
axel
daf171aa86
Make grep call in seq fallback implementation Posix compliant
...
darcs-hash:20060731165626-ac50b-5560aebc877f49f4942b2c730273d8c2424bec24.gz
2006-08-01 02:56:26 +10:00
axel
d1bbb89389
Move over a few more objects to the new array_list functions
...
darcs-hash:20060731165511-ac50b-7858829e6a612e0c737d82d3d71d6833dc97f078.gz
2006-08-01 02:55:11 +10:00
axel
bd0c1573df
Fix bug when using same array index more than once in a single array expansion, e.g. $PATH[1 1 1]
...
darcs-hash:20060731164816-ac50b-d3fc56b425035a4cbcf93a91435f9df9ca5997ac.gz
2006-08-01 02:48:16 +10:00
axel
2700a9b697
Use the new array_list functions in exec.c
...
darcs-hash:20060731163548-ac50b-3b503e0457b33c6bb2eda0040a9fa7f15e6afe32.gz
2006-08-01 02:35:48 +10:00
axel
474f6e90ff
Use maxi not max in test suite when comaparing ints
...
darcs-hash:20060731163119-ac50b-94134f758d9cd7e87746fb93f187aa100c1b820d.gz
2006-08-01 02:31:19 +10:00
axel
7cbc11f1c3
Minor documentation additions
...
darcs-hash:20060731163027-ac50b-8532ecadc755400fc1be1f029fcec49412764da2.gz
2006-08-01 02:30:27 +10:00
axel
09f9d43be3
Drup minf/maxf from util.h, they are unused
...
darcs-hash:20060731162550-ac50b-6b4d29d73ef7d672c3c0f9070b528b96b9ec0c16.gz
2006-08-01 02:25:50 +10:00
axel
109e7455a8
Use the new array_list functions in builtin.c
...
darcs-hash:20060731162339-ac50b-e8a6bd2c327b8fa5527b739fba544994e1a809e3.gz
2006-08-01 02:23:39 +10:00
axel
9b95332aa9
Use the new array_list functions in builtin_set.c
...
darcs-hash:20060731161719-ac50b-28a669e7a83f966dba3527a148ff0fa0813fbd6b.gz
2006-08-01 02:17:19 +10:00
axel
cccd13db92
Add long and function pointer versions of all array_list_t calls
...
darcs-hash:20060731161641-ac50b-1850b9c2464ce1aa7ff2f1aa74140b526a6825f2.gz
2006-08-01 02:16:41 +10:00
axel
2c8a2c9f61
Add _POSIX_C_SOURCE macro, to enable Posix mode of various headers. Should help under Solaris. Thanks to Netocrat for the suggestion.
...
darcs-hash:20060731153213-ac50b-14f8402a743dd67f34e3699e993cef329fdd9427.gz
2006-08-01 01:32:13 +10:00
axel
f05e1f6e48
Always check strings sent to tparm
...
darcs-hash:20060731004804-ac50b-ddede984cbc114b5e79745aef768f85a587d3dc6.gz
2006-07-31 10:48:04 +10:00
axel
f439c4a484
Make calls to grep Posix compliant
...
darcs-hash:20060731003354-ac50b-5916d6d862fe8b4f31b64840296d24615b52d175.gz
2006-07-31 10:33:54 +10:00
axel
2fba53b113
Make PATH validation only run for interactive shells to avoid infinite loop
...
darcs-hash:20060731003311-ac50b-da0b49830e5a9042fbe7952a63ced2c86b8978fe.gz
2006-07-31 10:33:11 +10:00
axel
8a2846ed44
Add Solaris xpg4 PATH test
...
darcs-hash:20060731003111-ac50b-d8945adca50bbe9e86041835ed52a88e09f65701.gz
2006-07-31 10:31:11 +10:00
axel
91b63e4989
Make sure install-sh is executable in the Makefile
...
darcs-hash:20060730210506-ac50b-9869e637a768aefd6ec7db33cec5f2defb29eb36.gz
2006-07-31 07:05:06 +10:00
axel
89d876d0f7
Provide fallback of killpg function
...
darcs-hash:20060730205941-ac50b-ddcec32cc5ab74770b743fed3d131460ee576191.gz
2006-07-31 06:59:41 +10:00
axel
e79fdcb194
Provide fallback is struct winsize is not defined
...
darcs-hash:20060730205544-ac50b-26f34eb04b56924baa34f560fd274cf38413b5f5.gz
2006-07-31 06:55:44 +10:00
axel
60f0533821
Include siginfo.h in all signal-using files to make Solaris happy. Thanks to Netocrat for the report and a description of the solution.
...
darcs-hash:20060730202659-ac50b-1840aff40ec2467242bd107676c7426cdb14f643.gz
2006-07-31 06:26:59 +10:00
axel
0768cf7e53
Bump version number
...
darcs-hash:20060729173243-ac50b-641e89defc78e0660cac6601acfb22c73c1cd32e.gz
2006-07-30 03:32:43 +10:00
axel
bdd83d338c
Minor edit of comments
...
darcs-hash:20060729173159-ac50b-f126469f9a6f221d94696d6292ca9a6c79a7a6e6.gz
2006-07-30 03:31:59 +10:00
axel
db369a9ad7
Minor documentation edits
...
darcs-hash:20060729173123-ac50b-9b895afc355cf5dc342fca3c276cfbf10c286bc2.gz
2006-07-30 03:31:23 +10:00
axel
aa895c6740
Fix minor bug causing spurious warnings on commandline. Thanks to Netocrat for the bugreport.
...
darcs-hash:20060728135203-ac50b-07471a032a389a26789ee871bf0dc25c6a91bd7a.gz
2006-07-28 23:52:03 +10:00
axel
8e06805f2d
Fix for recursive autoload loop on ls
...
darcs-hash:20060728131756-ac50b-034430a6a44bec83419438fc1be0c0e603eaad2d.gz
2006-07-28 23:17:56 +10:00
axel
00360d8fbc
Reorder switches to msgfmt in makefile to make Solaris msgfmt happy. Thansk to Netocrat for the report.
...
darcs-hash:20060728130715-ac50b-84c09814f3c2cb859d3efc8593161186dff6fcc3.gz
2006-07-28 23:07:15 +10:00
axel
3b365d9f8d
Use unsigned long instead of uint in string hashing algorithm. Portability fix, suggested by Netocrat.
...
darcs-hash:20060728125421-ac50b-f3cfc12852739fdc1d3c43c46ed91a57e119964a.gz
2006-07-28 22:54:21 +10:00
axel
3835000e9d
Include unistd.h and stropts.h in common.c to fix Solaris problems reported by Netocrat
...
darcs-hash:20060728125057-ac50b-455d5a9a1671ad3bfee61a46266b420aff1adb49.gz
2006-07-28 22:50:57 +10:00
axel
9bbe19bfb8
Minor fix to code for detecting help switches to builtins
...
darcs-hash:20060724124845-ac50b-546662123d4d30c314acb1fb74d3c9503332172b.gz
2006-07-24 22:48:45 +10:00
axel
787e99d901
Fix rare crash bug in highlighting code
...
darcs-hash:20060724124629-ac50b-114944bc776f9451feeb967f4af68919d3ac404c.gz
2006-07-24 22:46:29 +10:00
axel
713748c782
Some minor steps towards making vi-mode work
...
darcs-hash:20060723205203-ac50b-8125e733ed92689ba847ccbb9076d05910e701ac.gz
2006-07-24 06:52:03 +10:00
axel
c9eb74fa4b
Add missing Substitutions of prefix and optbindirs variables in share/fish.in
...
darcs-hash:20060723170402-ac50b-551cff33ca0e831505b5891fada0a017c3ea1370.gz
2006-07-24 03:04:02 +10:00
axel
b2d940c25a
Drop the init and shutdown function for the completion code
...
darcs-hash:20060722101651-ac50b-45f840a5b2f7461d976a8f5b859aa99bfa472274.gz
2006-07-22 20:16:51 +10:00
axel
2a7bc8c04b
Plug very small memory leak
...
darcs-hash:20060722101549-ac50b-244f449244272fc1fea9b7d019d7c259f4746533.gz
2006-07-22 20:15:49 +10:00
axel
013d3dbb89
Make sure that the builtin source command is used when reading the init files, and not an overloaded function
...
darcs-hash:20060722095507-ac50b-4c7c51bec3f2d7224178cdacd2c9ec4ea3b073c3.gz
2006-07-22 19:55:07 +10:00
axel
0aff94dd4c
Automatically sort manuals for builtins and commands when generating manual
...
darcs-hash:20060722095326-ac50b-6d1cdefa7fb3e6f71368be2a205e9ed9e84a1624.gz
2006-07-22 19:53:26 +10:00
axel
431850b4ec
Add PACKAGE_TARNAME variable to makefile to make Debian packages happy
...
darcs-hash:20060721223909-ac50b-d970c0e6104e9be4eb082030193dbc4a667d10c3.gz
2006-07-22 08:39:09 +10:00
axel
e280d10033
Minor code edits. Use CHECK instead of a few error messages, add a few comments, etc.
...
darcs-hash:20060721010831-ac50b-e9ad82a3885969f9a43e6219523e2bd1867e26ed.gz
2006-07-21 11:08:31 +10:00
axel
8c4708b51e
Make error message for ${foo}-type errors nicer
...
darcs-hash:20060720233319-ac50b-a5ffbe91b3c7dceba9f0f5e67a6e044fc5508f47.gz
2006-07-21 09:33:19 +10:00
axel
4ba9ac28bb
Minor documentation tweaks and additions
...
darcs-hash:20060720133319-ac50b-ea71dc172f0c60de0d6f1effa2092ebb8d8ca2d9.gz
2006-07-20 23:33:19 +10:00
axel
4664d65af7
Add a few casts to avoid warnings in fallback gettext and friends
...
darcs-hash:20060720133125-ac50b-f357c1e8dc9c8dfbafa3baa51fcfb47525d337ba.gz
2006-07-20 23:31:25 +10:00
axel
1b7157a03f
Update dependencies - This is needed to make fish build, since old dependencies include removed files. Thansk to Netocreat for the notice.
...
darcs-hash:20060720133045-ac50b-a5f84ded2003a5cd9c8fe5d32b9773d5498763b0.gz
2006-07-20 23:30:45 +10:00
axel
e1dd17a7dd
Move over fish_interactive.fish to be created by the Makefile, not by Autoconf
...
darcs-hash:20060720132850-ac50b-2f1a4815a2a67541d3461768d00e185168727b92.gz
2006-07-20 23:28:50 +10:00
axel
5c8d9bd13c
Minor duplicate code removal
...
darcs-hash:20060720130246-ac50b-b41daebb302e1cbadf2a4cf812d936edbda85926.gz
2006-07-20 23:02:46 +10:00
axel
1c9a173b3d
Make sure autoconf tells the Makefile whether gettext is installed
...
darcs-hash:20060720130148-ac50b-9aef2d0e708a1253187a215d0407764510ba0ff0.gz
2006-07-20 23:01:48 +10:00
axel
a0c40fcf8d
Print help message when the case builtin is misused
...
darcs-hash:20060719232226-ac50b-c61b4b6d498dbfbe83ee1bc4c37766e1a9662630.gz
2006-07-20 09:22:26 +10:00
axel
f36811b7be
Improve error message for attempts to use Posix variable assignments
...
darcs-hash:20060719232020-ac50b-1564ffffc2e119e90d711605247637e7aac9da96.gz
2006-07-20 09:20:20 +10:00
axel
40ed01f6f2
Move a few pieces of implementation-specific kludges related to different gettext implementations out of env.c and into fallback.c
...
darcs-hash:20060719231149-ac50b-c930a77ae76249b27f800f1d61146482c8f005c9.gz
2006-07-20 09:11:49 +10:00
axel
b2e2743195
Remove translate.c. The gettext fallback functionality is moved to fallback.c, the wide wrapper is moved to wutil.c
...
darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
2006-07-20 08:55:49 +10:00
axel
1dc033f71c
Fix temporarily broken fish_function_path during startup
...
darcs-hash:20060719224433-ac50b-d7b4480d694cb8f71ecee75e21c7530700d3c609.gz
2006-07-20 08:44:33 +10:00
axel
ba4166d17d
Fix for the autoconf-changes in the porevious patch. The LOCALEDIR macro should be a regular string, not a wide string
...
darcs-hash:20060719165803-ac50b-1b76c45b77469c0a7dbf47b866ab127bd48780e5.gz
2006-07-20 02:58:03 +10:00
axel
46c6f7880b
Set value of install path macros like DATADIR from the Makefile, not automatically by Autoconf using AC_DEFINE. That way we get correct expansion of ${prefix} and friends to their install-time value. This fixes a bug reported by James Vega.
...
darcs-hash:20060719144104-ac50b-05001b151a54bf893ff4c5a82c5f040529e27f57.gz
2006-07-20 00:41:04 +10:00
axel
bef7fff383
Do not test universal variable functionality since it relies on fish to be installed
...
darcs-hash:20060718173711-ac50b-1feae98c4c283bfa5bbc8dfedec3eb4641316a8d.gz
2006-07-19 03:37:11 +10:00
axel
0811613fe9
Make sure no error message is printed when failing to start fishd
...
darcs-hash:20060718173547-ac50b-cf1edeb25838b2df6120efa68855316939fb3f0f.gz
2006-07-19 03:35:47 +10:00
axel
a09abea737
Make sure to only close fishd socket if it is open on shutdown
...
darcs-hash:20060718172756-ac50b-3f36ee03489427823a36161b920b280b3494c1fa.gz
2006-07-19 03:27:56 +10:00
axel
fd4e5e6777
Fix crash bug in fish_tests when fishd is unavailable
...
darcs-hash:20060718172702-ac50b-72805efd3c9c7927a9fe37b6c80ef0dd276cde5f.gz
2006-07-19 03:27:02 +10:00
axel
57b3965518
Initialize etc/fish and share/fish from the Makefile, not automatically by Autoconf. That way we get correct expansion of ${prefix} and friends to their install-time value. This fixes a bug reported by James Vega.
...
darcs-hash:20060718164155-ac50b-8ec6c63d9c4e52db2c1884fcffeab78333367773.gz
2006-07-19 02:41:55 +10:00
axel
3e843f8219
Two minor build fixes, thanks to Hiroshi Sakurai
...
darcs-hash:20060717134217-ac50b-e7ec4f4ef1a4267486e746dacee79749048e3afe.gz
2006-07-17 23:42:17 +10:00
axel
2343ce5a0c
Don't check for presence of Doxygen in the configure script, since it's no longer needed to build fish
...
darcs-hash:20060716225329-ac50b-7e48abb063dd717adfd00c571c5550978790d2bc.gz
2006-07-17 08:53:29 +10:00
axel
0122e35cb6
Bump version number to 1.21.9
...
darcs-hash:20060715133812-ac50b-8178fc0baca9c476cae37ee8cde7a0cbb0857231.gz
2006-07-15 23:38:12 +10:00
axel
c96382152c
Fixes for the tokenizer to correctly return error values on invalid input
...
darcs-hash:20060715124005-ac50b-a3f06a51b53573a07db44f9ce6796f253b2596e9.gz
2006-07-15 22:40:05 +10:00
axel
af0bd61fb5
Add fix for build error in fish_tests
...
darcs-hash:20060715123903-ac50b-b9facd514360e534ab655177c8cd9cee0e9aa914.gz
2006-07-15 22:39:03 +10:00
axel
4a87c9895d
Add -q/--query switch to the functions builtin. Works just like the same switch to set does. Useful for checking for the existance of functions in a script
...
darcs-hash:20060712174655-ac50b-14a98a15751bb5ddddf4ffb41521b616bef5e40c.gz
2006-07-13 03:46:55 +10:00
axel
036cc4e0fa
The begin builtin should not alter the exit status
...
darcs-hash:20060712173141-ac50b-8d21f9f22ef55581521ccf923411e3458bd8109c.gz
2006-07-13 03:31:41 +10:00
axel
9e304fa734
Overhaul of the script autoloader. This should make sure that old scripts are unloaded and new scripts are loaded when the fish_function_path and fish_complete_path variables change
...
darcs-hash:20060712142242-ac50b-3966a0e96a32facc8bc1164d6d0837fc551e4733.gz
2006-07-13 00:22:42 +10:00
axel
6d9631d0d0
Add french translation (Thanks to Xavier Douville)
...
darcs-hash:20060711200205-ac50b-e9755dc6f6042fef73bd075582c9f8706360c8e2.gz
2006-07-12 06:02:05 +10:00
axel
bb04df2ac9
Minor code tweaks: A few extra input validations, spelling corrections, etc
...
darcs-hash:20060710223956-ac50b-22d3b2adf570872564abf7ab68bb223d0c4a5308.gz
2006-07-11 08:39:56 +10:00
axel
746a602515
Make sure that the / is only printed once in prompt_pwd function when cwd is root
...
darcs-hash:20060710223848-ac50b-ddb52c414fd8b08bd7c515c99cc4e05a3c479c7d.gz
2006-07-11 08:38:48 +10:00
axel
a41fd8f759
Update of the Swedish translation
...
darcs-hash:20060710161229-ac50b-f5dcf7369a24c83538960c443b58441b5359b75f.gz
2006-07-11 02:12:29 +10:00
axel
ba9fbc67da
Fix bug in completions for the cd builtin that caused missed completions when using relative search paths and CDPATH. Also move the completions function to it's own file.
...
darcs-hash:20060709235518-ac50b-36c59205edbecd5c8967d8784fd43e46729c3cdc.gz
2006-07-10 09:55:18 +10:00
axel
ac40a3bcd0
Fix use of hardcoded path in completions for the help completions causing missing completions and warnings
...
darcs-hash:20060709233249-ac50b-9dfb4a708a8ecb3ae2e1882a0a5146aed6286d37.gz
2006-07-10 09:32:49 +10:00
axel
942dcd7d54
Fix bug where fish refuses to complete inside som command substitutions
...
darcs-hash:20060707153638-ac50b-7a50df000b5af04004fcaf0069e658de5e67b9ea.gz
2006-07-08 01:36:38 +10:00
axel
9830bf985a
Fix psub deadlocks by once again considering a job as completed whenever the last process in the pipeline is dead
...
darcs-hash:20060707153539-ac50b-76842c851c3a4247c086e3242f70361b9d2d396b.gz
2006-07-08 01:35:39 +10:00
axel
7bb070d817
Fix two crash bugs in highlighter/parser for malformed lines (Thanks to Netocrat for the bug report)
...
darcs-hash:20060703104647-ac50b-9eb649322611a3e7fd95ef5f80acdc25ce09d11a.gz
2006-07-03 20:46:47 +10:00
axel
d56ab1d365
Switch from die_mem function to DIE_MEM macro in order to be able to give a line and file for the OOM message
...
darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
2006-07-03 20:39:57 +10:00
axel
38175cdd30
Fix spelling error (Thanks to Netocrat)
...
darcs-hash:20060703103537-ac50b-dac14e53588671bdf9c288fdab5e71feb1b03347.gz
2006-07-03 20:35:37 +10:00
axel
436b1e10c6
Fix infinite loop when trying to init history without setting history mode name first
...
darcs-hash:20060622001228-ac50b-caa00ff803b6b1673d7672d8364f68afe89cee18.gz
2006-06-22 10:12:28 +10:00
axel
e59cb1da5d
Add setenv shellscript function for csh compatibility
...
darcs-hash:20060622001123-ac50b-22e783ec5f77120a6960f28d735893d58e1a7db4.gz
2006-06-22 10:11:23 +10:00
axel
e42198b7c8
Implement fallback version of futimes instead of testing for it's existance in reader.c
...
darcs-hash:20060621141544-ac50b-4726e3f63644b64b8bbb5cd829383c1fc6f8d86e.gz
2006-06-22 00:15:44 +10:00
axel
2076944268
Use the intern function to share the strings used to describe various key bindings. This saves both performance, code size and memory use, but there is a pathological case where the user continually changes key bindings, resulting in more allocated memory than needed.
...
darcs-hash:20060621140344-ac50b-c7eb89a94a96538215f9a6737f8e4bacd6a801fb.gz
2006-06-22 00:03:44 +10:00
axel
407c96e943
Even more input validation
...
darcs-hash:20060621100746-ac50b-8aa5648c05a656829a895669be27c6fa4f1d8458.gz
2006-06-21 20:07:46 +10:00
axel
bf333f2a84
Remove common_init and common_destroy. Use halloc instead.
...
darcs-hash:20060621095838-ac50b-e4349a0ab02696cead5397efce3792c9d56c2d15.gz
2006-06-21 19:58:38 +10:00
axel
3ddd5e5981
Check exit status of close and fclose in a few extra places
...
darcs-hash:20060621095430-ac50b-52afcee91b856f706d6df6bcf2e3a6bc7d746e40.gz
2006-06-21 19:54:30 +10:00
axel
b016438c08
Update input validation. Always use the magic CHECK macro, which prints an error message including instructions on how to report this problem.
...
darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
2006-06-21 10:48:36 +10:00
axel
7268a4a4e0
Various code polish, including minor rearangement of builtin code to export fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable
...
darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
2006-06-21 07:20:16 +10:00
axel
51c6c5ea49
Make sure failed tilde expansion doesn't result in evaluating null strings in highlighting code
...
darcs-hash:20060620211621-ac50b-3d57cc28272f5222fb42a72f0f98f89af1ec60de.gz
2006-06-21 07:16:21 +10:00
axel
5688035680
Large number of sourcecode comment edits, and some minor code polish
...
darcs-hash:20060620005010-ac50b-eaeae9a6242a37c1e34831e1a0b2ee2b4e7a012e.gz
2006-06-20 10:50:10 +10:00
axel
43b6b703ff
Make braces expand right-to-left, to make syntax more consistent
...
darcs-hash:20060617142652-ac50b-3c6ca24e37ae723fea6e74d1e4a9c66fd2f60c50.gz
2006-06-18 00:26:52 +10:00
axel
e007a5c203
The syntax for 'function --on-job-exit caller' was flat out wrong in the docs. Fixed.
...
darcs-hash:20060617141426-ac50b-835a389b29243023739315f21135f19c5f010c5a.gz
2006-06-18 00:14:26 +10:00
axel
f836bd41c0
Write commant at beginning of .fishd file mentioning that the file should not be edited
...
darcs-hash:20060617140406-ac50b-c3987895fbc747212a70618acf8a18b42601e8a8.gz
2006-06-18 00:04:06 +10:00
axel
c9e98c2eef
Update function wrapper for cd builtin, make sure a local variable is used
...
darcs-hash:20060617131145-ac50b-1cef97b5e774713f659962b7e33f889be3081a3d.gz
2006-06-17 23:11:45 +10:00
axel
e94803152c
Update rpm spec file, doxygen is no longer rewuired at build time
...
darcs-hash:20060617131036-ac50b-44d240f648cc020ee5307cf44c64ec72c0ca806b.gz
2006-06-17 23:10:36 +10:00
axel
07ff8a6c03
Documentation updates. Fixes a few formating bugs, adds various minor missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc
...
darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
2006-06-17 23:07:08 +10:00
axel
9f10dd377e
Fix bugs in the highlighting code related to detection and display of non-existing paths to the cd builtin
...
darcs-hash:20060617104128-ac50b-c9adecc8b95ab460f0c98c860e7640cdb91b4bae.gz
2006-06-17 20:41:28 +10:00
axel
6e0e7e0996
Fix a bug in the function wrapper around the 'cd' builtin that caused cd to sometimes return with a non-zero exit status even though the command did not fail
...
darcs-hash:20060616151848-ac50b-001698980eca6fadf9e470d829a532c305c84e38.gz
2006-06-17 01:18:48 +10:00
axel
907b2f8462
Make the validator show the help for a block command missing an 'end'
...
darcs-hash:20060616125616-ac50b-b895cc14ce9f26ec99ac90523b2a52d0dce66dd9.gz
2006-06-16 22:56:16 +10:00
axel
d2869d5140
Remove tiny and unlikely memory leak
...
darcs-hash:20060615160327-ac50b-01b0514c922104a7d36e3a9a0426bb3a671581b2.gz
2006-06-16 02:03:27 +10:00
axel
587e91d0c1
Include fallback functions in set_color command
...
darcs-hash:20060615152419-ac50b-e3ff8cffb004f7f381ca6d8e4bd5c039b451835d.gz
2006-06-16 01:24:19 +10:00
axel
aad3249b79
The license agreement int the docs explicitly state GPL v2, while main.c mentions GPL v2 or later. Removed the latter to avoid ambiguity.
...
darcs-hash:20060615152306-ac50b-6f24ed875ade3ea25d3536de92a8f16ab26c5e6c.gz
2006-06-16 01:23:06 +10:00
axel
081ab955af
Slightly improve build system - dont link in ncurses into mimedb or set_color
...
darcs-hash:20060615135200-ac50b-e39889a0f566306f3ae1c7a39f2a7dd5c387fa2c.gz
2006-06-15 23:52:00 +10:00
axel
9a9d84c58a
Slightly improve accuracy of calculations of prompt width
...
darcs-hash:20060615135023-ac50b-36a70fb2cab4f03b96db95ed3f7694b354e0b0ac.gz
2006-06-15 23:50:23 +10:00
axel
94d1322fc1
Update the set_color command: Add underline support, make the command a bit more rubust to missing ferminal features, and update documentation and completions
...
darcs-hash:20060615134915-ac50b-de1092e56490bbf1c58cc3422c239a2997645b6b.gz
2006-06-15 23:49:15 +10:00
axel
eed8b61a9e
Add entry about changing shell to the FAQ
...
darcs-hash:20060615110539-ac50b-c610d35384039575a74711114262333e0b7eb99c.gz
2006-06-15 21:05:39 +10:00
axel
40558c2eb9
Fix highlighting of search matches, broken by earlier patch for underlining potential paths
...
darcs-hash:20060615105919-ac50b-fd54a58e3f7bdc93fd36e52891bafc7366c6e401.gz
2006-06-15 20:59:19 +10:00
axel
d677b468db
Provide fallback implementation of lrand48_r
...
darcs-hash:20060615105315-ac50b-155e1836d0bdc8f398776a816898718066adcdce.gz
2006-06-15 20:53:15 +10:00
axel
4e38d3bc8c
Minor comment edits, reindentation and other code formating changes
...
darcs-hash:20060615103706-ac50b-ad9f7060e40f5a786877e95f027688c90f43b6ec.gz
2006-06-15 20:37:06 +10:00
axel
36ae253a29
Minor comment edits, reindentation and other code formating changes
...
darcs-hash:20060615103646-ac50b-d7cde4cfca0c776127e9e161daefb74ee6d027ba.gz
2006-06-15 20:36:46 +10:00
axel
f673b06dd2
Give the 'random' builtin it's own seed state, to keep other users of random data from creating a generating a non-deterministic sequence of numbers even if the user manually seeds
...
darcs-hash:20060615103556-ac50b-7865016b4561c7c69afb1ba77f85adeda1da691e.gz
2006-06-15 20:35:56 +10:00
axel
e9e0643817
Check the return value of the unescape call at all places
...
darcs-hash:20060615011154-ac50b-b9c8f31c39fda44080ef885764ce572b24866cd5.gz
2006-06-15 11:11:54 +10:00
axel
358f412abb
Highlight invalid directories red for the cd builtin
...
darcs-hash:20060615010038-ac50b-30ada1c67dcb393390f67cf709e433dafc8801b7.gz
2006-06-15 11:00:38 +10:00
axel
a983798295
Fix segfault caused by a backslash followed by a null inside single quotes
...
darcs-hash:20060615005931-ac50b-4c6be7129dfd2c3a5759a811b605ad32fceff758.gz
2006-06-15 10:59:31 +10:00
axel
52a0149e4f
Set default highligting for valid paths
...
darcs-hash:20060614142241-ac50b-4f8bd79e788b3886ab8a1e5288da5b4cb9c2cdc5.gz
2006-06-15 00:22:41 +10:00
axel
8fdc46a105
Add support for hishlighting potentially valid paths - default behaviour is to underline them
...
darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
2006-06-14 23:22:40 +10:00
axel
63b02e308d
Minor typo in configure script
...
darcs-hash:20060613234036-ac50b-6ccced250383c11f7babbb321de925312bad9761.gz
2006-06-14 09:40:36 +10:00
axel
7c97095bca
Remove unused variable, and make a few variables static
...
darcs-hash:20060613172337-ac50b-6cae5390acdd278dc8709cfd870edfedfc0ba556.gz
2006-06-14 03:23:37 +10:00
axel
b62beaf47d
Use variable arrays if compiler supports C99, this saves a small amount of memory
...
darcs-hash:20060613172251-ac50b-1e19294700c9b9b72e2254f676004e7d9dceea44.gz
2006-06-14 03:22:51 +10:00
axel
b2b1ec27d8
Add more emacs keymappings (Thansk stew for the patch)
...
darcs-hash:20060613163009-ac50b-16730da83d7e8ff45a51d10097a018411b11754a.gz
2006-06-14 02:30:09 +10:00
axel
6aa682755d
Minor documentation edits for mimedb and fishd
...
darcs-hash:20060613154409-ac50b-5d1c80d67ee92a073078404ed662510573f7f9b5.gz
2006-06-14 01:44:09 +10:00
axel
2bc49b3291
Change name of fishd log file to be in line with name of socket file
...
darcs-hash:20060613154126-ac50b-1e33bbe55075035f2a4522aadb9ae500a3d302aa.gz
2006-06-14 01:41:26 +10:00
axel
cea3dfd0cb
Decrease verbosity of fishd
...
darcs-hash:20060613153940-ac50b-37f934432f0fb1dbc0be4d03155563da56295bbe.gz
2006-06-14 01:39:40 +10:00
axel
d7d2c82a82
Fix bug in help builtin that caused fish to show index page instead of command-specific help
...
darcs-hash:20060613152224-ac50b-d1841f7069e4fee2c569fb0ee079efd3cfe7de8a.gz
2006-06-14 01:22:24 +10:00
axel
58aa1e75c1
Add completions for the which command
...
darcs-hash:20060613144807-ac50b-a0819777ec904700e644508a3b97e98f8c2acaee.gz
2006-06-14 00:48:07 +10:00
axel
0361423469
Major restructuring of the buildsystem, meaning that the documentation doesn't needlessly rebuild itself, and the size of the fish binary drops slightly
...
darcs-hash:20060613134328-ac50b-05ae75eb5cc081b680f38e8866fac00a679cc266.gz
2006-06-13 23:43:28 +10:00
axel
9aee2b7c9c
Drop most 'const's from function prototypes
...
darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
2006-06-13 07:47:42 +10:00
axel
2c95e087b2
Minor updates to swedish translations
...
darcs-hash:20060612205455-ac50b-24d5c1f05ff1fd4bec0d5ad4fffff7ff3e1d3abd.gz
2006-06-13 06:54:55 +10:00
axel
5d5ee87a59
Minor code edits
...
darcs-hash:20060612205438-ac50b-4d7092740d5d35af3da06d0e6e99551d1cdfa123.gz
2006-06-13 06:54:38 +10:00
axel
c60b62de73
Minor addition for completions to the patch command
...
darcs-hash:20060612203328-ac50b-e06d8dd7f9325cc06f59f6386eaedb181f1bd881.gz
2006-06-13 06:33:28 +10:00
axel
2e5821c17d
Do not change status when the 'exit' builtin is called with no argument
...
darcs-hash:20060612165137-ac50b-0281941e35c5f8b619460f67d24a89caec475815.gz
2006-06-13 02:51:37 +10:00
axel
f46145a6b3
Do not change status when the 'return' builtin is called with no argument
...
darcs-hash:20060612164854-ac50b-5f428c819e8dafb44b591150d1965c5158854781.gz
2006-06-13 02:48:54 +10:00
axel
c61f6ceea6
Minor update to english 'translation'
...
darcs-hash:20060612155743-ac50b-d7b5cabd2dfd90932b762f26d4ebf0602b78f67d.gz
2006-06-13 01:57:43 +10:00
axel
d32751df13
Use halloc in a few more places, including the highlight code
...
darcs-hash:20060612141233-ac50b-1c44411dd31cdc31d6ccb226f567c308c4fc0f55.gz
2006-06-13 00:12:33 +10:00
axel
038dcca143
Include user documentation with standard tarballs - this means you no longer need Doxygen to build fish, and should make life easier for packagers
...
darcs-hash:20060612110743-ac50b-0dcfea7ce14856840ee66afb2c70bb23fcbfee6f.gz
2006-06-12 21:07:43 +10:00
axel
d79e8c7f62
Documentation updates, mostly corrections and cla<rifications to the docs for a few builtins
...
darcs-hash:20060608235811-ac50b-76b4fd54cb0911dd00f19f4a7c761f188d6ca068.gz
2006-06-09 09:58:11 +10:00
axel
af8cb6fe87
Minor code edits - add a few braces, a few minor safety checks, etc.
...
darcs-hash:20060608235719-ac50b-bec405da5ae101ff50bb3390bb83ef8b0948e4e9.gz
2006-06-09 09:57:19 +10:00
axel
5855f78010
Edits to source code comments
...
darcs-hash:20060608235557-ac50b-052e5c8f2cceb554064d7408573f277275903e7b.gz
2006-06-09 09:55:57 +10:00
axel
f7118e769f
Add more function input validation checks
...
darcs-hash:20060608235212-ac50b-25fd55f96356af65d4da1eec100cc954b4a9f81e.gz
2006-06-09 09:52:12 +10:00
axel
93ae00e8e5
Do input validation in various functions in function.c and complete.c
...
darcs-hash:20060608000145-ac50b-1088c3f5e3c1ad2759c13400e5dda2d21858fedc.gz
2006-06-08 10:01:45 +10:00
axel
d7eb084b9d
Make sure that empty completion descriptions aren't translated to the gettext version information
...
darcs-hash:20060607235601-ac50b-7b8d4d01f4e30d0722c6e269f9d46fb354c5f4b6.gz
2006-06-08 09:56:01 +10:00
axel
6e1548b821
Remove period from end of completion descriptions for telnet command
...
darcs-hash:20060607233312-ac50b-cb10498f174b72fb53d7e47ab93fcd8af72676c9.gz
2006-06-08 09:33:12 +10:00
axel
5381c6cf93
Fix off-by-one error when reporting line number of function call in stack traces
...
darcs-hash:20060607233206-ac50b-d8dcddb8a12a080d3e6ec50e50c420d70eeb8401.gz
2006-06-08 09:32:06 +10:00
axel
20e5d298a0
Updates, bugfixing and minor edits on the test suite
...
darcs-hash:20060605133133-ac50b-e2ee5868f9f3ede147c7059d90c0f520ed905a5f.gz
2006-06-05 23:31:33 +10:00
axel
39e9974e71
Fix some typos and bad wording in hte faq
...
darcs-hash:20060605100434-ac50b-539b8cebf367ad1c1e05b78fb412389c9f78fc4b.gz
2006-06-05 20:04:34 +10:00
axel
d2bd3e4919
Fix minor typos in code comments
...
darcs-hash:20060605004201-ac50b-66c51908cd1f23307042991b32ccbed487685500.gz
2006-06-05 10:42:01 +10:00
axel
04b142208d
Make it possible to specify scope of a variable to be erased or tested. Also make sure set exits with a non-zero exit status when erasing fails.
...
darcs-hash:20060604201451-ac50b-4ea0212c513b33be40559dfe8d65c1446c53f682.gz
2006-06-05 06:14:51 +10:00
axel
cf35a8e3a5
Add documentation about support for negative indices
...
darcs-hash:20060604094203-ac50b-6cf671235549eb79d3464a15398b6511057dedde.gz
2006-06-04 19:42:03 +10:00
axel
e7e3e8ee74
Add support for negative indices in arrays. Negative indices count from the end of an array, so -4 is the fourth index from the end
...
darcs-hash:20060604093532-ac50b-6e22b2f2ccfe94375fe4c32e41ccec08ca501744.gz
2006-06-04 19:35:32 +10:00
axel
6fd69bdda8
Many minor edits and clarifications to the documentation, including comments about the exit status of a few commands
...
darcs-hash:20060603231517-ac50b-03d252516eef21d4dd3a2ba0f5bb68e82525213b.gz
2006-06-04 09:15:17 +10:00
axel
a85f4cc1c4
Swedish translation updates
...
darcs-hash:20060603223800-ac50b-8170191f3d233eab438709c35c0f1c69c622756e.gz
2006-06-04 08:38:00 +10:00
axel
07af5f4832
Add english 'translation', which does nothing except change the type of quotes used
...
darcs-hash:20060603223731-ac50b-9e222fa36b0b71b5690dc5674905000eea9b11c1.gz
2006-06-04 08:37:31 +10:00
axel
446272eee6
Minor code tweaks, including making sure builtins are not run if an io redirection issue occurs and removing a lot commented debug code
...
darcs-hash:20060603223533-ac50b-204ff1fb1a4912565044e7bc4b86102a7eeba192.gz
2006-06-04 08:35:33 +10:00
axel
48ca253097
Minor spelling fixes
...
darcs-hash:20060603223228-ac50b-b4f7b190baf3c41bf23c224f5d68e8888dd4eaed.gz
2006-06-04 08:32:28 +10:00
axel
da2a757dff
Add missing help message for a few errors in the set builtin
...
darcs-hash:20060603223150-ac50b-b2c731e724410a8a192655940064be307214c149.gz
2006-06-04 08:31:50 +10:00
axel
6fada015b6
Drop validation of function code on new function definition - the code has already been validated
...
darcs-hash:20060602021757-ac50b-02bad63baf4826801ec0433468ec78d9b4a4c0f7.gz
2006-06-02 12:17:57 +10:00
axel
a1a2773cbf
Make sure code validation error output for e.g. the complete builtin can be redirected, and that it has the prefix 'complete', not 'fish'
...
darcs-hash:20060602021517-ac50b-5e566aefbd1c9bcb3a5f11f9fc1125d8c1d9e936.gz
2006-06-02 12:15:17 +10:00
axel
67f216fa55
Highlight invalid use of variable expansion operator
...
darcs-hash:20060601230438-ac50b-165ec1515e0e02674a992a1f0309a567aa6828de.gz
2006-06-02 09:04:38 +10:00
axel
8986e05b94
Minor code cleanup
...
darcs-hash:20060601224217-ac50b-5e82554d224ffd9f4f6b79fe365d855795058100.gz
2006-06-02 08:42:17 +10:00
axel
7c016c56e3
Only hide /private directories in pwd function under OS X
...
darcs-hash:20060601222300-ac50b-b08a9425d33cf41d60aa0a42edffa32f521fc2a3.gz
2006-06-02 08:23:00 +10:00
axel
0602044723
Add completions for 'cp'.
...
darcs-hash:20060601221808-ac50b-f9f8d90f6e53fe6bc41d124b00ded09c4979af6d.gz
2006-06-02 08:18:08 +10:00
axel
4ffd2afccd
Fix some minor 64-bit uncleanlieness - thanks to James Anthill
...
darcs-hash:20060601194231-ac50b-a6b9b94379ba1d5bb6c61f7fad4652c8f748b25f.gz
2006-06-02 05:42:31 +10:00
axel
ec58ffa641
Bump version number
...
darcs-hash:20060531154529-ac50b-92c8377b8b3164fa280c02b4752243295c4b7c40.gz
2006-06-01 01:45:29 +10:00
axel
2c44ecb4a3
Drop debug message
...
darcs-hash:20060531154456-ac50b-2367291f440bff21b3029829ff7dff86be5b5ec1.gz
2006-06-01 01:44:56 +10:00
axel
2eebb6e7ed
Revert addition of the seq file to repo - only seq.in should be there. Also apply earlier fix to seq.in
...
darcs-hash:20060531154428-ac50b-7ddeef083d3d965eb484cb11a71c1291660fee89.gz
2006-06-01 01:44:28 +10:00
axel
1a3ab8a189
Make validation code show offening parameter on perameter expansion problems
...
darcs-hash:20060531154147-ac50b-dd9b9a3e000352b045a4a9c3122a45a312c43f19.gz
2006-06-01 01:41:47 +10:00
axel
4722ddc373
Increase size of buffer for parser error string. Should change this to a dynamically allocated string.
...
darcs-hash:20060531154028-ac50b-ada120ecfe65bcf1ad1b3d1a5fad41ae9dec133c.gz
2006-06-01 01:40:28 +10:00
axel
25365dbc54
Minor change to the strings to a printf comman, since it seems to work differently under different platforms
...
darcs-hash:20060530091417-ac50b-4eead9f39433b54ab66dea1c336b533689d85c46.gz
2006-05-30 19:14:17 +10:00
axel
6a5f11879b
Minor code simplifications in highlighting code
...
darcs-hash:20060530003535-ac50b-6babcc9880a018a669e123c2acdb548adb4406ce.gz
2006-05-30 10:35:35 +10:00
axel
b028e41f7f
Slightly updated fusermount completions - Thanks to Sean Higgins
...
darcs-hash:20060529135227-ac50b-ffce282fc850a895da75f64cd8a151277f42a937.gz
2006-05-29 23:52:27 +10:00
axel
86593cd6a2
Add highlighting to a few missing escape sequences
...
darcs-hash:20060529134659-ac50b-48de59c1c84e4e3d3a6cf6283ec8a652986c380d.gz
2006-05-29 23:46:59 +10:00
axel
6cae5c8b0a
Minor rewordings and additions to the manual
...
darcs-hash:20060529134607-ac50b-097cf23e8009b13afa456cf3946cc0799b0fd471.gz
2006-05-29 23:46:07 +10:00
axel
29cd62ab6e
Check documentation for listing of external commands instead of relying on out of date static lists in various places
...
darcs-hash:20060529133239-ac50b-48392cfa1e5817ed8df452f0632658af7fe47a28.gz
2006-05-29 23:32:39 +10:00
axel
4c7e06e752
Add missing event trigger when non-universal variable is erased
...
darcs-hash:20060529131217-ac50b-feb2034230297d9edc120369d8f3c1cfff6acfcd.gz
2006-05-29 23:12:17 +10:00
axel
433169dca4
Avoid using the pwd command in favour of the $PWD variable, since the pwd command does not seem to work well with fuse
...
darcs-hash:20060529130753-ac50b-0d32fe0924dbf9e83520d26402e9daae77789419.gz
2006-05-29 23:07:53 +10:00
axel
d46dade284
Rename function expand_variable_array to tokenize_variable_array and move it from expand.c to common.c, since it is used by fish_pager, which should not depend on expand.o
...
darcs-hash:20060529111342-ac50b-315d7dcf04e05fa8f32e16801e6793ac4e4e022e.gz
2006-05-29 21:13:42 +10:00
axel
79b466441b
Fix major memory leak in highlighting code and a minor leak in the parser
...
darcs-hash:20060528110630-ac50b-94a83ec6731b39ebcf864b7491ec3c372e28a135.gz
2006-05-28 21:06:30 +10:00
axel
9f14d50974
Extend manual section on highlighting colors
...
darcs-hash:20060528105437-ac50b-c1c703206e855e5a4b5d7cf48bc19c48e12d2833.gz
2006-05-28 20:54:37 +10:00
axel
990803009e
Minor edits
...
darcs-hash:20060527134918-ac50b-b244916fc6649e1abb4832bdaa3fff81fcbe3937.gz
2006-05-27 23:49:18 +10:00
axel
6dfd629fc5
Update todo list
...
darcs-hash:20060527134859-ac50b-3890023bb4003bbf773bf68dbcb9588c6ec55600.gz
2006-05-27 23:48:59 +10:00
axel
d97f8f3fde
Add missing completion for complete builtin
...
darcs-hash:20060527134741-ac50b-dd50e408384d48b4b859240ac4fb6ad1ea8d25a5.gz
2006-05-27 23:47:41 +10:00
axel
95ca3d1c69
Minor clarifications for documentation for the set builtin
...
darcs-hash:20060527134723-ac50b-8ad44bf44a8537f12b45281950fcaf85abbdd8f4.gz
2006-05-27 23:47:23 +10:00
axel
c8b04f70cf
Add highlighting of a few missing escapes
...
darcs-hash:20060527134026-ac50b-3ff05d1fe0246d37c1be6e4a6d4492bf411808b7.gz
2006-05-27 23:40:26 +10:00
axel
bffff77d17
Add support for bold highligting
...
darcs-hash:20060527133930-ac50b-515d0887567c0e89fdfe10fe8310d6ebb4485974.gz
2006-05-27 23:39:30 +10:00
axel
6bdb0cde8b
Add support for highligting qutes in a special color - defaults to blue
...
darcs-hash:20060527123516-ac50b-d6e0cf08bd9dfe8514e64004d93dc4035e73fad8.gz
2006-05-27 22:35:16 +10:00
axel
42a260f1e6
Use ahead of time validator to make sure that commands entered on the command line are valid
...
darcs-hash:20060527111456-ac50b-1bc070467029b851d34a1b99457415e3f0b24429.gz
2006-05-27 21:14:56 +10:00
axel
148cb68700
Add Parenthesis and braces to list of highlighted operators, and do minor code cleanup
...
darcs-hash:20060527005618-ac50b-272d096796b732b7d6c000c30be1a9ca1e1995a6.gz
2006-05-27 10:56:18 +10:00
axel
18c185c256
Add support for highlighting operators and escaped sequences
...
darcs-hash:20060526164638-ac50b-2259579e0460df0641683ce6127bb8516fca8c7e.gz
2006-05-27 02:46:38 +10:00
axel
b5b49e7a4d
Make sure that getopt flags are only written down once
...
darcs-hash:20060526145551-ac50b-5411809433e277cd0bdebc34907ee3312a8a0263.gz
2006-05-27 00:55:51 +10:00
axel
28ea5ce732
Add missing N_.fish file to repo
...
darcs-hash:20060526120906-ac50b-5c903a99dfcb176c454bec2abc25360e8a7bf79a.gz
2006-05-26 22:09:06 +10:00
axel
eccba7626d
Properly exit ca_mode terminal mode on exit
...
darcs-hash:20060526120331-ac50b-bbddd181b0784072a47e0f852012b9588c4fc3d6.gz
2006-05-26 22:03:31 +10:00
axel
79d3207d51
The fallback seq implementation was missing in the darcs repo, add it and fix a bug in it
...
darcs-hash:20060526114722-ac50b-4b75ac32c6490b358bb1003736fdc47198f37030.gz
2006-05-26 21:47:22 +10:00
axel
d6bf879675
Move jobs builtin to its own file
...
darcs-hash:20060526113811-ac50b-9c0ed1aa26cd2f247978e406bea86e8c36d73710.gz
2006-05-26 21:38:11 +10:00
axel
051f557e8f
Minor code polish for the validation code
...
darcs-hash:20060526112525-ac50b-d15f974d7abc5ffdc61273c1642c1cb711bc23fd.gz
2006-05-26 21:25:25 +10:00
axel
17171c3277
If a help page for a builtin is showed in response to an error, make sure it fits on screen, or only print the synopsis - this patch also contains a huge number of tweaks to where and when the help pages are printed
...
darcs-hash:20060526112402-ac50b-88993e45f411b2f1c45b3202c393c5328f1c7429.gz
2006-05-26 21:24:02 +10:00
axel
18a59291ed
Bugfix for previous patch to simplify configuration checks for ulimit builtin
...
darcs-hash:20060526111934-ac50b-ae9e85cd3e18994d2c56c2f6c69df6a1d93f9ea6.gz
2006-05-26 21:19:34 +10:00
axel
29e86254d0
Allow tab completion of empty command names
...
darcs-hash:20060521223213-ac50b-5201b7f0dfe5227f93aae6db94450e165c9a5a34.gz
2006-05-22 08:32:13 +10:00
axel
b746a803a9
Add validator check to make sure the second argument to 'for' is 'in'
...
darcs-hash:20060521221604-ac50b-5bc4ce217a08304f68b97b20e908ea1279fe26e9.gz
2006-05-22 08:16:04 +10:00
axel
07e14ed7a8
Rewrite small amount of code in parameter expansion to use wide character strings, not narrow
...
darcs-hash:20060521214601-ac50b-bb3937f5abd2780a7ecf8ab13975a0f6b622323f.gz
2006-05-22 07:46:01 +10:00
axel
df5cc6f858
Fix bugs detected by the ahead-of-time syntax checking in the complete builtin
...
darcs-hash:20060521192705-ac50b-b4304328fb4b9cce853055a2f231c48050a17471.gz
2006-05-22 05:27:05 +10:00
axel
409a407ca0
Use ahead-of-time syntax checker to validate input for complete builtin
...
darcs-hash:20060521192630-ac50b-c469f5bb3bd2afddce3ffa80adba0589d515b938.gz
2006-05-22 05:26:30 +10:00
axel
1c2cbb00bc
Major update to the ahead-of-time syntax checker
...
darcs-hash:20060521192524-ac50b-48713f826558e66ef21046d1bb779623cc2fd97a.gz
2006-05-22 05:25:24 +10:00
axel
bbf2a3836f
Simplify code for detecting which macros are defined in sys/resource.h, no configure-time tests are needed
...
darcs-hash:20060519151443-ac50b-c87dba2175f5bf8d652c783559c3a9992247aa01.gz
2006-05-20 01:14:43 +10:00
axel
1aa1ab540e
Bump version number
...
darcs-hash:20060519141037-ac50b-52155b56cfcd60f4a57787cd29ef8fa3f6348acc.gz
2006-05-20 00:10:37 +10:00
axel
27c9eb8758
Fix test suite
...
darcs-hash:20060519141023-ac50b-96cb2401e68ed0fa169c332c8efa8037a8482011.gz
2006-05-20 00:10:23 +10:00
axel
e6b1035ddc
Spelling fixes - Thanks Netocrat!
...
darcs-hash:20060519140425-ac50b-e687924b06a7711b4e92930e239aea4b01076434.gz
2006-05-20 00:04:25 +10:00
axel
9f6aba38d6
Define WCHAR_MAX to INT_MAX, not 0x7fffffff if undefined, as per suggestion from Netocrat
...
darcs-hash:20060519095948-ac50b-19842d18f4a020da7895d21df2f289dcf42f30bf.gz
2006-05-19 19:59:48 +10:00
axel
b52fe0feb6
Minor edits to builtin_set.c
...
darcs-hash:20060519085813-ac50b-67b6772ac7723e13312e444944cc4b077ba23479.gz
2006-05-19 18:58:13 +10:00
axel
db459f869a
Update the PATH checking code to work in batch mode
...
darcs-hash:20060518133726-ac50b-81759f01565fdfdb85c042c1db1b766a9a6adcda.gz
2006-05-18 23:37:26 +10:00
axel
763a6b8351
Minor cleanup
...
darcs-hash:20060518130039-ac50b-c17e794113c38909d90be840fce36c7727c628b4.gz
2006-05-18 23:00:39 +10:00
axel
4a06821d99
Make fish remove invalid PATH entries on startup, and give a warning about it
...
darcs-hash:20060518130017-ac50b-9326ed6b5671bbe0285fd2d5604e4ea69087c7c1.gz
2006-05-18 23:00:17 +10:00
axel
22f3dcfd35
Fix bug that causes fish to elongate the PATH whith directories which are already there
...
darcs-hash:20060518125909-ac50b-9c23915bb6f51f9105e04ad71b102b386b5d43a9.gz
2006-05-18 22:59:09 +10:00
axel
dbb66e1895
Remove two minor memory leaks
...
darcs-hash:20060514223903-ac50b-4e764c460effd8c45493acfe5682626c3711c77e.gz
2006-05-15 08:39:03 +10:00
axel
5a7a264b96
Fix bug that caused block level io redirection to break on while loops
...
darcs-hash:20060514222905-ac50b-7dec0ed716f5fe6af9069b597eee464829a8d820.gz
2006-05-15 08:29:05 +10:00
axel
3d601bd751
Remove superflous event_signal_listen function, replace all calls to it with event_get
...
darcs-hash:20060514222758-ac50b-de4457154510b89d1c9b893bc39f06a23c8fc08f.gz
2006-05-15 08:27:58 +10:00
axel
c9deea2237
Minor edits
...
darcs-hash:20060514163936-ac50b-2a208818ccb26dabb60fba18078c3824da40adf5.gz
2006-05-15 02:39:36 +10:00
axel
32e54fd719
Remove some hardcoded values in favour of constants
...
darcs-hash:20060514132510-ac50b-2c703e8892d04b7d74555d05eb6618140e281a61.gz
2006-05-14 23:25:10 +10:00
axel
9ebdc16be6
Fix the longstanding hang-on-exit bug in eterm, as well as making sure the history is saved when the terminal emulator exits
...
darcs-hash:20060514101623-ac50b-f8ce693ec111e3c158640ef8de309bf7e5484c5b.gz
2006-05-14 20:16:23 +10:00
axel
92ecc01baa
Fix broken method for sorting output of builtin commands 'functions', 'set' and others
...
darcs-hash:20060514094721-ac50b-9f1d8b6a2e8b4438e6a655de61af54d15cd4f537.gz
2006-05-14 19:47:21 +10:00
axel
ff1c5e058f
Fix output of the functions command, where a single function would sometimes be printed twice
...
darcs-hash:20060514094635-ac50b-0cb03011b667a2458c19619a04d46140834e637c.gz
2006-05-14 19:46:35 +10:00
axel
3d192a8e93
Remoce C99:ism (Non-constant expression as array size)
...
darcs-hash:20060512154447-ac50b-5731603e1bf75f91703bf79cc06f6bbdb94e6a61.gz
2006-05-13 01:44:47 +10:00
axel
f5c6306bde
Do not repaint prompt on universal variable events, but add event handler for fish_color_cwd to repiant prompt on change
...
darcs-hash:20060511122629-ac50b-a725d87fe9ec911282e8de79aa9de5c00d180caa.gz
2006-05-11 22:26:29 +10:00
axel
524e0aa174
Add fallback del_curterm which does nothing, used in preference to BSD curses del_curterm, which seems to do a double-free
...
darcs-hash:20060511115846-ac50b-8d5fc054d31cff637d30e858ae8ffe2b1d1e8c03.gz
2006-05-11 21:58:46 +10:00
axel
94abb30f94
Do not try to read init files if the cd to the proper directory fails
...
darcs-hash:20060511115758-ac50b-94661cb36c5a55bc78ddfe576d1cd40fada5f065.gz
2006-05-11 21:57:58 +10:00
axel
af8e053896
Include stdint.h, in fallback.h, since WCHAR_MAX might be defined there and not in wchar.h, as the C standard says - Thanks to Peter Moulder for pointing this one out
...
darcs-hash:20060510132704-ac50b-9da156a6ee5f04e33fa8d5bf8cee581a88643cb2.gz
2006-05-10 23:27:04 +10:00
axel
633e2f498f
Escape $ character in apropos completions - Thanks to Peter Moulder for pointing this one out
...
darcs-hash:20060510115641-ac50b-51db7d181d63119c6edc223b06f8b8b63e8149d6.gz
2006-05-10 21:56:41 +10:00
axel
4932538c74
Add a few NULL checks to the codebase to avoid crashes on minor bugs
...
darcs-hash:20060510115431-ac50b-f6b50fb29b95ff88e7504355aaffef1edcb6739d.gz
2006-05-10 21:54:31 +10:00
axel
786144ba86
Make sure tokenization errors in eval_args doesn't cause fish to crash while error reporting
...
darcs-hash:20060510115351-ac50b-57354a1a6f044504a16e294840d0092ebf98f600.gz
2006-05-10 21:53:51 +10:00
axel
e3dd94f272
Add missing quote escape to ls completions
...
darcs-hash:20060510115243-ac50b-6aff103edec7d1499702d5eb38d9841571d95c16.gz
2006-05-10 21:52:43 +10:00
axel
b110a0ae21
Allow backslash escape fur null byte
...
darcs-hash:20060509165501-ac50b-3a69a7ed0b96d5be7860aa997b7c77e37a6b1dc7.gz
2006-05-10 02:55:01 +10:00
axel
48d9c38d1e
Fixed use of improper storage type for variable
...
darcs-hash:20060509165207-ac50b-48561332ab938fe7972bbf07f32ac1f92322d316.gz
2006-05-10 02:52:07 +10:00
axel
51f8272ebd
Make sure WCHAR_MAX is defined (This is missing on OpenBSD for example)
...
darcs-hash:20060509164222-ac50b-595fd7507e2e5585b1a14e32792a38853b795b47.gz
2006-05-10 02:42:22 +10:00
axel
77f35c1b41
Add a little padding in the documentation stylesheet to make it easier to differ between different header levels
...
darcs-hash:20060509164146-ac50b-f165e89d3cf5d9a8db9826d804cd62b85bd6a3f7.gz
2006-05-10 02:41:46 +10:00
axel
06668bfacb
Alter syntax for set builtin so that better slicing operations are possible
...
darcs-hash:20060509164055-ac50b-8514b73bb9e992c463966f95f783f01893ba93bd.gz
2006-05-10 02:40:55 +10:00
axel
df59b8498f
Minor edits of function descriptions, includes, etc.
...
darcs-hash:20060502162950-ac50b-c2fcfc957d55f292744bcb4b33b4d66fc42087ed.gz
2006-05-03 02:29:50 +10:00
axel
92fde30c0c
Fix segfault when using the 'set' command with no arguments
...
darcs-hash:20060502162830-ac50b-d3ab63c29a6daeaa62803923b060ec69942911f8.gz
2006-05-03 02:28:30 +10:00
axel
d690a15b29
Make job id numbering start from 1, not 0
...
darcs-hash:20060428132137-ac50b-8e5adcdbc18ad7627b66e9129a13b037a669dd02.gz
2006-04-28 23:21:37 +10:00
axel
445f6539cf
Fix two bugs in the jobs builtin, causing freezes and other incorrect behaviours
...
darcs-hash:20060424153434-ac50b-2434329395cbd4a258d6fb9f15e166065b2eb164.gz
2006-04-25 01:34:34 +10:00
axel
13a7269378
Bump version number
...
darcs-hash:20060422101024-ac50b-8cfc71d94572187d8d3a6ce890beee0a0225a09a.gz
2006-04-22 20:10:24 +10:00
axel
fd2644ce49
Tweaks to a few error messages (Thanks to Philip Ganchev)
...
darcs-hash:20060422100630-ac50b-18cef1e493321e8ad0cf65982dc1748965d02630.gz
2006-04-22 20:06:30 +10:00
axel
508de57459
Change setup to avoid invalid directories and warnings, also revert directory checking for fish_*_path, it makes sense to add non-empty directories to these
...
darcs-hash:20060421150558-ac50b-90aff08f81b3d280badba4cc14fb6a0897c39f9e.gz
2006-04-22 01:05:58 +10:00
axel
de2405b35a
Add more descriptive error messages when trying to use variables in command names
...
darcs-hash:20060421142939-ac50b-d1809fa4687706b433d1d0a5e0a0c9d791de510f.gz
2006-04-22 00:29:39 +10:00
axel
a7f977836a
Expand the switch/case documentation
...
darcs-hash:20060421083529-ac50b-f287424c0cc9377085b49492453d35a5512cbc90.gz
2006-04-21 18:35:29 +10:00
axel
f59e4a88c6
If PATH is unset, use a default value
...
darcs-hash:20060420183502-ac50b-8e746ae4ed00c354712cf61e57e0a187aa40a4fa.gz
2006-04-21 04:35:02 +10:00
axel
c755bd0358
Only allow real directories in PATH, CDPATH, etc. If user tries to use ':' instead of arrays, give a friendly pointer on how to use arrays
...
darcs-hash:20060420182944-ac50b-fbb5dc63c2a4d3fe3bde92ad7699b1cad972dd0f.gz
2006-04-21 04:29:44 +10:00
axel
536523ffd7
Minor comment and documentation edits
...
darcs-hash:20060420150206-ac50b-c5c91053ee37a6c3f763287c42b430cdc99bb45b.gz
2006-04-21 01:02:06 +10:00
axel
ca82fc2f03
Add missing documentation for the read builtin
...
darcs-hash:20060420150124-ac50b-71a94cea3fedb0265af71718022e54e42567d69e.gz
2006-04-21 01:01:24 +10:00
axel
d1411c42d6
Minor edits to Makefile. A mistyped .PHONY was corrected, a few stray .o files are now properly removed by make clean, and the dependency list has been updated
...
darcs-hash:20060420150028-ac50b-b3b6b04023f1c039d167e5f67c89cbbaa6bd0cdc.gz
2006-04-21 01:00:28 +10:00
axel
9d770af5f4
Earlier history in non-interactive mode bugfix contained a new bug causing fish to crash if read is not used in non-interactive mode
...
darcs-hash:20060419234211-ac50b-886a33e96cb3f95e9b2c632f03eb3b2b20a560fd.gz
2006-04-20 09:42:11 +10:00
axel
d1ff6a323a
Bump version number
...
darcs-hash:20060419124513-ac50b-f0c4bacee786ca9e147a86004aa90f5a09c04b34.gz
2006-04-19 22:45:13 +10:00
axel
112ea1759a
Minor code cleanup
...
darcs-hash:20060419124315-ac50b-e7e9cafe6850e1fe805bad82278d15c2de327f5d.gz
2006-04-19 22:43:15 +10:00
axel
76bafbef2a
Make the read builtin accept 0 parameters and drop the input instead of showing an error message
...
darcs-hash:20060419100830-ac50b-50f96925481bb29ad840fb12240ef9b9b86d18c4.gz
2006-04-19 20:08:30 +10:00
axel
1947ec88f1
Remove minor memory leak on init
...
darcs-hash:20060419095818-ac50b-d2146525feba5f00d224bce920ab40cc023e390d.gz
2006-04-19 19:58:18 +10:00
axel
d0956f1e43
Use libc implementations of wcslcpy and wcslcat if they exist. Move internal implementations to fallback.c.
...
darcs-hash:20060419095628-ac50b-0e94e4205306bb99bb9dea72eec43b442520bf1b.gz
2006-04-19 19:56:28 +10:00
axel
6996c7718e
Always init history on startup, to avoid destorying history multiple times when reading interactively in a non-interactive script
...
darcs-hash:20060419095502-ac50b-abf2fe39cf9c027bdbc69d78fe858e946f7c81f2.gz
2006-04-19 19:55:02 +10:00
axel
45d56d8e05
Drop all calls to wcsncpy
...
darcs-hash:20060413121851-ac50b-1f479b96b3aa1050a30e9ee0ed27cc107ce2bc45.gz
2006-04-13 22:18:51 +10:00
axel
53295d38b7
Change var_entry_t struct to be ANSI C compliant (Wastes a few hundred bytes)
...
darcs-hash:20060410160109-ac50b-fa8b097722f06aee5fb09095e89f6b39ff90d44b.gz
2006-04-11 02:01:09 +10:00
axel
bd9c843fd1
Add warning when trying to change read-only variable
...
darcs-hash:20060410153626-ac50b-700ff7687647b8aab47ba79d759d1739cbe60425.gz
2006-04-11 01:36:26 +10:00
axel
f812b9b26c
Fix bug in type command causing type -f to return true even when no file was found
...
darcs-hash:20060410143201-ac50b-4d8a70cd9721edcddaf11324f0b575d3f8cbace8.gz
2006-04-11 00:32:01 +10:00
axel
52851a3ba4
Quote Doxygen test in configure script to remove warning - thanks to Ray Hammond for the report and the fix
...
darcs-hash:20060410141909-ac50b-f310b7e326ce28ae8a3bbc1a3c1d247511f3d860.gz
2006-04-11 00:19:09 +10:00
axel
b1bf115fa2
Bump version number
...
darcs-hash:20060408143210-ac50b-0a143a45d0510e67a75024b802a1ca677480e4c0.gz
2006-04-09 00:32:10 +10:00
axel
0f25ef365d
Tiny documentation edits
...
darcs-hash:20060408143134-ac50b-eae8cf585d3801b51bba415955ef2aacf98baeb2.gz
2006-04-09 00:31:34 +10:00
axel
55ea4b6fc0
Documentation additions
...
darcs-hash:20060405132928-ac50b-d551c31d04426c75c756d513e02e34b91bfc4ad6.gz
2006-04-05 23:29:28 +10:00
axel
5ef8cccf21
Mention in the license section that fish includes the glibc wcstok implementation as a fallback for libc implementations lacking wcstok
...
darcs-hash:20060405125956-ac50b-9e5b51d94676868365878387cd8c7e14a1684348.gz
2006-04-05 22:59:56 +10:00
axel
5613d96001
Do not call autoconf in Makefile, since configure will automatically reconfigure itself if configure.ac has changed
...
darcs-hash:20060405124918-ac50b-0f45ddc7759383d930e0473a281f092566570210.gz
2006-04-05 22:49:18 +10:00
axel
5d9ba8c1a2
Delete some commented code and tweak a few comments
...
darcs-hash:20060405124825-ac50b-8242b2a9c788cf147f864329797b2e24a7040f0b.gz
2006-04-05 22:48:25 +10:00
axel
0de232bf54
Do not return to the shell until all processes of a job have finished (Previous behaviour was to return once the last job had exited, and could cause e.g. the jobs builtin to print out the job responsible for repainting the titlebar). Also validate that jobs have not completed in various places where the job list is examined
...
darcs-hash:20060404112722-ac50b-4b6a55ce7c57d39213cdd0ed0f581795a72859b7.gz
2006-04-04 21:27:22 +10:00
axel
db5b887824
PPC fix by James Vega, fixing an issue with a variable named putc, which clashed with the putc macro
...
darcs-hash:20060403150422-ac50b-78d5db541cb1f41bfea55deac7578c0df73605bd.gz
2006-04-04 01:04:22 +10:00
axel
634bdb8b3b
Release 1.21.3
...
darcs-hash:20060402111721-ac50b-f5df9a3a3154a9bb37f4fcc6db3d4f44d12830ce.gz
2006-04-02 21:17:21 +10:00
axel
9c579a37bb
Swedish translation checkin
...
darcs-hash:20060402111659-ac50b-c23841e44c3de1cc4db9c2897fff59faf820c3d9.gz
2006-04-02 21:16:59 +10:00
axel
1502acd83e
Add tar and dist Makefile targets
...
darcs-hash:20060402111622-ac50b-8ac169b0f05fd68c1c8a375ae60049422e3fad47.gz
2006-04-02 21:16:22 +10:00
axel
ef3430f669
Add Makefile rules for regenerating Makefile, configure script, etc. when needed
...
darcs-hash:20060402111525-ac50b-533e15f7ab5d63c2f8258b5a5ae8adc5bafd9221.gz
2006-04-02 21:15:25 +10:00
axel
01af64cf1f
Add missing space in shellscript for building rpms
...
darcs-hash:20060331165626-ac50b-922778808ac54955cf6b1a43e4ae5e2264ac6ae1.gz
2006-04-01 02:56:26 +10:00
axel
349f52a1a5
Telnet completions from Sean Higgins
...
darcs-hash:20060331165554-ac50b-5b0300d89ac2b2fbc6bc4bfcf228572fdce2e284.gz
2006-04-01 02:55:54 +10:00
axel
850aa1963f
Change rpm .spec file so it will work both on systems that install X headers in /usr/include and /usr/X11R6/include
...
darcs-hash:20060329213330-ac50b-b478b18ae9aeb070ade5176c9813ffb74ac7006e.gz
2006-03-30 07:33:30 +10:00
axel
185d0c3c1c
Minor edits in configure.ac
...
darcs-hash:20060329213124-ac50b-8d25a34d621d698425b54e032238a2fe89d4a031.gz
2006-03-30 07:31:24 +10:00
axel
3656443b1f
Update section about compilers in INSTALL file to reflect that fish is known to work with ICC
...
darcs-hash:20060329213031-ac50b-34ca7b4f2ba557faf7d1ad17bde194b1a1f0acce.gz
2006-03-30 07:30:31 +10:00
axel
6748b9699f
Make parser_is_block public
...
darcs-hash:20060329212942-ac50b-ad8334532a719152766b4b530474616b78564f24.gz
2006-03-30 07:29:42 +10:00
axel
dc91d7aec4
Further improvements to build system wrt detection of compiler and libc features and prototypes, as discussed with James Antill on mailin list
...
darcs-hash:20060329002500-ac50b-e7618e476ea69802bd2cb0076244f49a0f178df7.gz
2006-03-29 10:25:00 +10:00
axel
13a51ba4c2
Fix warnings from ICC
...
darcs-hash:20060329001450-ac50b-9c3fe4f7ca14a077997c421616c07dde03b48c6d.gz
2006-03-29 10:14:50 +10:00
axel
749dad1309
Fix wildcarding bug where ? at end of wildcard could match 0 characters
...
darcs-hash:20060328180916-ac50b-6f77d936a1e46e411a12ca96fd9ad3bb844d321b.gz
2006-03-29 04:09:16 +10:00
axel
7a07d7c188
Add hint on how to fix missing rpm-build when trying make rpm
...
darcs-hash:20060326175237-ac50b-703940a231be96991d5d94c451b12f7c4e6f649f.gz
2006-03-27 03:52:37 +10:00
axel
53c95abfb2
Change how a few pointer are supplied to functions, removes warnings about breaking aliasing rules
...
darcs-hash:20060326112339-ac50b-eb135567f6a6183e5dbc310c093d2139ecc8fa4b.gz
2006-03-26 21:23:39 +10:00
axel
7fd2ae4ffd
Third try on correct fallback headers - re-add the checks to only include prototypes for functions which are known to be missing, and also add any compiler directives which may help in adding additional prototypes in the system headers (separate patch)
...
darcs-hash:20060325162103-ac50b-18f5074838a1c304c3d013378b7fa4e66b544cd9.gz
2006-03-26 02:21:03 +10:00
axel
717ac3f7fe
Remove gcc-specific cflags from makefile. Add them in the configure file, but only if the compiler is gcc.
...
darcs-hash:20060325161848-ac50b-23919c1d23bbc5eed81fd709b95802ea2d4e8f52.gz
2006-03-26 02:18:48 +10:00
axel
50fa7234ea
Fix completion describtion bug causing filesizes below 1024 bytes to be reported as 0 bytes on big-endian systems
...
darcs-hash:20060322001712-ac50b-1a42b3dcb868161f13d45d80d16aeb119f6ec9cd.gz
2006-03-22 10:17:12 +10:00
axel
80b4055eab
Add support for the -n switch to skip execution of any commands
...
darcs-hash:20060318010459-ac50b-9d9e5c489e0e4df2159d8c1d0ff952d42e2a2a82.gz
2006-03-18 11:04:59 +10:00
axel
94b7c8d5e6
Don't call the type function when defining the _ function, as this will cause a recursive dependency
...
darcs-hash:20060317132356-ac50b-4b3b0b6ec3f2e82649c74cc358f1505bf202bbd4.gz
2006-03-17 23:23:56 +10:00
axel
580ec26885
Minor code tweak in type function, and add a missing newline to an output string
...
darcs-hash:20060317132256-ac50b-87c066ec3aba2eded333ecbf2198de001c313570.gz
2006-03-17 23:22:56 +10:00
axel
6ba5d80a20
Cleanup after patch conflict
...
darcs-hash:20060314002216-ac50b-c5b2b0d677f45818d2496f00fb9cfc774460397e.gz
2006-03-14 10:22:16 +10:00
axel
d58b9de63b
Use 'type -f' instead of 'which' to test for presense of command, since the latter does not set the exit status correctly on all platforms
...
darcs-hash:20060314002127-ac50b-6ed726bdcc9e3a7a9608a904c382973799dc73ef.gz
2006-03-14 10:21:27 +10:00
npilon
99a93b5add
Fish PATH Fix
...
Moved PATH detection code to the start of share/fish.
darcs-hash:20060313190724-c90d9-8e2e80910041e91b48d68154e9d8180d04689463.gz
2006-03-14 05:07:24 +10:00
npilon
de50539c02
gettext detection fix
...
The current method of gettext detection is broken on (at least) OS X and Solaris, where which always returns successfully. This method seems to work on Linux, OS X, and Solaris.
darcs-hash:20060313014458-c90d9-8b169581a8632b6a47c61310ef3c976abd67d8e0.gz
2006-03-13 11:44:58 +10:00
npilon
04cf08b93b
xargs completion fix
...
Added a missing -d to a couple of xargs completions.
darcs-hash:20060313014433-c90d9-b7c6e444ecea0ed2e75304bd9663d20ea55df0ff.gz
2006-03-13 11:44:33 +10:00
npilon
2c5b52eb6c
OS X Compilation Fix
...
Tweak to fallback.h to make it compile under OS X. As shipped with fish 1.21.2, this causes a lot of warnings and then dies.
darcs-hash:20060313014333-c90d9-de59932f81dd6debbfb48225893983df485df12b.gz
2006-03-13 11:43:33 +10:00
axel
dd8150d98d
Minor comment and documentation changes
...
darcs-hash:20060314000914-ac50b-63c49a59804f51c4dd19de574db41298b1ef67c5.gz
2006-03-14 10:09:14 +10:00
axel
99662d7711
Move typedef of tputs_arg_t from common.h to fallback.h
...
darcs-hash:20060314000801-ac50b-466d5b90d9a1bea0e55c8657748edf6663edd06f.gz
2006-03-14 10:08:01 +10:00
axel
5f3ad87a98
Make the type builtin not rely on the exit status of the which command
...
darcs-hash:20060314000641-ac50b-cc92a519b6c8981a50aea0f25f407dfe2b5f51dc.gz
2006-03-14 10:06:41 +10:00
axel
83d05f9170
Move to end of current token on completion
...
darcs-hash:20060311115612-ac50b-70f15c50b6cb8ad89d84ae6c8a3ffc4b7551223b.gz
2006-03-11 21:56:12 +10:00
axel
0d56818664
Fix bad return status in read builtin
...
darcs-hash:20060310195100-ac50b-2b7d94510661d901fd804074e6cf03e926dddc79.gz
2006-03-11 05:51:00 +10:00
axel
5b0cd5a911
Changes in quoting of backslashes lead to minor bug in awk script for munging command descriptions
...
darcs-hash:20060310142808-ac50b-75e4be2daa924e4a565b1a11f69068340022c367.gz
2006-03-11 00:28:08 +10:00
axel
102b99a17b
Add further checks to unicode_start to see that the command exists
...
darcs-hash:20060310135129-ac50b-8345a137b73e91084ad82cba06413580e3ca87e7.gz
2006-03-10 23:51:29 +10:00
axel
6222d00ffc
Add minor comment about error handling to configure.ac
...
darcs-hash:20060310135024-ac50b-dd496725134db7eb3b55e7358a37eec481043b3e.gz
2006-03-10 23:50:24 +10:00
axel
73370f5f39
Avoid extended regexps in grep, they are not portable
...
darcs-hash:20060310134350-ac50b-7138e53ed815986ccb78e909f50c9939382a1e89.gz
2006-03-10 23:43:50 +10:00
axel
883ce6e440
Adapt key_reader to changes in buildfiles
...
darcs-hash:20060310134317-ac50b-14691f97a817f52f663679797e69f60419ec5d03.gz
2006-03-10 23:43:17 +10:00
axel
f320f5f710
Move LANG init back to /etc where it belongs. IT was temporarily moved earlier to do some translations at init time, but that is no longer needed
...
darcs-hash:20060310134039-ac50b-e826176a9d574b26235013384963f2dd7e9e9457.gz
2006-03-10 23:40:39 +10:00
axel
32b531667a
Fix bug that causing terminal corruption if a job is put under job control before running in interactive mode. This is fixed by doing more inits at startup (but only slightly more)
...
darcs-hash:20060310133809-ac50b-d31cd7bab1a3a58de2833f73735817a3d0b3ed7d.gz
2006-03-10 23:38:09 +10:00
axel
c47dae77a4
Bump version number
...
darcs-hash:20060309120008-ac50b-071e0ba004f208993cc09f1494dcae7b8be17a25.gz
2006-03-09 22:00:08 +10:00
axel
53160d134e
Swedish translation additions (incomplete)
...
darcs-hash:20060309115938-ac50b-ad4fa762e70fcf3116f8db52a0740f92c3367c3e.gz
2006-03-09 21:59:38 +10:00
axel
619defd748
Update todo list
...
darcs-hash:20060309115916-ac50b-da0ad8d0b29088c9d9daff4ec0c856289d8dd93d.gz
2006-03-09 21:59:16 +10:00
axel
40db2b3c2a
Further comment clarification on -fno-optimize-sibling
...
darcs-hash:20060309115638-ac50b-e6a67c4061bd576a8de261d46b85d984fd926b0c.gz
2006-03-09 21:56:38 +10:00
axel
b05ccee0f0
Remove extra spaces in descriptions for a few completions
...
darcs-hash:20060309115250-ac50b-c0c30e25f9d3e4b9390924a5a5686ad5dc159882.gz
2006-03-09 21:52:50 +10:00
axel
d722fa59ca
Add completions for cdrecord, patch and xargs
...
darcs-hash:20060306232645-ac50b-89f38afaa1ae3106c18fc55acc75fc0dd702bd9a.gz
2006-03-07 09:26:45 +10:00
axel
60065614bd
Updates to the swedish translation
...
darcs-hash:20060306231504-ac50b-93579475d50f2d643676a0b93d520fcbd9ffabdf.gz
2006-03-07 09:15:04 +10:00
axel
05b39a9bdb
Drop the -fno-strict-aliasing flag for GCC in Makefile.in, since it dealt with type punning using anonymous unions, which fish doesn't have anymore
...
darcs-hash:20060306184924-ac50b-cfcb9fff791a1fc6d8d18961cf760c13829b5707.gz
2006-03-07 04:49:24 +10:00
axel
91ab644173
Add support for \\ in quoted strings
...
darcs-hash:20060306015012-ac50b-a510764b624d1e4416d134f5b92532e046a6125b.gz
2006-03-06 11:50:12 +10:00
axel
083fcd6491
Remove fish_tests when doing make clean. This patch has been applied before, but must have gotten lost along the way.
...
darcs-hash:20060305212706-ac50b-751e88e86e03b94a18566ce02a0808697298d3bf.gz
2006-03-06 07:27:06 +10:00
axel
7e9e7d77d1
Add output message when uninstalling legacy fish version
...
darcs-hash:20060305212630-ac50b-8ff128370f83ef6d12a1f3941a7fd6f73852dbc3.gz
2006-03-06 07:26:30 +10:00
axel
66ee644130
Make the functions for setting default values use gobal values if universal variables are broken
...
darcs-hash:20060305212601-ac50b-075bc6976435e5bd86151603cb8f0fc634c542bb.gz
2006-03-06 07:26:01 +10:00
axel
c20b8982bc
Always define prototypes in fallback.h, so that if the prototypes are missing in the libc headers, things will still work
...
darcs-hash:20060305212513-ac50b-11820bbcc4193d8588246848161909baf3726edf.gz
2006-03-06 07:25:13 +10:00
axel
15bb8f712d
Add missing includes
...
darcs-hash:20060305212411-ac50b-4d672d98dd57914be7906e756e5e59e15bb02570.gz
2006-03-06 07:24:11 +10:00
axel
d48e9ef8b1
Some compiler flag tweaks, and elaborated comments on compiler flags use
...
darcs-hash:20060305212330-ac50b-f37c3f5464545965c1b4ace9282622111f8783a9.gz
2006-03-06 07:23:30 +10:00
axel
acd28b5dc4
Re-add accidantally removed HAVE_GETTEXT substitution
...
darcs-hash:20060302134541-ac50b-c3b8feb5e7838dac62465b08f809c16408473da3.gz
2006-03-02 23:45:41 +10:00
axel
1fe4863039
Automatically rerun autoconf inside configure when needed
...
darcs-hash:20060302134444-ac50b-3fc88b85997b1839989e786db63ce6d44dbff2a8.gz
2006-03-02 23:44:44 +10:00
axel
d347da963b
Add documentation about indirect variable expansion
...
darcs-hash:20060302115108-ac50b-6803fad305e1caff02b33ab31bec869ac05a018e.gz
2006-03-02 21:51:08 +10:00
axel
930bb9c6d1
Remove warning for missing history value - it is not a bug
...
darcs-hash:20060302113314-ac50b-65bd93a0e31e5ac69167ecc84346fa44d55dec71.gz
2006-03-02 21:33:14 +10:00
axel
676c3ed505
Small edit in common.c
...
darcs-hash:20060302113142-ac50b-33e3e91e0ae1787784fde100c9c0878cdd2ed45f.gz
2006-03-02 21:31:42 +10:00
axel
2d3588fa51
Add two newlines to german translation
...
darcs-hash:20060302113055-ac50b-56d31b568f3174e3808d7d06f0fbd398d47e1270.gz
2006-03-02 21:30:55 +10:00
axel
4835945c09
Add missing includes in fallback.c
...
darcs-hash:20060302113029-ac50b-cd2416c2a687beade622aae6ca0e87afd52195d8.gz
2006-03-02 21:30:29 +10:00
axel
82bff9f407
Unbreak fwprintf autoconf check cpp symbols
...
darcs-hash:20060302112917-ac50b-29d524dc3df09ad9a6e88669e6c20f46677ec2ee.gz
2006-03-02 21:29:17 +10:00
axel
3b6d8756ea
Fix various uses of the GNUism of allowing backslash escapes in the second half of a sed regexp substitution
...
darcs-hash:20060302112808-ac50b-46cdf8e99f8f6e8cab0d54f32cf4e4d309775aa1.gz
2006-03-02 21:28:08 +10:00
axel
d1bb30afae
Better commenting in configure.ac
...
darcs-hash:20060302014729-ac50b-fba9ec3e24abb387bc63effbc86dd9177a9b95f0.gz
2006-03-02 11:47:29 +10:00
axel
7a1d64637d
Add additional -I includes to both CFLAGS and CPPFLAGS
...
darcs-hash:20060302013016-ac50b-38373bd0c6fd64189e4f87a90171cfa716ecf11e.gz
2006-03-02 11:30:16 +10:00
axel
5f85d27671
Add an autoconf test to verify that fwprintf doesn't crash to avoid non-working fish on DragonFlyBSD
...
darcs-hash:20060302012858-ac50b-df97c2a1b4770473d2724222c51abe7110715813.gz
2006-03-02 11:28:58 +10:00
axel
5d828b5fcf
Remove correct files when using make distclean
...
darcs-hash:20060302012654-ac50b-e441be3287ca2a14d11fc8491a45407e72b6598a.gz
2006-03-02 11:26:54 +10:00
axel
c2f6c6c1d2
Do gettext translation of descriptions just-in-time internally in fish
...
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00
axel
7726cffdab
Update to latest config.sub and config.guess versions
...
darcs-hash:20060301162821-ac50b-508c855d9be360cdd4cb46fe9c4a6b2f0414ab65.gz
2006-03-02 02:28:21 +10:00
axel
3570013496
Use correct objects list when building mimedb
...
darcs-hash:20060301012818-ac50b-aa2429ac2b7a0af4d91e4b59038e345115a6350f.gz
2006-03-01 11:28:18 +10:00
axel
2401a163fe
Move all fallbacks for standard and not-so-standard unix functions to fallback.c, in order to have a one-stop place to look for such functions
...
darcs-hash:20060228131716-ac50b-0832193dbcaf7191dcb24456dc40f2e861a1382e.gz
2006-02-28 23:17:16 +10:00
axel
e8d802c5e1
Bump version number to 1.21.1
...
darcs-hash:20060225112956-ac50b-d54565f84c9082c32bf0110163ab495778a9c347.gz
2006-02-25 21:29:56 +10:00
axel
dca4167de6
Fix broken function/completion paths, sent by Sean Higgins
...
darcs-hash:20060225112911-ac50b-c1aa4f172f4aae5d725230ccba43cdc1fce924f5.gz
2006-02-25 21:29:11 +10:00
axel
6d0b6e5de5
Bump version number to 1.21.0
...
darcs-hash:20060225022220-ac50b-27a71eef149c0caa5336d425f24686ce152dcad1.gz
2006-02-25 12:22:20 +10:00
axel
fd6bf06f15
Various minor edits
...
darcs-hash:20060225022139-ac50b-9ef43f88e2266978e9b39038a6a5087ff1305509.gz
2006-02-25 12:21:39 +10:00
axel
d2e11ea61d
Fix crash bug on invalid input to fish_pager
...
darcs-hash:20060224184050-ac50b-da122d893fa0e2aabbd48058c696e2815c4657ca.gz
2006-02-25 04:40:50 +10:00
axel
dad2b93d1e
Add functiopn prototype completions for valgrind --alloc-fn
...
darcs-hash:20060224135618-ac50b-bcd2fa57593f6a5c9f41b9513ac25f859baf1659.gz
2006-02-24 23:56:18 +10:00
axel
1075ca69b0
Switch to standard syntax for octal escapes
...
darcs-hash:20060224121829-ac50b-8e19f27857378e6456ae08269721138bd60f3464.gz
2006-02-24 22:18:29 +10:00
axel
e29f5c5474
Add an FAQ section to the documentation, and remove a few seactions of the manual containing introductory material on fish which was no longer accurate
...
darcs-hash:20060224011446-ac50b-e9246e23dbf725a3e2488f7831b1c7420cdd42db.gz
2006-02-24 11:14:46 +10:00
axel
22bfa6638a
Update of the makefile on how to handle the directory hierarchy transition
...
darcs-hash:20060223153556-ac50b-4af8c2376a37c28f056b7fef37db3fb371a3e899.gz
2006-02-24 01:35:56 +10:00
axel
1a48941f6b
Protect against double-free of the process argument list
...
darcs-hash:20060222175107-ac50b-87c36439e2ec2f8be652db1595dad9a09e20f36c.gz
2006-02-23 03:51:07 +10:00
axel
68e0c94dbb
Do not unescape strings from completion callouts. Why was this done before?
...
darcs-hash:20060222174716-ac50b-218c6896918e5cf8047ea6291a8cde44061d0b57.gz
2006-02-23 03:47:16 +10:00
axel
ca04fc745d
Add some input validation code to various functions
...
darcs-hash:20060222154152-ac50b-608032284165f099beecd1cd4f7c6bb2b45df432.gz
2006-02-23 01:41:52 +10:00
axel
3afead1827
Documentation clarification for the cd builtin
...
darcs-hash:20060222142137-ac50b-cc9200ed23fa5796a56dc4ee3dde1ff7e8768fc3.gz
2006-02-23 00:21:37 +10:00
axel
0ea69dab7b
Drop unuses error counter for string conversions
...
darcs-hash:20060222142042-ac50b-25f2e050c680071ccec6989e477f6db5904a2713.gz
2006-02-23 00:20:42 +10:00
axel
a4a025b786
Allow multiple slashes in a wildcard to be used as a single directory separator
...
darcs-hash:20060221154738-ac50b-e4b35d3604d8e39d3aff7b8da38617272bd6e89e.gz
2006-02-22 01:47:38 +10:00
axel
328c3a39a1
Move _ shellscript function to it's own file
...
darcs-hash:20060221153701-ac50b-05cecdac1221e0abc709d9e9c1799faa7986fa78.gz
2006-02-22 01:37:01 +10:00
axel
5aa019a0b5
Fix off-by-one error resulting in truncated output from wcsndup fallback and halloc_wcsndup
...
darcs-hash:20060221144642-ac50b-9dcd77238bc4bd740bbda6e15ded793fad44c363.gz
2006-02-22 00:46:42 +10:00
axel
92aa99104a
Fix rare accidental ellipsisizing of strings that will actually fit in fish_pager
...
darcs-hash:20060221103435-ac50b-f46a08e29e7860886a357bc1c5d314b594793e68.gz
2006-02-21 20:34:35 +10:00
axel
6b544bc3c2
API documentation, code style cleanup, etc.
...
darcs-hash:20060220131146-ac50b-6ec3664e5e3eaefa2296a93d39014058df37fdf2.gz
2006-02-20 23:11:46 +10:00
axel
ea0005e16d
Move code for setting ls and grep colors to function definition files
...
darcs-hash:20060220130203-ac50b-feb426f6450a0bbd17cb9dacdca94d4d5b72c113.gz
2006-02-20 23:02:03 +10:00
axel
6901ad361d
Make fish continue parsing/executing a file if a command is not found
...
darcs-hash:20060220125524-ac50b-1f85e530cbbcb45988254c75cd45c11395c5cd27.gz
2006-02-20 22:55:24 +10:00
axel
b21cccf5f0
A flag got reversed, causing children to execute even if an IO redirection failed
...
darcs-hash:20060220014036-ac50b-43156940397e0535cfa9dd7e88d61e4ca4bab13b.gz
2006-02-20 11:40:36 +10:00
axel
7740035d14
Remove some ancient debug messages, drop two warnings, add some braces and other minor code tweaks
...
darcs-hash:20060219181932-ac50b-2d032e7a64257a6ca0db078ea9c81ae04a01120f.gz
2006-02-20 04:19:32 +10:00
axel
7dc3934997
Use variable name as index for tables when autoloading functions and completions in order to better handle changes on path variable values
...
darcs-hash:20060219170116-ac50b-8f617c6f8960660e6227827914dc910a78655c13.gz
2006-02-20 03:01:16 +10:00
axel
845e15876c
Minor edits, additional comments, etc.
...
darcs-hash:20060219015438-ac50b-b6346876460912f3c27d1bb4287aeab962260ab6.gz
2006-02-19 11:54:38 +10:00
axel
c4e7a7992f
Fix bug causing fish to occasionally reset line number for error reporting
...
darcs-hash:20060219011702-ac50b-c72b1f5ae56d3757c3fbfca002f1bc33c36a7660.gz
2006-02-19 11:17:02 +10:00
axel
43ab84397b
Make sure that command specific completions can handle input strings with wildcards reasonably well
...
darcs-hash:20060219011432-ac50b-89a73a3d414f2dbd8a213b851fcb1c494e022eae.gz
2006-02-19 11:14:32 +10:00
axel
0840c9248f
Give more detail in an error message
...
darcs-hash:20060218024346-ac50b-f26f6ef107fffa398b6ff61baff81914b998940a.gz
2006-02-18 12:43:46 +10:00
axel
dd79d75504
Move a few shellscript bits around
...
darcs-hash:20060218024145-ac50b-207ca782808ea8968cb38253c7bc2563350f38b2.gz
2006-02-18 12:41:45 +10:00
axel
7073f0b58b
Change translation file offsets in swedish translation, needed to avoid darcs hang
...
darcs-hash:20060218023559-ac50b-bf6f5802b7ab810a3a8167f92358c085e3f02401.gz
2006-02-18 12:35:59 +10:00
axel
15916bfbdc
Update build dependencies
...
darcs-hash:20060218023432-ac50b-9cfdc633f4b6834dea4324f429b1decca6d9e110.gz
2006-02-18 12:34:32 +10:00
axel
228fdbef5a
Use the right sources for generating translation strings
...
darcs-hash:20060218023332-ac50b-5a2cec156ad5c49d052f17cf14fd14e72e0aa137.gz
2006-02-18 12:33:32 +10:00
axel
7f7f8fb156
Fix broken call to source /fish/fish on startup
...
darcs-hash:20060217223236-ac50b-384ea2549a2bbf445842700e693f5edc8bf72023.gz
2006-02-18 08:32:36 +10:00
axel
2ae9735858
Add the LGPL license to the license section of the documentation - xdgmime is released under this license. Also add a few rulers, and make some other minor edits to the license section.
...
darcs-hash:20060217222051-ac50b-8fc2e6d4e32d0f7f67cde8ff475ec0e16f72ffa1.gz
2006-02-18 08:20:51 +10:00
axel
8ac1688c89
Allow backslash-escaping of newlines
...
darcs-hash:20060217164119-ac50b-6efd2491fb7f504ad26ca35b2a7421d24c61ec63.gz
2006-02-18 02:41:19 +10:00
axel
9cd2dbc9e7
Remove note about problem with ancient fish version
...
darcs-hash:20060217125341-ac50b-8f4dc873c8b7146cfdae00b62a139c0643e4156e.gz
2006-02-17 22:53:41 +10:00
axel
a74055bc33
Proper ordering on paths for dynamic loading - user stuff should override sysadmin stuff should overrtide default stuff
...
darcs-hash:20060217125318-ac50b-f74103958cf01103b351227ae561703ac96ebe95.gz
2006-02-17 22:53:18 +10:00
axel
e1d0b9370e
Minor edits in parse_util.c
...
darcs-hash:20060217125205-ac50b-f3cd1572eec966581730ee1983d06b64caac566f.gz
2006-02-17 22:52:05 +10:00
axel
5dfa28059e
Remove dropped fish_function.fish from Makefile
...
darcs-hash:20060217103540-ac50b-5ea95b93bd93512100e652e2cd8146d4f2fdbf58.gz
2006-02-17 20:35:40 +10:00
axel
7ead45d899
More missing files
...
darcs-hash:20060217103214-ac50b-f0f65a28d574e6a7258148fd1162677be287e99c.gz
2006-02-17 20:32:14 +10:00
axel
5c9ac72c19
Add missing files
...
darcs-hash:20060217103018-ac50b-9097f60908d06d89f235d969719fe654117b423e.gz
2006-02-17 20:30:18 +10:00
axel
343cafef34
Redo installation file structure, move lots of things to $PREFIX/share/fish
...
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
2006-02-17 20:13:39 +10:00
axel
95a01f3c8f
Use plgin support in output.c to make buffered pager output - noticably faster printing in many situations
...
darcs-hash:20060216142159-ac50b-2c31025be7d12fcc32f4ba352b59ea4cc3cc1387.gz
2006-02-17 00:21:59 +10:00
axel
cfa367f14c
Finish support for plugging in a new output function for output.c
...
darcs-hash:20060216142100-ac50b-06db798debb56c7640f7ffec0bc32c8ca7b013e5.gz
2006-02-17 00:21:00 +10:00
axel
94cae410f3
Move the move_cursor and writeb functions to output.c, and make the output function used by output.c configurable
...
darcs-hash:20060216134025-ac50b-360d4816ee2c3f2ffdc8e5660502cb97b31d699e.gz
2006-02-16 23:40:25 +10:00
axel
cc69afc4fe
Fix bug in fish causing occasionally incorrect signal handlers
...
darcs-hash:20060216133632-ac50b-f24c049830f9c6deca50aca640189ad3f87b630a.gz
2006-02-16 23:36:32 +10:00
axel
777a559e12
Use env to work around path issues on the shebang line for the seq fallback implementation
...
darcs-hash:20060216121617-ac50b-6c7e34329a5ca8f3cd6756f1860fa10693db21e4.gz
2006-02-16 22:16:17 +10:00
axel
0427ccbb55
Fix invalid destruction order on exit
...
darcs-hash:20060215222513-ac50b-f3b489568e4bad3532c36f9c66a3c0d61352cd5b.gz
2006-02-16 08:25:13 +10:00
axel
f9a4699147
Add swedish translation of function descriptions
...
darcs-hash:20060215180031-ac50b-f21e471c178610b7a2912f82b3d46b46f76d350c.gz
2006-02-16 04:00:31 +10:00
axel
e6e287ae1f
Make function descriptions for dynamically loaded functions translatable
...
darcs-hash:20060215175925-ac50b-5dc52c615650779771a6c4a3c5d006b72dbca67d.gz
2006-02-16 03:59:25 +10:00
axel
143602e5f6
Minor edits
...
darcs-hash:20060215024900-ac50b-51863879c32660d9787db706c34fef10aa4c30c2.gz
2006-02-15 12:49:00 +10:00
axel
1c2d3583e7
Drop fuction from man completion file, already lives in it's own file
...
darcs-hash:20060215024822-ac50b-dbb1e3769f0b3101f634d4bf5f5e530aacc1dfda.gz
2006-02-15 12:48:22 +10:00
axel
e58110da2c
Reset list of loaded completion files when running complete_destroy. Otherwise completions will not get propely loaded on language changes.
...
darcs-hash:20060215024644-ac50b-d259cdac14dccb55309a4702683f1b881636e9ac.gz
2006-02-15 12:46:44 +10:00
axel
0d1683edc8
Add missing function prototype in parse_util.h
...
darcs-hash:20060215022415-ac50b-a6510213a3559c7bd6b944bbe87c739faaef4792.gz
2006-02-15 12:24:15 +10:00
axel
c94b9e504d
Remove the rather stupid -y option for complete, which loads another commands completions. Mostly the same results can be had with fewer bugs and corner cases vy using the new dynamically loaded functions.
...
darcs-hash:20060215022228-ac50b-85614ed684f73460d43543a579ff2c7e7914efeb.gz
2006-02-15 12:22:28 +10:00
axel
8be3bf3e5d
Add support for checking current filename and current line nuber to status builtin
...
darcs-hash:20060214195747-ac50b-77b6aba42c99da4f79ea500c47cc00bba12ec663.gz
2006-02-15 05:57:47 +10:00
axel
3e165297ce
Add support for sending arguments whenusing the source builtin
...
darcs-hash:20060214195636-ac50b-511c211368103df6923d63cef99ce20a88d31be3.gz
2006-02-15 05:56:36 +10:00
axel
7ac922def6
Fix timestap checking bug when autoloading scripts
...
darcs-hash:20060214195517-ac50b-3d084f351c5d1f4f11afb4fc1c706c843de98da1.gz
2006-02-15 05:55:17 +10:00
axel
f12127c775
Add missing translation string
...
darcs-hash:20060214114804-ac50b-1ce10e7613ebec38a283cd6f6f8ad08397cec529.gz
2006-02-14 21:48:04 +10:00
axel
73d84fe136
Escape semicolons and other chars that have syntactic meaning in various shell command situations
...
darcs-hash:20060214114739-ac50b-17616bf01a0504041c0d29ee9428abd8a9f9ad3a.gz
2006-02-14 21:47:39 +10:00
axel
c595448f9c
Add missing #define, needed by new fish_pager code
...
darcs-hash:20060214114631-ac50b-39756b670fd0ab1f5a6bd067ba2ff3f9d6f82fc2.gz
2006-02-14 21:46:31 +10:00
axel
5a2aeb1511
Swedish translation checkin
...
darcs-hash:20060214113926-ac50b-86926878d127405be8a3acd8cf9ac36a56ea432e.gz
2006-02-14 21:39:26 +10:00
axel
5fb9d9aa38
Fix clash in usage of unicode private use area
...
darcs-hash:20060214113514-ac50b-5160e3b7ac9401a7ef198121d39e33225df4b766.gz
2006-02-14 21:35:14 +10:00
axel
8258961c29
Fix minor display bugs and a memory leak in fish_pager
...
darcs-hash:20060214113347-ac50b-302a7da47f9c07af3acc9a2dcc5c8007127fc3a2.gz
2006-02-14 21:33:47 +10:00
axel
0dab94a54c
Group multiple switches with common description together when printing completions
...
darcs-hash:20060214000823-ac50b-2bde1ac964baf12a515d763a076434757ac9fd21.gz
2006-02-14 10:08:23 +10:00
axel
3097f71abd
Initial checkin of german translation
...
darcs-hash:20060213215118-ac50b-7981b89adff210e5b53cc18cdc0ad6f1c865cd83.gz
2006-02-14 07:51:18 +10:00
axel
ea5e1b70db
Fix memory leak and missing error check in dynamic function lookup
...
darcs-hash:20060213214416-ac50b-2bd8532aed600c06234e6fce500c737fcb415a5c.gz
2006-02-14 07:44:16 +10:00
axel
6b393d35a9
Spelling fixes from HJB
...
darcs-hash:20060213213659-ac50b-024e99d5c3a56d1c7308bf5cc291e032aa65bc0e.gz
2006-02-14 07:36:59 +10:00
axel
a5dde6021c
Change a few chars to be long
...
darcs-hash:20060213111023-ac50b-5ad5ddf9beb72117fc1dc81c048a83e5480bc510.gz
2006-02-13 21:10:23 +10:00
axel
a015472739
Remova a few calls to free that are handled by halloc now
...
darcs-hash:20060213110929-ac50b-95bba1b70840ef16e45f3876c5d0521a51b90561.gz
2006-02-13 21:09:29 +10:00
axel
6affa4452b
Check for translation strings in function files
...
darcs-hash:20060212222406-ac50b-10424c1daeb9e81054c87bbf8f7839da72cb05bb.gz
2006-02-13 08:24:06 +10:00
axel
7ebfa380dd
Variable used for filenmae length was accidentally set to static
...
darcs-hash:20060212222313-ac50b-1893f4fbe52a8c72ebc8332b1e575c1b8a2b31d5.gz
2006-02-13 08:23:13 +10:00
axel
370336e7c7
Fix various minor misses in moving of shellscript functions
...
darcs-hash:20060212222205-ac50b-d7bccc4c1e1dd752ca40560e81309bb37bb4dca8.gz
2006-02-13 08:22:05 +10:00
axel
bad4269dc9
Remove trailing periods from descriptions
...
darcs-hash:20060212221918-ac50b-d2310f6a166b585b242a9b548b1d1f890cac2e03.gz
2006-02-13 08:19:18 +10:00
axel
effe6f47a3
Minor hallocifications
...
darcs-hash:20060212190301-ac50b-c15b9a8c6c2897189c4343946d9bd115eefb4972.gz
2006-02-13 05:03:01 +10:00
axel
7eb3a5a17d
Allow backslash of quotes within quotes
...
darcs-hash:20060212161331-ac50b-c25affaa4b18e1654dab3d08debafa95017009ea.gz
2006-02-13 02:13:31 +10:00
axel
b6cd723eb7
Fix a few compiler warnings, add halloc debug output on exit if HALLOC_DEBUG is defined and other minor tweaks
...
darcs-hash:20060212131846-ac50b-128685d1c043697768be70631c736567544abf2c.gz
2006-02-12 23:18:46 +10:00
axel
a2cd8c8a8d
Move a few more shellscript functions to their own files
...
darcs-hash:20060212131421-ac50b-861f8941af76cf9a1e6fb7da2ac7f33795fab272.gz
2006-02-12 23:14:21 +10:00
axel
3b03bd6a10
Check if curses-string 'flash_screen' is set before using it in fish_pager
...
darcs-hash:20060212131253-ac50b-39c03e4223e66230c9c76a59bc95eeadc38637c9.gz
2006-02-12 23:12:53 +10:00
Nicholas Pilon
6caff2d85d
svn completions
...
Command-line completions for svn. This includes some tweaks to the cvs completions file, to move a common function out into fish_complete.fish.
darcs-hash:20060210004314-494f2-c12a77084499cbc4216e8c5603ae4fadfb6b384c.gz
2006-02-10 10:43:14 +10:00
axel
eeaa241be8
Optimizations of how variable expansion implementation
...
darcs-hash:20060212112930-ac50b-9b8bb640ef1a5bd14230ecd276167a80d6d986c9.gz
2006-02-12 21:29:30 +10:00
axel
8fdb4d2a17
Define fish_function_path at the top of the first init file to improve preformance (each non-existing variable causes a universal variable barrier)
...
darcs-hash:20060212112349-ac50b-51956f701d11ae897c560617e4b476fb51b576c7.gz
2006-02-12 21:23:49 +10:00
axel
7c7f744b4c
Add %o, %x and %X formats to *wprintf fallback implemnentation
...
darcs-hash:20060212112030-ac50b-1e3153c25dca3d2e12a8eb0e65da29bf70fa0d2e.gz
2006-02-12 21:20:30 +10:00
axel
5718ea41df
Add comment in manual about array base index
...
darcs-hash:20060211001546-ac50b-cebbcd5ca6709c8370433abf366c0aa318ec48ec.gz
2006-02-11 10:15:46 +10:00
axel
20c83ba605
Optimize the halloc implementation so that mutiple calls to halloc can be satisfied by a single malloc, also add wcsdup and wcsndup workalikes using halloc
...
darcs-hash:20060211001317-ac50b-c9cf234c334b4d697fe1251c21013c8ec7f7b0a1.gz
2006-02-11 10:13:17 +10:00
axel
e9e32f980b
Re-add check for presense of ncurses.h header file
...
darcs-hash:20060211001050-ac50b-434f0d6ea015325f75f27aaebbc54d4b81f18a2c.gz
2006-02-11 10:10:50 +10:00
axel
4b2cc49aaa
Registered wrong string with halloc in expand_one, causing potential crash.
...
darcs-hash:20060210003539-ac50b-523cbc848435b7f2b4239cc83da897cc65c00c1c.gz
2006-02-10 10:35:39 +10:00
axel
28f65c07b0
Use consistent quoting in wgetopt
...
darcs-hash:20060209215120-ac50b-4dda64a6791be33b6493899714485d55372ca8ea.gz
2006-02-10 07:51:20 +10:00
axel
18279c3867
make sure fish_tests is deleted on make clean
...
darcs-hash:20060209215101-ac50b-48d6e4ffa276e55e0ab896040a7070294061a4ce.gz
2006-02-10 07:51:01 +10:00
axel
d1c9bca2e9
Another halloc:ification of fish. Halloc has been extended to allow registering function calls, this has allowed the creation of halloc-handled arraylists, stringbuffers, etc. More job parsing halloc-ification has reduced the error handling code to only a shadow of it's former self
...
darcs-hash:20060209155020-ac50b-e119c5293ce2368e252cfc01b98ab7c629fdd678.gz
2006-02-10 01:50:20 +10:00
axel
49973b85da
Add source documentation for functions in parse_util.h
...
darcs-hash:20060208184737-ac50b-e86de902a966621501eea1b706b181bcda91fb61.gz
2006-02-09 04:47:37 +10:00
axel
47373c4f68
Fix bug where recursive function loading crashed fish
...
darcs-hash:20060208184437-ac50b-c6b2001fbab07ac9561ba7aa941fbab0d93d7cd7.gz
2006-02-09 04:44:37 +10:00
axel
cbf1dbaa2e
Add missing fish_tests file to make clean
...
darcs-hash:20060208180342-ac50b-a4cf2411534c8c1bd3db335152d4615f951529c8.gz
2006-02-09 04:03:42 +10:00
axel
fdaa79416a
Make sure dynamically loaded functions are completable, even if they have not yet been loaded
...
darcs-hash:20060208173718-ac50b-40c93b82f3b8a717d220642e22c4b4005d8871d0.gz
2006-02-09 03:37:18 +10:00
axel
7c3700c190
Fix crash bug caused by trying to free halloc:ed memory
...
darcs-hash:20060208153904-ac50b-f8b3d2aadb12fa1e6aca0c4ca7a6046a09a0450d.gz
2006-02-09 01:39:04 +10:00
axel
a0e1f9113e
Do not use CDPATH when completing arguments starting with a '.'
...
darcs-hash:20060208152909-ac50b-650092242a4d9454db6cf4d73858c137040db4c5.gz
2006-02-09 01:29:09 +10:00
axel
133b682793
New wreaddir function, wide character version of readdir
...
darcs-hash:20060208145847-ac50b-0e250edb67dd095e90054ed55f88a2638ba9b02a.gz
2006-02-09 00:58:47 +10:00
axel
824f4ee566
Make the __fish_describe_command function strip spaces and newlines
...
darcs-hash:20060208102236-ac50b-6df5b077a09eda9180a1405305e12fd15967eb31.gz
2006-02-08 20:22:36 +10:00
axel
1cb9b65744
Fis function signature for a few functions in parser.c
...
darcs-hash:20060208102203-ac50b-5e81c6580302ca3a1cee0d03f179b5d75ff61be3.gz
2006-02-08 20:22:03 +10:00
axel
35dde5de15
Move more functions to autoload
...
darcs-hash:20060208102043-ac50b-4e26615523a6b9528c2ea4768f41ad1b2e1c4a0f.gz
2006-02-08 20:20:43 +10:00
Nicholas Pilon
4d9bb19467
cvs completions
...
Better completions for cvs. Covers most flags in the manual, except for some for history that I couldn't write good descriptions for. Descriptions could probably use some tweaking, but the basic structure should be much better than what we had before.
darcs-hash:20060208023146-494f2-bea009421c161257f09c0f53c52ab1ee116fc3dc.gz
2006-02-08 12:31:46 +10:00
axel
2555353161
Make 'exit' work in even handlers
...
darcs-hash:20060208092429-ac50b-f88534a423dc194fdb6453d66b5d4cc7733e54fb.gz
2006-02-08 19:24:29 +10:00
axel
73a9c8bcb8
Autoloaded functions
...
darcs-hash:20060208092005-ac50b-8e784f79a4e158c8c15b553fad85002dccc7bd03.gz
2006-02-08 19:20:05 +10:00
Nicholas Pilon
47b652c76e
Awk Indent Fix
...
Indented the awk script for command description.
darcs-hash:20060208004201-494f2-2f08b1b7999c690bd1815b6c1702529c932b364d.gz
2006-02-08 10:42:01 +10:00
axel
0b044b785a
1.20.2
...
darcs-hash:20060207115300-ac50b-036d087b1f3493d9ecd7fd1c31d31be5c77c26b6.gz
2006-02-07 21:53:00 +10:00
axel
ddff3561e3
Minor tweaks to expand_Variables, fixes rare memory leak
...
darcs-hash:20060207114857-ac50b-9b2ecf31106678ec35d888066162bf14605c6003.gz
2006-02-07 21:48:57 +10:00
axel
c4dfdfa849
Fix various uses of old set syntax
...
darcs-hash:20060206184145-ac50b-5140cacddec9da734d4ef9a38f053259ea1f479a.gz
2006-02-07 04:41:45 +10:00
axel
08251dcc98
Only hide /private directories under OS X
...
darcs-hash:20060206181717-ac50b-043020858020be5dc55c34240329916696f5892a.gz
2006-02-07 04:17:17 +10:00
axel
57d53c70e3
Further halloc:ification if fish
...
darcs-hash:20060206181101-ac50b-db0aac307a81e7f0677acd15a9f38ff8c7ff36d2.gz
2006-02-07 04:11:01 +10:00
axel
4e77ee4516
Fix bug that would accidentally disable interactive mode on OS X when writing the titlebar message on some systems. Found by Nick Pilon
...
darcs-hash:20060206152015-ac50b-63d86ca778c240012bbe1e0d28062591a10f3a54.gz
2006-02-07 01:20:15 +10:00
axel
6291be256b
Second checkin of halloc changeover. Make the argv array, but not it's contents, be allocated using halloc. Also make list_to_char_arr use halloc
...
darcs-hash:20060206151817-ac50b-e8fd4cff831ee975c5bf3855d9ecfc15a3fb9215.gz
2006-02-07 01:18:17 +10:00
axel
e756f7d619
Minor code cleanup, don't use expand_escape and expand_unescape any more
...
darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
2006-02-07 01:15:52 +10:00
axel
cf3d30d4e4
Lazily load history file
...
darcs-hash:20060206150810-ac50b-f4e5fe9312aa898fa025d2874444c4fc5724c309.gz
2006-02-07 01:08:10 +10:00
axel
585191310b
First checkin of transition to using a new hierarchical memory allocator, some of the memory associated with a job is covered
...
darcs-hash:20060206142502-ac50b-ba1c9a4f64ea0f44f65303a125f9ddae5bd31e2f.gz
2006-02-07 00:25:02 +10:00
axel
530bbfc9ac
Make sure line counting doesn't move past end of string
...
darcs-hash:20060206134757-ac50b-2e80cf3ec104f7b40babef5260fb1d5435dbc74d.gz
2006-02-06 23:47:57 +10:00
axel
a521fa4165
Make execution of functions use wcsdup to make sure no memory errors happen if a function removes itself
...
darcs-hash:20060206134701-ac50b-27be7fe76512d6ac4313eea79b45a9c11083bccd.gz
2006-02-06 23:47:01 +10:00
axel
0f76f77173
Make sure interactive mode is of when firing events
...
darcs-hash:20060206134532-ac50b-93f8a7cf7be2a82a1222fb520541b08bef33baa4.gz
2006-02-06 23:45:32 +10:00
axel
c743ebf211
Add long style option support for prevd/pushd, also add a few missing translation strings
...
darcs-hash:20060206112453-ac50b-271b830b35176d1ff93d9d9fb6c30343b4f1b4df.gz
2006-02-06 21:24:53 +10:00
Nicholas Pilon
04ce9ecf16
Darwin Open
...
Tweak the open function to use /usr/bin/open on Darwin, and mimedb on everything else.
darcs-hash:20060206012623-494f2-e4626c03895065837f0c8981482d5b16313dfc08.gz
2006-02-06 11:26:23 +10:00
Nicholas Pilon
bde5921258
Describe Command awk-ification
...
Changed __fish_describe_command to use awk instead of sed, and handle 'alternative' names, as used by OS X. (And possibly some BSDs?)
darcs-hash:20060205221805-494f2-85a48edd8e6fbcfc1dcd28079e4adfa52a0466d0.gz
2006-02-06 08:18:05 +10:00
Nicholas Pilon
89ae02976f
Completion: System Commands
...
Tiny tweak to sed expression to get descriptions for system commands too.
darcs-hash:20060205194830-494f2-1f1df9c2d4d1d2302e34df113c4919078388aa1a.gz
2006-02-06 05:48:30 +10:00
Nicholas Pilon
d8382acc74
PWD Tweaks
...
Tweaked prompt_pwd and pwd to omit the leading /private from some system directories on OS X.
darcs-hash:20060205194908-494f2-936d1346a4cd118f763bea24495edf9829b59748.gz
2006-02-06 05:49:08 +10:00
axel
749c44fe27
Minor edits of builtin.c, some reindentation and code comment improvement
...
darcs-hash:20060205212050-ac50b-70c1b34208b442b5670fde2c6655e09c4480c7e7.gz
2006-02-06 07:20:50 +10:00
axel
88ec924323
Another set of spelling corrections from HJB
...
darcs-hash:20060205211835-ac50b-d08f069c3307ec7785b038f157c919416c6bb8b7.gz
2006-02-06 07:18:35 +10:00
axel
7ff069a2e1
Make LS_COLORS non-univerasl, and contain many more filetypes
...
darcs-hash:20060205131422-ac50b-521f4764e463acab1fc0414f58e73af55bd62c5c.gz
2006-02-05 23:14:22 +10:00
axel
8e05c8bee8
Tiny performance tweaks
...
darcs-hash:20060205131335-ac50b-5b1895d50334dfe9e375ab60e723d1b62b712707.gz
2006-02-05 23:13:35 +10:00
axel
0fa3c15114
Tweaks to some source comments
...
darcs-hash:20060205131253-ac50b-c3ad91b280a73fc8ec318ca6c285de773ffecfc6.gz
2006-02-05 23:12:53 +10:00
axel
58667673d9
Remove duplicate line counting code. Make the remaining implementation have a two element cache.
...
darcs-hash:20060205131035-ac50b-885c6ba87a6d16aa48dfa7ee4608ae8891c71724.gz
2006-02-05 23:10:35 +10:00
axel
a53a9aa293
Clean up init code in builtin.c
...
darcs-hash:20060205130840-ac50b-1a2b29671b7d8c557ebd284513c535e082ee5cf3.gz
2006-02-05 23:08:40 +10:00
axel
09402223e8
Minor edits to the INSTALL file
...
darcs-hash:20060204131412-ac50b-3713bdae731b4853e598930c9823b950d3039a72.gz
2006-02-04 23:14:12 +10:00
axel
4f947015d2
Minor tweaks, including a few small performance improvements
...
darcs-hash:20060204130914-ac50b-331e83fd8fe472545fce60fc4b76bb8300526d64.gz
2006-02-04 23:09:14 +10:00
axel
9f3a7543aa
Remove some unneeded debug messages
...
darcs-hash:20060204115812-ac50b-b756b9d1257be714fae52f713a48a360903437dd.gz
2006-02-04 21:58:12 +10:00
axel
7ae6805698
Minor optimization - only set locale if we actually want to output something in set_color
...
darcs-hash:20060204114256-ac50b-5ec72de2f15d359b8edb330ae6c5f05c4c54e4b5.gz
2006-02-04 21:42:56 +10:00
axel
1401c44a79
Don't print full stack trace for failiures in cd in interactive mode
...
darcs-hash:20060204113650-ac50b-465dd4b3fb27e8d90127231cccdae29ac7b8fd20.gz
2006-02-04 21:36:50 +10:00
axel
40ea5987b2
Add /opt and /opt/local to list of possibly interesting directories for PATH and library path
...
darcs-hash:20060204113619-ac50b-97b1e6b3c2cf32fa12bf42486f9249319f4a531b.gz
2006-02-04 21:36:19 +10:00
axel
6920f039eb
Minor optimization to the prompt command
...
darcs-hash:20060204113512-ac50b-4604692cac17972b379a7f40599a30e0bbfc3f89.gz
2006-02-04 21:35:12 +10:00
axel
ff00354305
Make sure completions aren't run in interactive mode
...
darcs-hash:20060204113433-ac50b-454170ab12fbbcec9cfb6615910b611c680fcc3d.gz
2006-02-04 21:34:33 +10:00
axel
f9c63a142b
Don't print errors if parent can't give child control of terminal during exec(), since child may have already exited
...
darcs-hash:20060204113320-ac50b-385b600789e7d1aee2a15a69658e9e0b4af838d0.gz
2006-02-04 21:33:20 +10:00
axel
3733fe3997
Make children set their own process group instead of waiting for their parent to do it for them
...
darcs-hash:20060203215031-ac50b-d00ce5c09b469edd968618a4bba4b5c1f7dc075c.gz
2006-02-04 07:50:31 +10:00
axel
7e3128f097
Minor comment edits in complete.c
...
darcs-hash:20060203213006-ac50b-86ccb93b4c984ab0d29423b8a63269bd1e161410.gz
2006-02-04 07:30:06 +10:00
axel
727472d5bd
Correct broken test for gettext command
...
darcs-hash:20060203212939-ac50b-8a99c32124c6b643443bc7295df91d6f0c903247.gz
2006-02-04 07:29:39 +10:00
axel
3616a23bdd
Add fink and pkgsrc /bin directories to PATH if they exist
...
darcs-hash:20060203212901-ac50b-94e02eea218c2f40542efd62060a74796cdbe363.gz
2006-02-04 07:29:01 +10:00
axel
f13262d87e
Move parts of the command description lookup code to a shellscript function
...
darcs-hash:20060203172736-ac50b-95430eb4ca0d7ee2859237e8543a4e0883349fdb.gz
2006-02-04 03:27:36 +10:00
axel
f71cd494de
prompt and terminal functions should not be run in interactive mode
...
darcs-hash:20060203093426-ac50b-5e6bf8382c6a5fb4b409439eddf612fffa9c752e.gz
2006-02-03 19:34:26 +10:00
axel
264c065006
Remove old unneeded code that makes fish_pager wait to become owner of the terminal
...
darcs-hash:20060203093314-ac50b-537c521093e85a110f822cde37b022d7706e8cb0.gz
2006-02-03 19:33:14 +10:00
axel
07c89c71d8
Fix broken test for realpath taking null as a second argument
...
darcs-hash:20060203004145-ac50b-5357d5f203fa66d5aaef9059e3f03866d2e7f67d.gz
2006-02-03 10:41:45 +10:00
axel
19c67db731
Make hostname completion code more robust
...
darcs-hash:20060203004114-ac50b-54fda8fe89649d404cd6981d7783e18f5092f217.gz
2006-02-03 10:41:14 +10:00
axel
294da72d11
Make string conversion in wutil.c handle special 'broken encoding' sequences
...
darcs-hash:20060203004028-ac50b-01fbe7b22aece08a7a4d1afe84affd80ce944d40.gz
2006-02-03 10:40:28 +10:00
axel
847b6daa34
Minor fix for completions for status builtin
...
darcs-hash:20060203003935-ac50b-fd3e5b642cdca5631f36942309b017ebbaa63cb2.gz
2006-02-03 10:39:35 +10:00
axel
807a0b8dbd
Improved error checking in main()
...
darcs-hash:20060203003855-ac50b-d4f5c4e183dc1b38bbfe15bf44be746bb188ef10.gz
2006-02-03 10:38:55 +10:00
axel
c3a1473419
Add fish switch to enter login mode
...
darcs-hash:20060203003754-ac50b-99961eb6635beb0700fbd542fc7ff979ab1ceeb9.gz
2006-02-03 10:37:54 +10:00
axel
29707e66e6
Update INSTALL file to be less redundant and contain a bit of information about compilers
...
darcs-hash:20060202153401-ac50b-502136b1a0e1c5117a34cc1e105a718d6ea8884b.gz
2006-02-03 01:34:01 +10:00
axel
a97b652046
Minor source documentation edits
...
darcs-hash:20060202153330-ac50b-63ad1ac0f20b94f6015e472b52ac32040a942280.gz
2006-02-03 01:33:30 +10:00
axel
91b46b305d
Make error message in contains function translatable
...
darcs-hash:20060202153304-ac50b-69fc557308b7ae7eb3a3d8d658e6f7c871aa68cd.gz
2006-02-03 01:33:04 +10:00
axel
fbe66f54aa
Make completion of subsommands for time and sudo a bit better at differing between command and subcommand
...
darcs-hash:20060202153151-ac50b-d943052af165dc345366b49a5db413f635a2f28a.gz
2006-02-03 01:31:51 +10:00
axel
ff03fe7e41
Make autoconf detection for have__nl_msg_cat_cntr slightly more robust
...
darcs-hash:20060202152939-ac50b-9b38585f8c1d1855d08cc7fd1a75e51ff54a9b0e.gz
2006-02-03 01:29:39 +10:00
axel
06fd1aa9f8
Make stack traces print absolute filenames
...
darcs-hash:20060202152356-ac50b-9e6ab31c03d5f49824ccca7eee3b8e62d66b0009.gz
2006-02-03 01:23:56 +10:00
axel
5942a6d6c1
Don't reset history on cursor movement
...
darcs-hash:20060201155546-ac50b-975730e850775a9f47e15a65c9c5959a335edc93.gz
2006-02-02 01:55:46 +10:00
axel
a781736fb7
Swedish translation checkin
...
darcs-hash:20060201155516-ac50b-aeeebdc296c8684325a97edf92ad360f7675a981.gz
2006-02-02 01:55:16 +10:00
axel
feabc032f6
Generalize the stack tracing code, add support for showing events and command substitutions in stack traces
...
darcs-hash:20060201154911-ac50b-707358ea50231661c05a92b40ca109ec801081e6.gz
2006-02-02 01:49:11 +10:00
axel
9f9f7bf95a
Minor edits to fish documentation
...
darcs-hash:20060201134029-ac50b-c80a9dadb4960dfbba255ca046682f2798621cf2.gz
2006-02-01 23:40:29 +10:00
axel
02f638ad2b
Minor spelling fixes from Hermann J. Beckers
...
darcs-hash:20060201122912-ac50b-88d59b8c0e94e8a2db5b1a6f94b4fa7f25c7859e.gz
2006-02-01 22:29:12 +10:00
axel
e95effb043
Readd the terminal flag for jobs, as not all jobs under job control should be given the terminal.
...
darcs-hash:20060201122715-ac50b-7efc499e8905e9898c214816d0a3468e077c7005.gz
2006-02-01 22:27:15 +10:00
axel
7a1a5a6f01
Swedish translation checkin
...
darcs-hash:20060131220043-ac50b-f4885e4fb81bea7b84b0ea85669f813f751b9903.gz
2006-02-01 08:00:43 +10:00
axel
bfefe7f262
Add completions for the status builtin
...
darcs-hash:20060131215933-ac50b-330b6cb15406ee62006d0dcd3b9ae4cf70ee1e68.gz
2006-02-01 07:59:33 +10:00
axel
44e8dcd331
Add not on commandline behaviour when using complete -C to documentation
...
darcs-hash:20060131214646-ac50b-dc7b1510ceefc7645061d91bbe5022c09c209a34.gz
2006-02-01 07:46:46 +10:00
axel
3580811f8e
Minor documentation correction regarding how to use io redirection to close a fd
...
darcs-hash:20060131214551-ac50b-0b687b3279d3a9c94338092bff1b0a8001e9566d.gz
2006-02-01 07:45:51 +10:00
axel
35cf20640f
Add mention of the new -C switch for complete in the documentation
...
darcs-hash:20060131214426-ac50b-16a1b18cf8f5c05e59e1b338dde1c13089321bac.gz
2006-02-01 07:44:26 +10:00
axel
eff36003db
Remove fallback version of the _nl_msg_cat_cntr symbol. We check for it at configure-time and only use it if it exists
...
darcs-hash:20060131214303-ac50b-c13a7addd8f35e0adce72213f5aa6dc2a35b7a73.gz
2006-02-01 07:43:03 +10:00
axel
0eab394c24
Fix for how fish parses the double quote character
...
darcs-hash:20060131214201-ac50b-d921c2c74fa40723ae064a90d445258aa41ec94f.gz
2006-02-01 07:42:01 +10:00
axel
028e1f36a1
Improve the status builtin
...
darcs-hash:20060130195310-ac50b-5da6881a847170242be56555646bbf037218d545.gz
2006-01-31 05:53:10 +10:00
axel
f59e9baab9
Rename the 'terminal' flag to 'job_control', make sure fg and bg only considers jobs under job control and make it configurable which jobs are put under job control using the status builtin. Also add an option to the status builtin to print a stack trace.
...
darcs-hash:20060130175426-ac50b-46fb79797284cb600c67cb19462b53761446f00a.gz
2006-01-31 03:54:26 +10:00
axel
1c6f685522
Minor code tweaks
...
darcs-hash:20060130165800-ac50b-8fa4a7ff78365497c5d03d6c7643d5206f41de37.gz
2006-01-31 02:58:00 +10:00
axel
c8a36c9889
Autoconf tweaks to make library detection more robust
...
darcs-hash:20060130165706-ac50b-e7685a85f07811815fb01ac3b79609ea7f0a7786.gz
2006-01-31 02:57:06 +10:00
axel
521d09b6d0
Add support for calculating completions for arbitrary commands through the 'complete' builtin
...
darcs-hash:20060130165150-ac50b-5e2ef3bb0298dd5e1a5d6fbdade314cc73ef36f3.gz
2006-01-31 02:51:50 +10:00
axel
3efb0bf5cf
Fix bug that caused shellscript functions in pipelines that don't have any output to never be properly removed
...
darcs-hash:20060129220414-ac50b-8c26e83933a73ef146c28bed020a6a2dfeca425f.gz
2006-01-30 08:04:14 +10:00
axel
003c4d776f
Display use of . (source) builtin in stack traces
...
darcs-hash:20060128113440-ac50b-6556097eb766cc7561a3d30ef994bc913181fe65.gz
2006-01-28 21:34:40 +10:00
axel
00dea8a082
Optimize the fish_prompt function
...
darcs-hash:20060128102551-ac50b-58580c29fd9537e502bacaad7949433010b5a04b.gz
2006-01-28 20:25:51 +10:00
axel
7f195b2f23
Swedish translation checkin (small)
...
darcs-hash:20060128022149-ac50b-e4089e5517b80ea05aa2d1e2597fc83fc346feb4.gz
2006-01-28 12:21:49 +10:00
axel
ecc2fbca98
Minor documentation tweaks
...
darcs-hash:20060128022118-ac50b-555ebb17d4f43692a5f363a085dcbcf57aa69111.gz
2006-01-28 12:21:18 +10:00
axel
631acd529d
Fix typo in sudo completions
...
darcs-hash:20060128022054-ac50b-8d859c4481c34c5830e9b5fa9e436e165160547e.gz
2006-01-28 12:20:54 +10:00
axel
369f1709be
Misc init-files cleanup, including making sure various variables are function-local
...
darcs-hash:20060128022022-ac50b-3a9fabe385f53559dd9e0bb5d8f9994d833ced1d.gz
2006-01-28 12:20:22 +10:00
axel
1505cc3d81
Add comment in documentation for set builtin about not allowing switches after non-switches
...
darcs-hash:20060128021933-ac50b-db340075e9a57b41a91d6b64d56d9b5579185254.gz
2006-01-28 12:19:33 +10:00
axel
78ae6d3bea
Check for gettext in seq fallback implementation
...
darcs-hash:20060128021846-ac50b-7c11eea694e5c3b87e00508fbeaedc9dcd163726.gz
2006-01-28 12:18:46 +10:00
axel
ea81321ccb
Add translation support to wgetopt library
...
darcs-hash:20060128021740-ac50b-f670531d3d79cb8070756669f83f4e8b25233a0a.gz
2006-01-28 12:17:40 +10:00
axel
1977d3beb3
Add support for correctly handling illegal character strings
...
darcs-hash:20060128020329-ac50b-d3499e6ff9108cef25bf7e00f39bbe1476896e07.gz
2006-01-28 12:03:29 +10:00
axel
285984196d
More spelling fixes from Hermann J. Beckers
...
darcs-hash:20060128003459-ac50b-af346d3abc52bf1bb4de43cbbaa3d87b3b7264eb.gz
2006-01-28 10:34:59 +10:00
axel
5f8e6c85e4
Small fixes for emerge completions, sent by Mike Auty
...
darcs-hash:20060127082639-ac50b-881d00da4712a2d149618c07356c8d711bf55ac9.gz
2006-01-27 18:26:39 +10:00
axel
e01ccb14af
shellscript functions should use the help command to display help
...
darcs-hash:20060126173437-ac50b-69c03761554180467f741a9597205fab6c823378.gz
2006-01-27 03:34:37 +10:00
axel
86b7ae6d21
1.20.1
...
darcs-hash:20060126163046-ac50b-483c77663467060a13015bcee755f708a86157e9.gz
2006-01-27 02:30:46 +10:00
axel
bc42309dd8
Minor build fix
...
darcs-hash:20060126163002-ac50b-7766f42b8b3807a17577ed78819ab947ceb66e44.gz
2006-01-27 02:30:02 +10:00
axel
877b602d6b
Fix bug in debian specific kill completions
...
darcs-hash:20060126160119-ac50b-1d1b5c248753f4c0ac77a838ea36eeb87473dbe9.gz
2006-01-27 02:01:19 +10:00
axel
37eb6c340d
Make it possible to create zero length environment variable arrays without using the ENV_USER flag
...
darcs-hash:20060126154823-ac50b-21d0bdbd367289723cdda355cf6465264df565cf.gz
2006-01-27 01:48:23 +10:00
axel
7cd98a670b
Fix glitches in stack trace
...
darcs-hash:20060126154722-ac50b-0d44e98b6d98e3b42f60f66f5bfa2c5f97ea2bd8.gz
2006-01-27 01:47:22 +10:00
axel
db0eccdc86
Checkin of swedish translations and some smaller changes to the emerge completion descriptions
...
darcs-hash:20060126151717-ac50b-7c8758dadf971f3cc25facb69176f6b6a7d683a4.gz
2006-01-27 01:17:17 +10:00
axel
0f10a3a277
Small output string tweaks
...
darcs-hash:20060126151659-ac50b-a6a7fbe764f0a8adb06f62efd233ef377178d521.gz
2006-01-27 01:16:59 +10:00
axel
312c7ab7b2
Add function stack trace to error output
...
darcs-hash:20060126144810-ac50b-3426191f596674504ce49dd61fcfa3c2c0c0f2bb.gz
2006-01-27 00:48:10 +10:00
axel
2e35e1ea60
util.h should include unistd.h
...
darcs-hash:20060126122134-ac50b-8701e01f5fac64df23b3d3437aea00d0223a05c7.gz
2006-01-26 22:21:34 +10:00
axel
b9c88f4c83
Spelling fixes, from Hermann J. Beckers
...
darcs-hash:20060126121659-ac50b-8c6a788e9750826c623d028410360da7353de9ea.gz
2006-01-26 22:16:59 +10:00
axel
5054492c6a
Fixes to make fish work on Cygwin. Firstly a bunch of minor fixes fo the wcs* fallback functions, secondly MSG_DONTWAIT (a socket flag) is set to zero if it isn't already defined
...
darcs-hash:20060126095706-ac50b-766c1e2c0408dc51fc7379af38005352f7603b1e.gz
2006-01-26 19:57:06 +10:00
axel
5893154823
Add completions for emerge command
...
darcs-hash:20060124233229-ac50b-401bc6944f5f7bbe4836361061c0ecfe0f982656.gz
2006-01-25 09:32:29 +10:00
axel
4a4e1788e5
Swedish translation checkin
...
darcs-hash:20060124230850-ac50b-4db62238ef87351c28c164acd32bdd82d04ac11d.gz
2006-01-25 09:08:50 +10:00
axel
3d56d7ee32
Add completions for sshfs, fusermount and sudo
...
darcs-hash:20060124230133-ac50b-b6b8685b2c3771ec1699661de88ba45fe47df82d.gz
2006-01-25 09:01:33 +10:00
axel
18d06cf10f
Smaller edits
...
darcs-hash:20060124181410-ac50b-4ec9e2990852a678de7d47a565ed41780b5279fc.gz
2006-01-25 04:14:10 +10:00
axel
452558624c
Installation should not rely on making the .po files
...
darcs-hash:20060124181245-ac50b-27104b2918c53230377afcd8b684335aafb7ed76.gz
2006-01-25 04:12:45 +10:00
axel
b7ef6852c7
Add autoconf test for regex.h
...
darcs-hash:20060124181205-ac50b-3bd50ce2b55f58994633556af790c06c4205798b.gz
2006-01-25 04:12:05 +10:00
axel
fef420d648
Make the prompt_pwd behave better with strange sed implementations (I'm looking at you, OS X)
...
darcs-hash:20060124180944-ac50b-63f45e0ef950fca45b1c5eaa48e960895d418631.gz
2006-01-25 04:09:44 +10:00
axel
f2c4becde7
Add better test for whether the gettext command should be used
...
darcs-hash:20060124180850-ac50b-63529a14009c08f8985254565426b996bb16ef92.gz
2006-01-25 04:08:50 +10:00
axel
e0d6b5c438
Add manual page for fish_pager command
...
darcs-hash:20060124180729-ac50b-ee2811e3a96d7f29f372ea5a5b1d08ff9045545a.gz
2006-01-25 04:07:29 +10:00
James Vega
265d016721
doc_src/fishd.txt, fishd.c: Move the API description of fishd to the source file. Update the fishd help to indicate the new help and version options as well as a warning about fiddling with ~/.fishd.HOSTNAME.
...
darcs-hash:20060124172031-35ec8-6dbd2bdd1cca3528011f7a088630533a4fea25ab.gz
2006-01-25 03:20:31 +10:00
James Vega
495460066c
Fixed various spelling mistakes.
...
darcs-hash:20060123231706-35ec8-2a30db603eee503d944b06d101cc88ce59340309.gz
2006-01-24 09:17:06 +10:00
axel
8df21a1cb1
Minor edits, mostly tweaks of the API documentation
...
darcs-hash:20060123233347-ac50b-44ebb96ba202c062739ba3d183519e28a95511b2.gz
2006-01-24 09:33:47 +10:00
axel
ba177b48d5
Do not show function body as description in output of the functions builtin
...
darcs-hash:20060123233213-ac50b-6887d4a2a9536e0697ab5ed0b1277dc645018cb9.gz
2006-01-24 09:32:13 +10:00
axel
29c488c6dc
Fixes to api documentation, added .PHONY to makefile actions, made a few private functions static
...
darcs-hash:20060123204014-ac50b-b9d2a10c7f00945b5d9d244cb3b8c1489fe280de.gz
2006-01-24 06:40:14 +10:00
axel
14ae10daf7
Hopefully the last attempt at fixing the build rules for making .po and .gmo files
...
darcs-hash:20060123174742-ac50b-194561d756a9f3d78e1aeffe16e6c4d7c81593fe.gz
2006-01-24 03:47:42 +10:00
axel
ecdc5bdbc7
Add notice to set_text documentation about the use of --bold to brighten colors on some terminals
...
darcs-hash:20060123173811-ac50b-0ff42512a62fcebf1224b0aac9a47f04ed92c1c9.gz
2006-01-24 03:38:11 +10:00
axel
64fee9865e
Add gettext i18n support for the set_color command
...
darcs-hash:20060123173720-ac50b-3e7621d28d041042c3bf7424a8210013d7c72b29.gz
2006-01-24 03:37:20 +10:00
axel
89eb80f3a4
Add option parsing and support for -h and -v switches to fishd
...
darcs-hash:20060123162534-ac50b-e993c28ee80cf83dc1f83a64f2cf7bac5dc1c55d.gz
2006-01-24 02:25:34 +10:00
axel
9853286bf9
the 'unknown' filetype description shouldn't be tranlated, since it is never used
...
darcs-hash:20060123154923-ac50b-bd7f826f77d33d26070b231ba630459e45ae6937.gz
2006-01-24 01:49:23 +10:00
axel
7d645ccc53
Use gettext to translate mimedb command. Also try to respect users locale setting when choosing language on file descriptions.
...
darcs-hash:20060123154500-ac50b-2a2eb9c24f41d2bbe05fc4c40dca31aaaca71979.gz
2006-01-24 01:45:00 +10:00
axel
820da6e7f7
Minor touchups of the complete.c file
...
darcs-hash:20060123114229-ac50b-b1f0ced50e81afd28807b6c8db3ab59f3e550130.gz
2006-01-23 21:42:29 +10:00
axel
3466f55ea0
Add completions for the time command, and improve completions for the type builtin and the su command
...
darcs-hash:20060123113936-ac50b-ba6f2516a8ce47734afd8da50fadf8995362da65.gz
2006-01-23 21:39:36 +10:00
axel
b969a175d4
Cleanup Makefile.in and make sure gen_hdr.sh is executable before using it
...
darcs-hash:20060123113807-ac50b-3959a084721ea2aebd7e5751788c82f633c2984a.gz
2006-01-23 21:38:07 +10:00
axel
bb079f5446
The seq fallback implementation is a shellscript, not a function
...
darcs-hash:20060123113648-ac50b-d6be198177d3b822b4e5270a70064f764ecf3cf7.gz
2006-01-23 21:36:48 +10:00
axel
250d20bfa8
Swedish translation for the seq command
...
darcs-hash:20060122234112-ac50b-35bd9ebd3867fdf72c388c3c0f1a8745b60f471d.gz
2006-01-23 09:41:12 +10:00
axel
58761f82e7
Avoid memory leaks in the complete builtin on errors
...
darcs-hash:20060122234003-ac50b-6b1b63d1b8fc9b8cfc7aa64b49db386618718d78.gz
2006-01-23 09:40:03 +10:00
axel
0ccc657aa6
Fix bug from the modified completion builtin where a completion that specified no switches would be ignored
...
darcs-hash:20060122233000-ac50b-779c3bbb08d1bdaaa6c6eae6192413d6b71aff21.gz
2006-01-23 09:30:00 +10:00
axel
7f01570caf
.po should not depend on the messages.pot file, since it will cause that file to be autogenerated on build. Also, add a few comments to the Makefile.
...
darcs-hash:20060122213548-ac50b-e3d6c30bdfa401c03248fb88f96a0c6457fe9773.gz
2006-01-23 07:35:48 +10:00
axel
0dadd83fdd
Move the complete builtin to it's own file, and make it accept multiple -c, -p, -s, -o and -l switches
...
darcs-hash:20060122211055-ac50b-6ef8cff7fb02e974d6a8096bf83bcbed429d7322.gz
2006-01-23 07:10:55 +10:00
axel
3e3541a05a
Add simple fallback implementation of seq command, installed automatically on systems which lack the regular seq command
...
darcs-hash:20060122210756-ac50b-f09a50f61137acef18f0d2be16e2556b2cdea921.gz
2006-01-23 07:07:56 +10:00
axel
a824646d61
Add input checks to string_buffer_t functions
...
darcs-hash:20060121211629-ac50b-ce18cd1f58cf962d21e553fa292576ea7b3382ed.gz
2006-01-22 07:16:29 +10:00
axel
74fb5bd5e5
Minor tweaks of init files
...
darcs-hash:20060121211239-ac50b-02fc95b123698b972063c2cd1cd8e85d548e1f8b.gz
2006-01-22 07:12:39 +10:00
axel
f2d6ae3220
Swedish translation fixes (tiny)
...
darcs-hash:20060121204514-ac50b-53ce3806d118e3d5d6ae51ae3822d8424479c192.gz
2006-01-22 06:45:14 +10:00
axel
487c275926
Bugfix for command completion descriptions, potential crash on strange output from apropos
...
darcs-hash:20060121204423-ac50b-b4583611b49f9ec54de7b8529b2652ce93d03980.gz
2006-01-22 06:44:23 +10:00
axel
2f143303b7
Fix broken PATH check
...
darcs-hash:20060121204217-ac50b-70b29fcb9eb17ca739f595b589d196186a5b4860.gz
2006-01-22 06:42:17 +10:00
axel
78296d4fac
Add autoconf test for presense of _nl_msg_cat_cntr
...
darcs-hash:20060121160234-ac50b-e41abc6688846ab207b9b6c3143cd694f8452154.gz
2006-01-22 02:02:34 +10:00
axel
fea22833cd
Use backticks for command substitutions in Makefile to make it work on older sh implementations
...
darcs-hash:20060121160117-ac50b-80b950ee724d149a0cdf8373c9a2a8dcc21bed04.gz
2006-01-22 02:01:17 +10:00
axel
b9b09babbe
Swedish translation updates, including switch of quoting character
...
darcs-hash:20060121123932-ac50b-3017ec3eb550a60cb970f2410a067ee20cdeee75.gz
2006-01-21 22:39:32 +10:00
axel
ba261cbb55
Description tweak
...
darcs-hash:20060121123912-ac50b-7bbd6af7efc08adb5162daedfb7bd129caa76836.gz
2006-01-21 22:39:12 +10:00
axel
4eb3370edf
Error message update
...
darcs-hash:20060121123828-ac50b-bb81b8cf34a09c750a02c15d92bcdae11f4b9bad.gz
2006-01-21 22:38:28 +10:00
axel
f7a5ca5f1f
Fix minor spelling detail
...
darcs-hash:20060121025307-ac50b-8bfe0dba8292f53fe44655afb6a7a9cdf813d7e8.gz
2006-01-21 12:53:07 +10:00
axel
f3c93c1690
Fix two bugs which together caused descriptions to be interpreted as a part of the completion in some rare cases
...
darcs-hash:20060121025206-ac50b-2bda82d8a9acdcdc9298e9986fbd38696514249f.gz
2006-01-21 12:52:06 +10:00
axel
e55bd063eb
Minor edits to the todo part of the fish documentation
...
darcs-hash:20060120171603-ac50b-d63052e2e6ddd82946946c8b88c3f8eebe1c5013.gz
2006-01-21 03:16:03 +10:00
axel
bdf4214b1f
Add a few Doxygen function descriptions
...
darcs-hash:20060120163404-ac50b-db110c6aa590b9c717a9755071f74dabdb370c3c.gz
2006-01-21 02:34:04 +10:00
axel
9fd20e63cf
Make sure _nl_msg_cat_cntr exists even if libintl doesn't, and use printf command if the gettext command isn't installed. Both of these are needed on systems without gettext support.
...
darcs-hash:20060120163156-ac50b-4b98e605f297bb435596fc2a66c413f0be5a5751.gz
2006-01-21 02:31:56 +10:00
axel
a47065f648
Add fallback implementations of wcstok, putwc and getwc. Move all fallbacks from common.c to wutil.c.
...
darcs-hash:20060120142721-ac50b-4b9850d889e2210e1d545339e29dcc038a3f2b04.gz
2006-01-21 00:27:21 +10:00
axel
70351b0e4f
Add missing completion for the -b switch for function builtin
...
darcs-hash:20060119150041-ac50b-a8d27c60747a47c63f3d89e6bb94b70b9f976ee1.gz
2006-01-20 01:00:41 +10:00
axel
12a0f6d72b
Swedish tranlations checkin
...
darcs-hash:20060119134518-ac50b-4a70b43bd613a5a6e9d08b280eb2814778f0e6ee.gz
2006-01-19 23:45:18 +10:00
axel
d2c12e760c
Fix crash bugs in fg and bg builtins, and make sure bg doesn't consider background jobs when run without an argument
...
darcs-hash:20060119131515-ac50b-d080ffde013419e2a461cf860b4858b88404ff33.gz
2006-01-19 23:15:15 +10:00
axel
e0c2ce24fb
Add missing includes in input_common.c
...
darcs-hash:20060119122322-ac50b-8d0c2bc21ec137d6cd5bf845156d0fc68b005440.gz
2006-01-19 22:23:22 +10:00
axel
1e7dd4f928
Check location of term.h header (updated)
...
darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
2006-01-19 22:22:07 +10:00
axel
3259da8f4a
Define a few additional signals
...
darcs-hash:20060118184046-ac50b-d5a4275af398d5a8bb8a82eca90e1b189b99a4c6.gz
2006-01-19 04:40:46 +10:00
axel
619f076958
Don't include intl headers in translate.h if we're not going to use gettext
...
darcs-hash:20060118183758-ac50b-ae3aef1154a9be6e39e154ad420d0881e7f86c85.gz
2006-01-19 04:37:58 +10:00
axel
588bc1103a
Make it possible to manually rebuild an existing messages.pot using 'make messages'. Don't use the --no-wrap switch for xgettext, since it's not universally supported. Print an explanation if xgettext fails.
...
darcs-hash:20060118165917-ac50b-2bea9293231907ea373216dbd6097a359886a062.gz
2006-01-19 02:59:17 +10:00
axel
13e94c0617
Don't print error message in fg if the command didn't fail
...
darcs-hash:20060118164750-ac50b-af59573292b32b87d0257c501eb7989062503653.gz
2006-01-19 02:47:50 +10:00
axel
efd01ae6c6
Don't automatically rebuild messages.pot every time the source changes
...
darcs-hash:20060118155929-ac50b-8134050a43269c35d582fb4410449d64dbbebb52.gz
2006-01-19 01:59:29 +10:00
axel
9017df15a8
Add completions for a fex more darcs subcommands
...
darcs-hash:20060118143022-ac50b-01db2f5ef449a4667bef351b10543c3a6b6e8a22.gz
2006-01-19 00:30:22 +10:00
axel
5340d2a18a
Corrections for the swedish translation
...
darcs-hash:20060118131236-ac50b-e3a02d965a44c68b5ad13a50f07cde62c02f4b40.gz
2006-01-18 23:12:36 +10:00
axel
e5298a99f8
Add friendly messages to Makefile commands
...
darcs-hash:20060118131143-ac50b-8141e527e8047d4551548b629e01c18eef5d411e.gz
2006-01-18 23:11:43 +10:00
axel
05736978bb
Change the foregrounf/background code a bit, fixes bug where mulktiple jobs want foreground status. Is this fix enough or are there still corner cases?
...
darcs-hash:20060118124248-ac50b-cbbddb8c6dad1f44826050395cda647fa9348f0f.gz
2006-01-18 22:42:48 +10:00
axel
e15c7fd7e0
Optionally add intl library, needed by gettext on NetBSD. Also clean up configure.ac a bit.
...
darcs-hash:20060118124113-ac50b-ef767f474de5bc27edc986be7526bdeb814f855a.gz
2006-01-18 22:41:13 +10:00
axel
509b3598f7
Make manual and completions reflect the facty that any combination od set_color params are valid values for $fish_color_* variables
...
darcs-hash:20060117193450-ac50b-636c59494399d88151174ee28096d93c0bcdd16d.gz
2006-01-18 05:34:50 +10:00
axel
aa783fc657
Remove some GNU preprocessor magic from wgetopt.c, it only applies to regular getopt
...
darcs-hash:20060117172412-ac50b-a2dabf19abe158674674f98b3ce10464a6826b36.gz
2006-01-18 03:24:12 +10:00
axel
84bbbe4252
Remove accidental newline in error message
...
darcs-hash:20060117172312-ac50b-5c77d13f879e7da44a97f158d0372e7e536c2c81.gz
2006-01-18 03:23:12 +10:00
axel
90fbe5eb0b
color ls support under FreeBSD and OS X
...
darcs-hash:20060117172005-ac50b-6fddf68de744cfe42cab7237325025ab27fc17ad.gz
2006-01-18 03:20:05 +10:00
axel
d5f4df15d4
Fix broken 'type' function, and clean up the ugly 'help' function. By Philip Ganchev.
...
darcs-hash:20060117165613-ac50b-b68c1b17708f01d9550dab242778f19590a3711d.gz
2006-01-18 02:56:13 +10:00
axel
fd78f67d35
Fix buggy error messages in expand.h and add missing translation commands
...
darcs-hash:20060117124830-ac50b-0981a49f5746ec951ddfb1a3097c5009c1eb0385.gz
2006-01-17 22:48:30 +10:00
axel
28c29f569b
Set version to 1.20.0
...
darcs-hash:20060116165451-ac50b-63e3cc280cb7deedadcfd69b542d9e54a7bc99c7.gz
2006-01-17 02:54:51 +10:00
axel
064581c7f8
Events should not be marked as non-interactive
...
darcs-hash:20060116165421-ac50b-503a15877d19055be9fc640baf9430fe0c606083.gz
2006-01-17 02:54:21 +10:00
axel
94b1c4c076
Swedish translation tweaks
...
darcs-hash:20060116165340-ac50b-16fef40c7f6f40195a8d0d1dbb8a237ebbe3639e.gz
2006-01-17 02:53:40 +10:00
axel
85c87fe267
Make string formating functions correctly handle %%. Thanks to Hiroshi Sakurai
...
darcs-hash:20060116150424-ac50b-0025006d1821da25ad131cca61e879d724694934.gz
2006-01-17 01:04:24 +10:00
axel
5bd66ee2ce
Add a __fish_complete_command function for completing using a command name. Change name of the __fish_set_is_first to __fish_is_first_token and move it to the common completion util file
...
darcs-hash:20060116150110-ac50b-d864b516887c8fae941a745186dc308d50113c23.gz
2006-01-17 01:01:10 +10:00
axel
e593f9be53
Remove a few warnings
...
darcs-hash:20060116134244-ac50b-123a615eb94803f721213d81b676893bc4159104.gz
2006-01-16 23:42:44 +10:00
axel
25e363e729
Add debug target to make, which halts on warnings
...
darcs-hash:20060116134150-ac50b-4edaa946177ff0368669ed6314d25bf5c8663023.gz
2006-01-16 23:41:50 +10:00
axel
5db192347c
Make sure all foreground jobs are reaped after evaluating a job to avoid things like 'sleep 10m; fg' don't try to restart sleep
...
darcs-hash:20060116001912-ac50b-30944d879d48b8b2714b24fa9a1e7f906ed3e1fb.gz
2006-01-16 10:19:12 +10:00
axel
18bbb5ad01
Put jobs in functions and block into their own process group in interactive mode, but do not put the 'fake jobs' associated with functions in a group
...
darcs-hash:20060116001556-ac50b-b91d6e45fe136874237ad31538de02b5e63a8bac.gz
2006-01-16 10:15:56 +10:00
axel
24ca6ceb47
Correctly handle and recover from IO redirections failures in the exec builtin
...
darcs-hash:20060115224148-ac50b-793c6a71a2ea04239a3d4bc293ca217a7ed40e84.gz
2006-01-16 08:41:48 +10:00
axel
3607c555be
Corrections to the INSTALL file
...
darcs-hash:20060115212639-ac50b-3149b296718a8980a91903f61a54983696da575b.gz
2006-01-16 07:26:39 +10:00
axel
cad14db27b
Cleanup configure.ac and make it automatically run autoheader
...
darcs-hash:20060115211929-ac50b-de7dcb86bf7143fef8e035991062bfd31c115f44.gz
2006-01-16 07:19:29 +10:00
axel
2fb5632212
Checkin of various swedish translation improvements
...
darcs-hash:20060115202034-ac50b-c4961911e5314ebaf9c596cc622882d80fc5a622.gz
2006-01-16 06:20:34 +10:00
axel
56ad85d8a8
Minor tweaks for the gpg command completions
...
darcs-hash:20060115200520-ac50b-08d98c4f223d71ee12ba7f35ec0197ee4517e72d.gz
2006-01-16 06:05:20 +10:00
axel
ee66520863
Give subshell command in error message for output conversion of data from subshell
...
darcs-hash:20060115200442-ac50b-4b3add7f99cf460186a6e0922966365dedcc2759.gz
2006-01-16 06:04:42 +10:00
axel
83629e28c8
Add completions for the set builtin to handle completions of locale variables and locale names
...
darcs-hash:20060115200303-ac50b-c195155551b0b77ddf8b6ab5c3d3f9c6506a82b7.gz
2006-01-16 06:03:03 +10:00
axel
645af56d77
Minor completion tweaks
...
darcs-hash:20060115115908-ac50b-26c75056ab12b369457b4842dc2fb744f82760c6.gz
2006-01-15 21:59:08 +10:00
axel
9501dc83e6
Make the functions builtin display function listing on -n to a terminal in a human-friendly format
...
darcs-hash:20060115115805-ac50b-fc5b468c0e68904e5cf934f43066ecfdf23e2a3b.gz
2006-01-15 21:58:05 +10:00
axel
9942e2f19f
Make the completions for the ls, sed and df commands have the correct switches on BSD systems
...
darcs-hash:20060114131607-ac50b-479f7ff34019f5487125321443027cc0a77eec93.gz
2006-01-14 23:16:07 +10:00
axel
6d6644b907
Minor polish to the gpg completions
...
darcs-hash:20060114020051-ac50b-5afc6793fd2597654b896b81690e5295a773e68f.gz
2006-01-14 12:00:51 +10:00
axel
11273a7be0
Various corrections for advanced tab completions. Should make the --export
...
darcs-hash:20060114015937-ac50b-c085db7526eae4aa4138ca86304e725d7faebec4.gz
2006-01-14 11:59:37 +10:00
axel
1562b8148d
Make sure functions as printed by the fyunctions builtin don't have any stray empty lines
...
darcs-hash:20060114015801-ac50b-135fb66cf74a9cd51f6d52e2eff12c55042e4183.gz
2006-01-14 11:58:01 +10:00
axel
d7b659d8e8
Add completions for gpg command
...
darcs-hash:20060113144133-ac50b-e7c457b7fa7aade56111d8d731ab468550006ef3.gz
2006-01-14 00:41:33 +10:00
axel
6050850081
Add completions for chsh command (updated)
...
darcs-hash:20060113140536-ac50b-447727e0ca2ed727d2801601e06ff6cbe1984e60.gz
2006-01-14 00:05:36 +10:00
axel
95d68e48f2
Fix the __fish_append shellscript function, as well as some completion bugs in gpg and mount
...
darcs-hash:20060113010245-ac50b-9780d63c65c73f2d61247cce484549ad3561fb74.gz
2006-01-13 11:02:45 +10:00
axel
2b7781d3cb
Correctly handle locale changes through scope expiry, as well as locale changes in completion code
...
darcs-hash:20060113010012-ac50b-81cde216bd6b92f7b1374e5f6452695618185f95.gz
2006-01-13 11:00:12 +10:00
axel
f0b2d7532a
Minor completion description corrections - unescaped dollar-signs in quotes and such
...
darcs-hash:20060112164559-ac50b-f16063597ca81d4eeef23f124cd62a15f0287df6.gz
2006-01-13 02:45:59 +10:00
axel
6b91433881
Alt-backspace is now a synonym for Control-w in emacs mode keybindings. Atl least on terminals with a simple Alt-backspace
...
darcs-hash:20060112145346-ac50b-3ec5f9517614a9b1cdf4e8e0ba7222b83347f436.gz
2006-01-13 00:53:46 +10:00
axel
16cb9dfa05
Improve description handling - handle symbolic link loops, handle description functions returning strings without a separator, and handle testing of un-stat:able files
...
darcs-hash:20060112144903-ac50b-9766abfa212b2eaf61509a65499df0018562b5d9.gz
2006-01-13 00:49:03 +10:00
axel
10fec8abb6
Make parser_current_line use dynamic memory to avoid overflow on long lines
...
darcs-hash:20060112125457-ac50b-1eff13f647793701e620a675ff661bc7d823a843.gz
2006-01-12 22:54:57 +10:00
axel
da058aa141
Add one missing translation string in exec.c
...
darcs-hash:20060111144616-ac50b-b0520a639e2d06b75629e0ab171111c529993d32.gz
2006-01-12 00:46:16 +10:00
axel
67333a23f1
Recover instead of quiting when a redirection error occurs for a shellscript function
...
darcs-hash:20060111144020-ac50b-a5c7449276730c21949324abd8ba49b91b186e8c.gz
2006-01-12 00:40:20 +10:00
axel
72bb5ae06f
Use /etc/sysconfig/i18n file if it exists to set up correct locale
...
darcs-hash:20060111142340-ac50b-b0483ffd46eb6eb31defbd69b821fc088ff30004.gz
2006-01-12 00:23:40 +10:00
axel
d4034fc253
Yet another batch of description tweaks, as well as the last major checkin of translations to swedish (updated patch)
...
darcs-hash:20060111141735-ac50b-b6a9ac5d5d9eb8eac28dd39968cd28f99044e8f5.gz
2006-01-12 00:17:35 +10:00
axel
be9208412a
Add missing include for sanity.c
...
darcs-hash:20060111141015-ac50b-679d480b29b35332881c45ef123dcff322cc81f2.gz
2006-01-12 00:10:15 +10:00
axel
f66689d415
Remove the tokenize command from the rpm spec file
...
darcs-hash:20060111140941-ac50b-eb5561af92787bc0e892120c0c7c6741cb4d63b9.gz
2006-01-12 00:09:41 +10:00
axel
aca0511762
Documentation corrections
...
darcs-hash:20060111132944-ac50b-43146f4df54b8a533fb92693f1292d6cb74cdef8.gz
2006-01-11 23:29:44 +10:00
Jan Fader jan.fader@web.de
68df730980
some little corrections
...
darcs-hash:20060110174907-f93c5-d9ef6df3a8f8401ea161085a1e512d6a1d445260.gz
2006-01-11 03:49:07 +10:00
axel
032a736840
Make the read builtin able to create universal variables
...
darcs-hash:20060111122640-ac50b-4b411b9822a44ae105b71ca51ee47d0aa13a1a62.gz
2006-01-11 22:26:40 +10:00
axel
d9663a4ec4
Remove the external tokenize command. One can use tr instead
...
darcs-hash:20060110163603-ac50b-204bef8d8d8e3f2ebc593c3de7d5a2eb4b1f0312.gz
2006-01-11 02:36:03 +10:00
axel
5392533f33
More minor completion description corrections, and another translation checkin for Swedish
...
darcs-hash:20060109192815-ac50b-cf229b3dbd2e11ed6136650bc781794fe008d5eb.gz
2006-01-10 05:28:15 +10:00
axel
bf0957d8dd
Reload completions on locale language change. This will mean that most translatable messages will be retranslated.
...
darcs-hash:20060109174032-ac50b-4eba42b58f3a55298168469573315df917d23b10.gz
2006-01-10 03:40:32 +10:00
axel
630abb56f6
Make command descriptions work when entering full path to a command
...
darcs-hash:20060109171725-ac50b-0ef6085530d15bb6d08911cdffbe7f7f63fe07f2.gz
2006-01-10 03:17:25 +10:00
axel
c45e457492
Makecompletion functions work with completion descriptions regardless of if they contain a separator character or not
...
darcs-hash:20060109171359-ac50b-d3fc75cb3263d1f20296e5e81a9f48caf345cd01.gz
2006-01-10 03:13:59 +10:00
axel
fef1e1db32
Do not free allocated data when clearing a string_buffer_t
...
darcs-hash:20060109171302-ac50b-eda104ad21a80c99cc5f31e71973bbc835635b90.gz
2006-01-10 03:13:02 +10:00
axel
8ed80deb6b
More robust parsing of keybindings, allow sequences like \C-\ew and \C-?
...
darcs-hash:20060109152506-ac50b-0b040ba0aed86bf7f0b4a935f7842eccf1b45181.gz
2006-01-10 01:25:06 +10:00
axel
b7c551a348
Correct incorrect arguments to futimes
...
darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz
2006-01-10 01:17:40 +10:00
axel
810d9104fc
Improve detection of futimes function, and make it fail without giving an error message, since it is not critical anyways
...
darcs-hash:20060109151047-ac50b-ebbda6a65853dc03aa12c1e28cd293d7e5557bb1.gz
2006-01-10 01:10:47 +10:00
axel
54c502c3cf
Documentation tweaks
...
darcs-hash:20060109144813-ac50b-cc5d04de564c177f8a0f529e6d536b6f7064f1b1.gz
2006-01-10 00:48:13 +10:00
axel
faa23a33ec
Minor completion description tweaks, try to use the same description for the same situation in multiple commands, to decrease number of strings to translate
...
darcs-hash:20060109144730-ac50b-02c888d17745b5406e099040e12130fb2a419276.gz
2006-01-10 00:47:30 +10:00
axel
ae511451fe
Fix two issues on OS X, a non-compatible use of the expr command and a bad init of a socket for the universal variable daemon
...
darcs-hash:20060109144418-ac50b-c6232eae5b964f66d0638289291340aa66cd5983.gz
2006-01-10 00:44:18 +10:00
axel
ce689e69d5
Make description messages more uniform
...
darcs-hash:20060108231306-ac50b-6476976dcdb9db47ac61052f0096e1f7eb27fc32.gz
2006-01-09 09:13:06 +10:00
axel
906495d713
Improve locale implementation (should now behave identically to bash) and document locale variables behaviour
...
darcs-hash:20060108230049-ac50b-403f1d00c8483fc4fecc275b62e40b1c3d51bfc1.gz
2006-01-09 09:00:49 +10:00
axel
690648e1b0
Huge upade containing several bugfixes related to i18n, and a huge number of new translatable strings, including almost all description messages for command specific completions
...
darcs-hash:20060108025656-ac50b-e2309829a0afa6b3270d13814e9600d0fd372407.gz
2006-01-08 12:56:56 +10:00
axel
b33d3f78b1
Move definition of the _ gettext alias out of fish_interactive, since it is needed in non-interactive, and in earlier functions as well
...
darcs-hash:20060105170915-ac50b-4a31a54f30d8bfcfecdd8fb60b9639087b27925a.gz
2006-01-06 03:09:15 +10:00
axel
343c280dbf
Add more helpful error messages when trying to use Posix short circut operators (|| and &&)
...
darcs-hash:20060105160228-ac50b-d3addc00f8fb7934402788ff2da7301a638063dc.gz
2006-01-06 02:02:28 +10:00
axel
f6b2b9f9a5
Change syntax of 'and' and 'or' to infix order
...
darcs-hash:20060105153753-ac50b-4413a5d2652232bb38c97f5c673251193fc848ec.gz
2006-01-06 01:37:53 +10:00
axel
6a0460f51e
Do not use \r sequence in translatable messages
...
darcs-hash:20060105135411-ac50b-f19d697f1b3f32cd695ee52282fc4281248e213f.gz
2006-01-05 23:54:11 +10:00
axel
e12902fe3c
Translate most shellscript output, translate internal completion descriptions, and several translation bugfixes
...
darcs-hash:20060105134159-ac50b-0a7805971e079dd1a511c6bca227db4504902ef0.gz
2006-01-05 23:41:59 +10:00
axel
48030576e4
Improved description for the commandline builtin
...
darcs-hash:20060104141541-ac50b-b5e427b8d9767f016ea62a898ebd06c5cf48066c.gz
2006-01-05 00:15:41 +10:00
axel
33177e75a6
Output a message when changing LANG in interactive mode
...
darcs-hash:20060104140735-ac50b-4147ebc215d62d00fe6add39e62369dd3c07e7d9.gz
2006-01-05 00:07:35 +10:00
axel
c1304a05d9
Further i18n tweaks
...
darcs-hash:20060104135230-ac50b-c9fe3b1d24a28f18cefee72aaec17515b552b157.gz
2006-01-04 23:52:30 +10:00
axel
038d7e725e
Added a few notes to INSTALL file
...
darcs-hash:20060104130154-ac50b-17fe045cd521d42600a2ea01a72b53337545b090.gz
2006-01-04 23:01:54 +10:00
axel
6408486336
Minor fixes to i18n
...
darcs-hash:20060104130124-ac50b-3a629986f1a2ddf168d2f13184a6c222ccbc4889.gz
2006-01-04 23:01:24 +10:00
axel
ec43c635cc
Add i18n through gettext, as well as a Swedish translation
...
darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
2006-01-04 22:51:02 +10:00
axel
26de6ba26b
Minor text formating tweaks
...
darcs-hash:20051230162919-ac50b-498d690fdec0aaf37c212eedf6b4c584c64f9a5f.gz
2005-12-31 02:29:19 +10:00
axel
8f121dce9c
Add completions for nice and renice commands
...
darcs-hash:20051230162835-ac50b-28220c8ef0c4f22dd1c8825c7a1151fe92ba421c.gz
2005-12-31 02:28:35 +10:00
axel
7eec1a6625
Pressing the enter key on an empty line scrolls a line
...
darcs-hash:20051230125705-ac50b-b8064453d6b3a7ac041a3c8d0b23a3189ca3f162.gz
2005-12-30 22:57:05 +10:00
axel
02a3288db7
1.19.0
...
darcs-hash:20051225220442-ac50b-79b8685cf6939c74a171f6cba227b703a1c02d60.gz
2005-12-26 08:04:42 +10:00
axel
b069489792
Only use internal wcsndup implementation of no external one exists
...
darcs-hash:20051225220329-ac50b-8ab5165f227112bb28406168d6c88e45a74fc7bc.gz
2005-12-26 08:03:29 +10:00
axel
b37eeb92ef
Fisx crash buh when completing string ending in backslash
...
darcs-hash:20051225220044-ac50b-b880ffe649d04ed1e5ec6786d0b59eed8068d182.gz
2005-12-26 08:00:44 +10:00
axel
b6630b5087
Check for presense of doxygen using autoconf
...
darcs-hash:20051225115940-ac50b-a8bc63a835c041f6648381934396392fc277cc49.gz
2005-12-25 21:59:40 +10:00
axel
3a69fc997c
Check Xautority before trying to use X-based browser in help shellscript
...
darcs-hash:20051221135353-ac50b-9b8b37d7465d64a209e34ed047bd6e055a4fc179.gz
2005-12-21 23:53:53 +10:00
axel
c216e36a72
Add notice about bug when suspending builtins
...
darcs-hash:20051221135157-ac50b-a85102e103d27b5eccf51806871b3a49befa6a10.gz
2005-12-21 23:51:57 +10:00
axel
00778832f1
Add sbin directories to PATH when root
...
darcs-hash:20051220090155-ac50b-2a0a54dda98086cae3329dc31a71f28774bddf46.gz
2005-12-20 19:01:55 +10:00
axel
cdbd233e62
Do not use GNU -r switch for sed
...
darcs-hash:20051220085820-ac50b-c46216c3eff88eab9776e5505de1f25e0e046cfc.gz
2005-12-20 18:58:20 +10:00
axel
9ce93164bb
Add missing include in builtin_help.hdr
...
darcs-hash:20051220085746-ac50b-fb788faca5ee99e85074343ba30ee6de7fb13857.gz
2005-12-20 18:57:46 +10:00
axel
20b269130c
Yet another attempt to avoid gnuisms in sed/grep for ssh completions
...
darcs-hash:20051218225150-ac50b-d2ec7c6b5c715a68dcc4f2d9d67636c70868da7d.gz
2005-12-19 08:51:50 +10:00
axel
891c2fc379
Use sed instead of grep, since grep -o isn't supported on OS X
...
darcs-hash:20051217221513-ac50b-1166a7d4814ee9e2cd960308fae4999431ebc3c1.gz
2005-12-18 08:15:13 +10:00
axel
00be44a69a
Add completions for trap and jobs
...
darcs-hash:20051217215926-ac50b-3078bbc64adfe19d17579a886a9e2ae7b0c594dd.gz
2005-12-18 07:59:26 +10:00
axel
b8ea709c1e
Add autoconf checks for wide character string functions
...
darcs-hash:20051217213205-ac50b-df9ea4cbc1a7e4235578bd4fc542ddb7788d41cc.gz
2005-12-18 07:32:05 +10:00
axel
7bdcfacee4
Add trap shellscript function
...
darcs-hash:20051217213052-ac50b-fdab838ea9595fac7572068ea3a1f12b8bb0ea68.gz
2005-12-18 07:30:52 +10:00
axel
61706b4490
Adjust fish init files to new set syntax
...
darcs-hash:20051217122710-ac50b-718f131091f262514686b73a1f827086fc678a08.gz
2005-12-17 22:27:10 +10:00
axel
443ddb509e
make the functions builtin output descriptions and event handlers for functions
...
darcs-hash:20051217122546-ac50b-2bf9b1118fcbf9079398e113fb201ddde813e40a.gz
2005-12-17 22:25:46 +10:00
axel
e6774cc944
Make the set builtin only parse switches given after non-switches
...
darcs-hash:20051217012130-ac50b-201dd8301496b800e0382ac238ee7e164b9345e3.gz
2005-12-17 11:21:30 +10:00
axel
78cd8fa089
Tweak a few error messages for builtin commands
...
darcs-hash:20051216155116-ac50b-d31da6fc28ef9140f24fb0d95397daaffb3ff6ab.gz
2005-12-17 01:51:16 +10:00
axel
9229041385
Make non-interactive reading more robust.
...
darcs-hash:20051216155010-ac50b-8237935c6e95c296fd67280b1879267f9e7a949b.gz
2005-12-17 01:50:10 +10:00
axel
e6bd3dbc40
Make the source builtin bail out at once if stat fails. Makes sure no illegal memory acces takes place
...
darcs-hash:20051216125437-ac50b-150f5404037186c5380884416b696d5869704a60.gz
2005-12-16 22:54:37 +10:00
James Vega
a91bf6d88a
builtin.c: builtin_source now checks that its argument is a file.
...
Without this check, it would be possible to attempt to source a directory and get stuck in an infinite loop.
darcs-hash:20051215172122-35ec8-b3ce05d8d7ee9534edf92b74ca842d034b894e8a.gz
2005-12-16 03:21:22 +10:00
axel
fa75fc3901
Code cleanup
...
darcs-hash:20051215135902-ac50b-e9fc18bca34459ddb56e970a16c05e9b3cc54848.gz
2005-12-15 23:59:02 +10:00
axel
e4a95cb989
Add missing -r/--replace switch to commandline builtin
...
darcs-hash:20051215101901-ac50b-721c6a3afc426b110506b5101a25c54205767dc5.gz
2005-12-15 20:19:01 +10:00
axel
9cf4a2a0b3
Add extra step in instructions on creating a builtin
...
darcs-hash:20051214234808-ac50b-14d032091b843c4692f4548c9763b65c46b2fc92.gz
2005-12-15 09:48:08 +10:00
axel
0ff374a4a0
Add missing newline at end of yum completion file
...
darcs-hash:20051214234650-ac50b-0002f137022144e2fc55b233df1f32157e8b77f8.gz
2005-12-15 09:46:50 +10:00
axel
0817962300
Add missing documentation file
...
darcs-hash:20051214180744-ac50b-9394e5a12ca3eb98a9333a666748d16277cc2d7b.gz
2005-12-15 04:07:44 +10:00
axel
8b69c5416d
Minor documentation edits
...
darcs-hash:20051214164116-ac50b-c95a5dcb71d39c29b69010e879c96fc66ff1271e.gz
2005-12-15 02:41:16 +10:00
axel
1071fedaee
Fix Alt-p shortcut
...
darcs-hash:20051214140906-ac50b-73f73a4dd9f2d77f5cb70a742aa0331cbedc11ba.gz
2005-12-15 00:09:06 +10:00
axel
ab207b64a3
Add separator characters to make quoted variable expantion works properly
...
darcs-hash:20051214135336-ac50b-ebd834e2bc52324ae4926efc270508648d8cb280.gz
2005-12-14 23:53:36 +10:00
axel
418e26c0ac
Fix crash bug from calling eval builtin with no arguments
...
darcs-hash:20051214134644-ac50b-5872ff628bf4f5d4f22f912d7ce7e9ed25d48b58.gz
2005-12-14 23:46:44 +10:00
axel
de3a28874e
Code tweaks
...
darcs-hash:20051214033939-ac50b-321171b5a7a59ca6856ce1b1a09126614154544a.gz
2005-12-14 13:39:39 +10:00
axel
9dd842ea96
Code tweaks
...
darcs-hash:20051214010712-ac50b-4053d2c3b97a1ea6168f113e91d3e4915915ea9a.gz
2005-12-14 11:07:12 +10:00
axel
5d069de71d
Use different abbrevation for prompt_pwd
...
darcs-hash:20051214003427-ac50b-1227b7a0795e2fe3adf4f37c2594033f673b7a5e.gz
2005-12-14 10:34:27 +10:00
axel
16333b0c69
Simplify pwd function
...
darcs-hash:20051214003313-ac50b-697691ebc5cedddde35307bee465b3083b91c00e.gz
2005-12-14 10:33:13 +10:00
axel
e4fa0e1000
Simplify greeting code
...
darcs-hash:20051214000613-ac50b-18e45081adfe96ecbf4439f39e6df3784941952e.gz
2005-12-14 10:06:13 +10:00
axel
3e52bd0132
More tweaks
...
darcs-hash:20051213201121-ac50b-cdb07b1535b7a7f521d5a4360d09a449315a65a3.gz
2005-12-14 06:11:21 +10:00
axel
211663a549
Use . as CDPATH if CDPATH is zero length
...
darcs-hash:20051213201036-ac50b-7567b40f37b409a1bc0ec7b1dc83724057e7e5d2.gz
2005-12-14 06:10:36 +10:00
axel
659b99ed1a
Lots of fixed typos. Thanks, Harshad!
...
darcs-hash:20051213183257-ac50b-65c01704388f0fa94a7fbc62ba4d22ec1e6397d2.gz
2005-12-14 04:32:57 +10:00
axel
86d7e8bb8e
Minor tweaks
...
darcs-hash:20051213182803-ac50b-859b5bd4274e24dfd462cdf4585f0a05b751f737.gz
2005-12-14 04:28:03 +10:00
axel
8bf0a14bd5
Autodetect common escape codes in fish_prompt output
...
darcs-hash:20051213101859-ac50b-0ff01bb168d894d401d3d93cc11740789bac0d62.gz
2005-12-13 20:18:59 +10:00
axel
9c32709fe1
Fix infinite loop in token search
...
darcs-hash:20051212183055-ac50b-a40c21f801978094e4ae5b3f6f5d84276eb956e7.gz
2005-12-13 04:30:55 +10:00
axel
00bdd2cb48
Fix bug causing inconsistent state and shutdown when the begin command was used in a function definition
...
darcs-hash:20051212155104-ac50b-bb942f22d1eaef8cdc07ddf04fb9230bbfb165f6.gz
2005-12-13 01:51:04 +10:00
axel
0a8284c981
Further tweaks to jobs builtin
...
darcs-hash:20051212155001-ac50b-bb6d180d8e0ca5150173a3dc3aa6cd7e021fa770.gz
2005-12-13 01:50:01 +10:00
axel
ddbb50acd7
Minor edits
...
darcs-hash:20051211233939-ac50b-e01a4024f70355f2b7f1b5377c6e0853997d9860.gz
2005-12-12 09:39:39 +10:00
axel
5262f3ce99
Revamp the jobs builtin
...
darcs-hash:20051211233001-ac50b-24547ca41d4db05f87d59dd3e396c3190a66ef89.gz
2005-12-12 09:30:01 +10:00
axel
28dd48a76a
Use char instead of unsigned char in xdgmime files. Avoids a few warnings.
...
darcs-hash:20051211222833-ac50b-3fd68bb7000660172027c8991c68448ddb36e27d.gz
2005-12-12 08:28:33 +10:00
axel
b1c61bcf1f
Do not call fcntl before fully reading block.Escalates bug severity without any practical benefit.
...
darcs-hash:20051211222730-ac50b-bdb2e1dc612ba6a9dd425f514baa2423f8b0d4e5.gz
2005-12-12 08:27:30 +10:00
axel
bb591a69c9
Make type fuction handle hidden functions
...
darcs-hash:20051211222603-ac50b-e846b05b27d2e2c072c760baa1e067f9484636e3.gz
2005-12-12 08:26:03 +10:00
axel
1d69e70b7a
Initial blocking implementation
...
darcs-hash:20051211222101-ac50b-6e11220bd608187fbb32a0313b5b73dbdc8354fc.gz
2005-12-12 08:21:01 +10:00
axel
2cac04850b
Fix crash bug in token search
...
darcs-hash:20051211043017-ac50b-137695bd9bb9c523d5b5288a5d4263e4c4242edf.gz
2005-12-11 14:30:17 +10:00
axel
2619f1752d
Remove compiler warning
...
darcs-hash:20051210003607-ac50b-3c9aab83ec7c5f184c1cd01f6cdd11c711725584.gz
2005-12-10 10:36:07 +10:00
axel
33e2c81748
Make sure tokenizer never changes input string
...
darcs-hash:20051210003335-ac50b-2d1b9125186b1d3f68138c2c49559d077fa5d326.gz
2005-12-10 10:33:35 +10:00
axel
f05da41159
Escape the ~ character
...
darcs-hash:20051209121954-ac50b-347571c227de795661694f31ff4ab9eafdda0e39.gz
2005-12-09 22:19:54 +10:00
axel
780ecc46fc
1.18.1
...
darcs-hash:20051209040512-ac50b-9c39e3e1b1345caa1167a8d09e79c569d3600a7a.gz
2005-12-09 14:05:12 +10:00
axel
9b98df8310
Add history search information to documentation
...
darcs-hash:20051209040443-ac50b-ac75d7308947d00867950f6df74cc68907045a3b.gz
2005-12-09 14:04:43 +10:00
axel
5a8205ac2b
Shorten ${foo} error message a bit
...
darcs-hash:20051209035042-ac50b-b71d3e2b326cf18c4520c86d6587d432230d7ac9.gz
2005-12-09 13:50:42 +10:00
axel
2490da31ce
Fix missing escapes for the [] characters
...
darcs-hash:20051209033225-ac50b-713c8d82887fb6de4de84c980f23a19039df0cb7.gz
2005-12-09 13:32:25 +10:00
axel
092bb90569
Add minor missing completion for fish itself
...
darcs-hash:20051209025651-ac50b-7fce573294ed888c59c7fc6ce2bd6e4d2f822e0f.gz
2005-12-09 12:56:51 +10:00
axel
39ca027706
Do not fail make install on missing ChangeLog
...
darcs-hash:20051209024923-ac50b-9a998c9e221c1a2d5613498e78614fafc5c6a347.gz
2005-12-09 12:49:23 +10:00
axel
22433f2717
Completion prefix was missing one character
...
darcs-hash:20051209024718-ac50b-91cd117f5950726ecbf5451b415cf2f8041f689a.gz
2005-12-09 12:47:18 +10:00
axel
f6e194447d
Do not stop evaluation on wildcard error
...
darcs-hash:20051209024116-ac50b-4053af9c2800565b752476a6cdb31d3a5c43b113.gz
2005-12-09 12:41:16 +10:00
axel
e2ed5d0977
Fix buffer inconsistency un ^U
...
darcs-hash:20051209024034-ac50b-a06c78f8f238f61c99ddcd4bee02f8b41af26c6c.gz
2005-12-09 12:40:34 +10:00
axel
fe5bf8f80e
Set version to 1.18.0
...
darcs-hash:20051207163122-ac50b-9844fb2917028886a5a1f6ce54edf7641abbc231.gz
2005-12-08 02:31:22 +10:00
axel
0a713a7939
Correct set help page. The handling of setting a variable to no value has changed.
...
darcs-hash:20051207162924-ac50b-3e3c579b8b932b9a5a11546fb4a042d5e2aa85c5.gz
2005-12-08 02:29:24 +10:00
axel
4ba2709452
Improved error messages
...
darcs-hash:20051207160647-ac50b-4061540829a108381c20a1a6f3c8fd2d004a9800.gz
2005-12-08 02:06:47 +10:00
axel
0c877183b9
Spelling
...
darcs-hash:20051207155717-ac50b-6146b02bd8aff0fd27816acd5e31b38093d8575d.gz
2005-12-08 01:57:17 +10:00
axel
a46be4cadb
Handle setting zero length variable name
...
darcs-hash:20051207144849-ac50b-d919481d54ef80c68d5f4cc847d5c2370e94ddcc.gz
2005-12-08 00:48:49 +10:00
axel
8b4637e900
Insert boundary token at quotes, makes things like $foo"bar" work right
...
darcs-hash:20051207144307-ac50b-a708fa43b196f435efdcb1bfac17ce592cdb4533.gz
2005-12-08 00:43:07 +10:00
axel
ab13c4caad
Give intelligent warning messages on zero-length variable names.
...
darcs-hash:20051207130330-ac50b-cc9d78ba63f592925b6076049e2c59aaaa930eec.gz
2005-12-07 23:03:30 +10:00
axel
479696a8ec
Set status to 1 on parse errors
...
darcs-hash:20051207130209-ac50b-f1431d395bf741bb4c8f99ed64ed8ccc53a960a3.gz
2005-12-07 23:02:09 +10:00
netocrat
acde745e34
Add a distclean target to Makefile.in
...
darcs-hash:20051103170348-344c5-9e8f20f2363ac031c8eeb991d01c58fde86fd33b.gz
2005-11-04 03:03:48 +10:00
netocrat
064d49215a
Add missing files to remove for make clean
...
darcs-hash:20051103151026-344c5-c79770e8273cc18f0515c4bbbed730fec89af060.gz
2005-11-04 01:10:26 +10:00
netocrat
78d3b37e11
Modify fish init scripts to take account of @SYSCONFDIR@
...
darcs-hash:20051103143535-344c5-203a64cc8bdb14cc018254f6eb74852a1db4843f.gz
2005-11-04 00:35:35 +10:00
axel
12aa33fad4
Even more documentation updates. Variable expantion and design document sections.
...
darcs-hash:20051204132259-ac50b-d63356923e41c85a8d4aae1a4db3c815867fe5e2.gz
2005-12-04 23:22:59 +10:00
axel
e4ade8f41b
Remove silly warnings in help script
...
darcs-hash:20051204132218-ac50b-e9e74283b7fe3f12a9af90f2b6d93b189e80a684.gz
2005-12-04 23:22:18 +10:00
axel
9d7723b330
More documentation corrections and updates
...
darcs-hash:20051204124043-ac50b-11a283ee48103cb24efdaf18f6de62f503d6e028.gz
2005-12-04 22:40:43 +10:00
axel
2bc2e0b9ec
More documentation tweaks
...
darcs-hash:20051204023353-ac50b-196f21f186237d5e7074667fc86f2172a7ac40e2.gz
2005-12-04 12:33:53 +10:00
axel
02083a1bd7
Updated some obsolete documentation sections, and added some general polish
...
darcs-hash:20051204022740-ac50b-d3258d6b6f6caaf1b728c3c5074e1318135d6752.gz
2005-12-04 12:27:40 +10:00
axel
e534a952b7
Fix display bug causing the wrong completion string prefix to be shown in some situations
...
darcs-hash:20051204015613-ac50b-3c9feaf11d9657a30272303f9605f8139a0c5923.gz
2005-12-04 11:56:13 +10:00
axel
754d8d3712
Fix bug breaking filename completions, introduced by csh wildcard syntax
...
darcs-hash:20051204015402-ac50b-911c6188f6c8213a733f4e967fc903f5290f1772.gz
2005-12-04 11:54:02 +10:00
axel
86230813de
Remove more deprecated event hooks
...
darcs-hash:20051203195135-ac50b-bcdfc71f1e634ee9e2745683a8b23243e03a0412.gz
2005-12-04 05:51:35 +10:00
axel
2faba57e5a
Update todo list to reflect recent changes
...
darcs-hash:20051203195003-ac50b-3c0bcaebf8a6d81fa0e0940ab6b215781cb26d52.gz
2005-12-04 05:50:03 +10:00
axel
3789127d28
No longer track changes to the ChangeLog file, since it is autogenerated
...
darcs-hash:20051203194801-ac50b-215457a371538276fd71f9aa368e13f1b8bfff73.gz
2005-12-04 05:48:01 +10:00
axel
32e833f331
Remove old event hooks, add more event handler documentation
...
darcs-hash:20051203194618-ac50b-e90683cb69b19da789152164a89a34bf187fd4e4.gz
2005-12-04 05:46:18 +10:00
axel
9b4c34aa4c
Use csh-style error rules with wildcards, i.e. if no matches are found, the command is not executed
...
darcs-hash:20051203164356-ac50b-1b1818db2698eab9ae765a5af1e259bce3ab37e7.gz
2005-12-04 02:43:56 +10:00
axel
e2ebc0e443
Set version to 1.17.0, disable fishd optimization patch.
...
darcs-hash:20051201154544-ac50b-9b0f5502659d9f1facc04e4fd6a0b7287b197f2d.gz
2005-12-02 01:45:44 +10:00
axel
8ff66e718c
Fix broken recursive wildcard patch
...
darcs-hash:20051130153303-ac50b-3d0973badb50a98fe8038135a031a8ee14e4f894.gz
2005-12-01 01:33:03 +10:00
axel
2789da6a1a
Only insert fishd barrier after non-builtin commands to increase performance
...
darcs-hash:20051129195132-ac50b-7fcf7b2458b162c9c668fe823f17dc070604b00d.gz
2005-11-30 05:51:32 +10:00
axel
51c345311a
Make the not builtin work with shellscript functions
...
darcs-hash:20051129195030-ac50b-7ada30d327f2dcc8ad23f56b0a36c975cb90c481.gz
2005-11-30 05:50:30 +10:00
axel
4a68a34c50
Change stupid call signature for tilde expand function
...
darcs-hash:20051129165202-ac50b-f442d0d75864317cc70059fffe5e8eb956ad54a6.gz
2005-11-30 02:52:02 +10:00
axel
9993ff07f2
Fix problem with recursive wildcards not working properly when postfixed with a regular string
...
darcs-hash:20051129143352-ac50b-6fec789be36250f29d35458b15dbae423eed195c.gz
2005-11-30 00:33:52 +10:00
axel
fc8b56da0d
Remove accidentally included test code for recursive wildcard feature
...
darcs-hash:20051129101414-ac50b-929f0b9928bbed8a485699c66e1b4e3e8cedcfdc.gz
2005-11-29 20:14:14 +10:00
axel
02981a1750
Minor cleanups
...
darcs-hash:20051129101303-ac50b-11843dc32a9d05037b907fe1ac5df6a90cb7dd36.gz
2005-11-29 20:13:03 +10:00
axel
c2e6b07b35
Try to report IO redirection errors resulting from redirection stderr
...
darcs-hash:20051129101206-ac50b-970569a8b710d74b6e16a3c09b8848618cec4a7e.gz
2005-11-29 20:12:06 +10:00
James Vega
8fcacdd5df
common.c: Include the header file for ioctl()
...
darcs-hash:20051128144202-35ec8-5148e095c81538cb26c232e93dbe94a93e75e253.gz
2005-11-29 00:42:02 +10:00
axel
6bf58e44f4
Make sure fishd saves before exiting from signal
...
darcs-hash:20051127232409-ac50b-d316781e373c078fecf857a199594a00184361a9.gz
2005-11-28 09:24:09 +10:00
axel
bda7948719
Make sure fishd synchronization happens only when needed
...
darcs-hash:20051127232208-ac50b-927157fb9b5d3e44981f9ec029735531ae59fd61.gz
2005-11-28 09:22:08 +10:00
axel
e800fca499
Use better test for presense of getopt_long function
...
darcs-hash:20051127150603-ac50b-566999b0cb32bc150dc6ef43220452ab42f1ad64.gz
2005-11-28 01:06:03 +10:00
axel
eed4b75389
Remove config.h.in from repo, it is autogenerated by autoheader
...
darcs-hash:20051125162839-ac50b-bbd4dc02684028a45c19de50cdfa52e020368491.gz
2005-11-26 02:28:39 +10:00
axel
5974dd68b0
Use iswspace instead of the GNU extention iswblank
...
darcs-hash:20051125144434-ac50b-088a2a8066537f19f287f9dad1611a172addd053.gz
2005-11-26 00:44:34 +10:00
axel
680c0aff05
Use short style switch on set_color, since long style getopt not always available
...
darcs-hash:20051125144406-ac50b-ca222e2fb3f2396489fb5eca64f2eff32b654404.gz
2005-11-26 00:44:06 +10:00
axel
4a2bdeebef
Fire pending events when interrupted while reading from keyboard
...
darcs-hash:20051125141826-ac50b-12e763c0a7f1b4e9136e38de7a8921ff2d1a74e7.gz
2005-11-26 00:18:26 +10:00
axel
dfa251a1ab
Remove ifdefs from function code
...
darcs-hash:20051125141657-ac50b-4dabc1dea3c90accafdcab78f683412858d77541.gz
2005-11-26 00:16:57 +10:00
Claes Nästén
82cb97d3e3
builtin ulimit checks
...
Adds checks for RLIMIT_NPROC, RLIMIT_RSS and RLIMIT_MEMLOCK not available
on all platforms.
darcs-hash:20051124111321-cac88-606a61ca0f3baa69115be658a056f42a5a9318ad.gz
2005-11-24 21:13:21 +10:00
axel
7d334914f7
Minor code tweaks
...
darcs-hash:20051123185743-ac50b-dc35b7f64e5416f3f2749edebd5235abb5bdff98.gz
2005-11-24 04:57:43 +10:00
axel
27a60f465d
Change name of fishd log file
...
darcs-hash:20051123185710-ac50b-bd3e5d1664a4832bfee579a027bbce9ac6661b2d.gz
2005-11-24 04:57:10 +10:00
horeah
279159384e
Added support for recursive wildcards
...
darcs-hash:20051123153503-b56f0-6d837388e8bbfdebba9a399f8374b3e8433e5a32.gz
2005-11-24 01:35:03 +10:00
axel
d748e05cb9
Make sure installation path is in PATH
...
darcs-hash:20051103162625-ac50b-e70d6bff6a83130cd905008e65da34984bf64a7b.gz
2005-11-04 02:26:25 +10:00
axel
d50c051eec
Change quoting rules to POSIX style
...
darcs-hash:20051102164913-ac50b-d4b696394e13a2d4c787f8ee1a2b209317dddb51.gz
2005-11-03 02:49:13 +10:00
axel
8d58e58d7b
Minor performance tweaks
...
darcs-hash:20051102154159-ac50b-9a32fb6cc654c593048840ebd9f6abb97c2e0bb8.gz
2005-11-03 01:41:59 +10:00
axel
c8c3715aac
Bump to 1.16.2
...
darcs-hash:20051102145930-ac50b-94dc822e0f57c2774ce93023415742f5655ec5c7.gz
2005-11-03 00:59:30 +10:00
axel
7ffcebb9f8
No special casing for installing to $HOME
...
darcs-hash:20051102145252-ac50b-ebb3471f18c53f2ae0d1ec78e0c6ca60b46ff07e.gz
2005-11-03 00:52:52 +10:00
jan.fader
831d95b600
Bugfixing for the last patch
...
darcs-hash:20051101215628-9ad71-5ca66671c1707ac16f280504ae2eebbe6e07b6e8.gz
2005-11-02 07:56:28 +10:00
jan.fader
0ffeb41c28
Patch for the stupid defaults of autoconf
...
darcs-hash:20051101205215-9ad71-a954e2626d13c91435ca3cddc6f6af6b61f75f72.gz
2005-11-02 06:52:15 +10:00
axel
e8d02159da
Fix minor bug in completions for make, which caused it to fail completing targets beginning with 't'
...
darcs-hash:20051027152332-ac50b-cb3741f7ea0c74a6885e31f78f2aa79323ae48a1.gz
2005-10-28 01:23:32 +10:00
axel
b78fba810c
Fix crash bug when pasting long text
...
darcs-hash:20051027152148-ac50b-b47b96bc8acae760ce53a2e42d23dc2d07bf2302.gz
2005-10-28 01:21:48 +10:00
James Vega
43213ee458
fish_tests.c: Include header files for missing function definitions.
...
darcs-hash:20051027122003-35ec8-439007fc422a260e1912c9ac06f6a64ce67d79b6.gz
2005-10-27 22:20:03 +10:00
axel
da316dd588
Do not override users sysconfdir setting
...
darcs-hash:20051027144510-ac50b-fc670196f1ec55c9703a8c44d1411a9380a8a0cf.gz
2005-10-28 00:45:10 +10:00
axel
c8bc79005c
Minor performance tweak: Do not allocate any heap memory for hash_table_t until an element is inserted. That way, hash tables that never contain any data will not cause a call to malloc()
...
darcs-hash:20051026144823-ac50b-570dfe169a2ce693458c493e8f103884de3c5078.gz
2005-10-27 00:48:23 +10:00
axel
5ba0affdd7
Minor performance tweaks
...
darcs-hash:20051026105102-ac50b-ffa35c43fd9e1aad47229260e5d7da4249cacdcf.gz
2005-10-26 20:51:02 +10:00
axel
721f616964
Add documentation for the vared shellscript function
...
darcs-hash:20051025143355-ac50b-d7aaecf4b2de062fb2c56928bd6a6919ad6d223c.gz
2005-10-26 00:33:55 +10:00
axel
ef4345968e
vared function used older uppercase names for fish colors
...
darcs-hash:20051025134851-ac50b-f21b7c3e876f98b39f1d2382e2919d77c38bfdb4.gz
2005-10-25 23:48:51 +10:00
axel
319956c26b
Predecalre variables in psub
...
darcs-hash:20051025134043-ac50b-225c021c00211918b8c6957a10018497891cf456.gz
2005-10-25 23:40:43 +10:00
axel
a9bf64465c
Use select instead of poll to avoid MacOS X bugs
...
darcs-hash:20051025112247-ac50b-b6c98618716401f39308bdc665401bd34819ce9d.gz
2005-10-25 21:22:47 +10:00
axel
ddcb84aa07
Fix problem bug breaking completion in commands with multiple subshells
...
darcs-hash:20051025110352-ac50b-fff319ddcbafb722b9bc3c61aa1b250b290716a5.gz
2005-10-25 21:03:52 +10:00
axel
d332293245
Make sure PATH contains vital directories during init
...
darcs-hash:20051025093945-ac50b-8939b844e472caf43a206e2a0dbfa0d48ffdd45c.gz
2005-10-25 19:39:45 +10:00
axel
48afe8062e
Make sure fish color settings are valid colors
...
darcs-hash:20051024175108-ac50b-3abfbd8b5974c7a3a53bc70d425d41dd1295da02.gz
2005-10-25 03:51:08 +10:00
axel
277f9b7e60
Huge API documentation cleanup
...
darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
2005-10-25 01:26:25 +10:00
axel
f8de9de13d
Code cleanups and API documentation updates
...
darcs-hash:20051023121429-ac50b-6ff72171b5a90b6e398bd84e748388c1dba831d9.gz
2005-10-23 22:14:29 +10:00
axel
ba6ad5025e
Make sure USER variable is correct. Needed when using the su command.
...
darcs-hash:20051023102232-ac50b-4ed7c9de75ece8a1d9ba7ec5c086bde146436db9.gz
2005-10-23 20:22:32 +10:00