Mark Griffiths
cff928e2dc
Merge branch 'master' into documentation-update
...
Conflicts:
doc_src/index.hdr.in -- UPDATED
doc_src/license.hdr -- UPDATED
2014-08-05 13:50:21 +01:00
Mark Griffiths
6aa701b3ee
Fix missed escaped '--' inside /fish block
2014-08-05 13:07:46 +01:00
ridiculousfish
cb480dddf6
Don't try to colorize errors when running in Xcode
2014-08-04 13:55:53 -07:00
ridiculousfish
33c714ca03
Add fish_tests target to Xcode build
...
Allows running the tests in Xcode
2014-08-04 13:32:23 -07:00
Gio d'Amelio
bcda3f1baa
Set $CMD_DURATION to milliseconds. Fixes #1585
2014-08-04 13:36:39 +08:00
David Adam
4ae2753025
Authenticate connections to web_config service
...
- Require all requests to use a session path.
- Use a redirect file to avoid exposing the '/start' URL on the
command line, as it contains the cookie value.
Fix for CVE-2014-2914.
Closes #1438 .
2014-08-04 13:34:26 +08:00
David Adam
b5cd21c337
Further fixes to universal variable server socket management
...
- Change fishd_path to std::string
- Warn, rather than exiting with an error, if the universal variable
server path is not available, and provide more useful advice.
- Export the new __fishd_runtime_dir variable.
2014-08-04 13:26:14 +08:00
David Adam
8844f0c142
Clarify I/O redirection documentation
...
Fix the examples and try and improve the clarity of the section.
Closes #1409 .
2014-08-03 18:54:10 +08:00
David Adam
4cb4fc3ef8
Fix for CVE-2014-2905 - fishd restart required.
...
- Use a secure path for sockets (some code used under license from
tmux).
- Provide the secure path in the environment as $__fish_runtime_dir.
- Link the new path to the old path to ease migration from earlier
versions.
Closes #1359 .
After installing fish built from or after this commit, you MUST
terminate all running fishd processes (`killall fishd`, `pkill fishd`
or similar). Distributors are encouraged to do this from within their
packaging scripts. fishd will restart automatically, and no data should
be lost.
2014-08-03 17:00:14 +08:00
David Adam
6cabd42ed2
Remove getpeerid/getpeerucred and fallbacks
2014-08-03 15:40:44 +08:00
ridiculousfish
0daee33ad6
Document new fish_title behavior per #334
2014-08-03 00:00:26 -07:00
ridiculousfish
b97a94ccc8
Clean up reader_write_title to work with wcstring
2014-08-02 21:01:40 -07:00
Mark Griffiths
5cc3dcdbd8
Add lexicon filter to manpages.
...
Fixed manpage 'NAME'. Under Doxygen 1.8, the output format has
changed, so the old sed script was leaving man pages with two titles.
2014-08-03 02:25:47 +01:00
Mark Griffiths
7e3382340e
Lexicon filter: fix 'if' and 'for' special cases
2014-08-03 02:22:23 +01:00
jianjun
87abcecca6
add command line string as $argv[1] for fish_title
2014-08-02 12:57:38 -07:00
Mark Griffiths
8ca88f14f7
Style fix for sub-line comments
2014-08-02 17:11:00 +01:00
Mark Griffiths
b4a4a7c611
Fixes lexicon filter pipes '|"
2014-08-02 17:10:28 +01:00
Kevin Stone
556680cf5e
Update grunt.fish
...
Fixed command error when no local Gruntfile results in a command error.
Fixes #1592 .
2014-08-02 00:04:26 -07:00
Mark Griffiths
f4077bd41f
Merged in latest changes to docs and formatting tweaks
...
Addresses issue #1557 as well as fixing many typos, HTML errors and
inconsistencies. Also introduces automatic syntax colouring and enables
new documentation to be written in Markdown. TODO fix Tutorial.
2014-08-02 04:51:43 +01:00
Mark Griffiths
cb5c560688
Simplify styling
2014-08-01 13:25:41 +01:00
Mark Griffiths
8ac0fdfea7
Merge branch 'master' into documentation-update
...
Conflicts:
doc_src/history.txt
doc_src/test.txt
2014-08-01 05:16:02 +01:00
Mark Griffiths
6dfd71670a
Removed dupes from gitignore
2014-08-01 04:21:04 +01:00
Mark Griffiths
4d4cc34aff
Added some clutter
...
Subllime and a few temporary files.
2014-08-01 04:11:28 +01:00
Mark Griffiths
c070a2aa3e
Documentation update
...
Rework for Doxygen >1.8. Moved large parts of the documentation to a
simplified format, making use of Markdown enhancements and fixing bad
long options.
2014-08-01 03:37:32 +01:00
David Adam
af14cf8f8b
Revert "Check effective credentials of socket peers"
...
This reverts commit 8412c867a5
.
Just checking the credentials of the peer turns out to be insufficient.
See https://github.com/fish-shell/fish-shell/issues/1436 .
2014-07-31 16:57:42 +08:00
ridiculousfish
35ba97cbdf
Fix up OSC / iTerm2 escape code parsing as part of #1565
2014-07-30 11:35:39 -07:00
George Nachman
9f59cf1468
Parse OSC codes in escape_code_length(). They begin with <esc> ] and are terminated with ST (<esc> backslash) or BEL (ASCII 7).
2014-07-30 11:35:39 -07:00
Konrad Borowski
6c80a3461c
Add support for toor account.
...
Currently fish doesn't recognize toor as special. However, it's likely
that on BSD systems, fish shell will be used on toor, not on root (toor
is an intentionally existing account to use more advanced shell on, like
shell).
2014-07-30 11:55:47 +02:00
phette23
5591afff6e
add completions for Node.js & NPM
2014-07-29 18:35:08 -07:00
ridiculousfish
8144725739
Fix bad example in docs for test -n $MANPATH
...
Fixes #1574
2014-07-29 14:44:51 -07:00
ridiculousfish
52ae5f885e
Improve history robustness against corrupt files
...
Fixes #1581
2014-07-29 14:42:03 -07:00
ridiculousfish
b6658c5497
Render sample prompts faster in fish_config by using a thread pool
2014-07-29 12:12:32 -07:00
ridiculousfish
aad5163b49
Make prompt selection more like color selection in fish_config. Remove
...
the "show prompt source" button.
2014-07-29 11:00:39 -07:00
David Xia
6d18bf5cd4
Fix umask function regex
...
Some grep implementations complain of empty subexpression
fixes #1313
2014-07-29 01:43:18 -04:00
David Xia
adabc2d7a0
Fix fish_config error with python3
...
Closes #1253 .
2014-07-28 22:02:55 +08:00
ridiculousfish
d07ea3b66a
Teach fish to compute the length of more escape sequences.
...
Fixes #1243
2014-07-26 14:07:17 -07:00
ridiculousfish
2bb08a4ca0
Make abbreviations work correctly with type-ahead
...
Fixes #1434
2014-07-25 12:23:42 -07:00
ridiculousfish
30ae473d85
Clean up default environment variables.
...
This stops unconditionally setting values for HOME and USER,
if we find those values in the environment. It also saves about 16KB
on OS X, which getpwuid allocates.
2014-07-25 10:49:13 -07:00
ridiculousfish
e9f870e25a
Add support for history --merge to incorporate history changes from
...
other sessions.
Fixes #825
2014-07-25 10:49:12 -07:00
Siteshwar Vashisht
317660c2fe
Avoid using OptionParser to parse bindings in webconfig.py
...
OptionParser eats commaandline arguments passed to bind actions, so avoid using it.
2014-07-25 08:39:31 +05:30
ridiculousfish
5e60efefbf
Allow parse_util_detect_errors to treat incomplete strings as errors
...
Fixes bug where sourcing a file with an unclosed quote would not have a
backtrace
2014-07-24 14:41:15 -07:00
ridiculousfish
f6a89d13c2
Merge branch 'master' of github.com:fish-shell/fish-shell
2014-07-23 22:27:37 -07:00
Siteshwar Vashisht
3e01dd955f
Updated code to parse bindings in webconfig.py
2014-07-23 01:53:15 +05:30
adisbladis
27fa0ea9d7
"webconfig.py: Don't allow NoneType as buffer, fallback to bytes.
...
Fixes TypeErrors when using bindings tab"
2014-07-22 12:31:57 +02:00
Michishige Kaito
2de914d8c3
Select the 4th line of output, instead of the second to last line
2014-07-16 18:22:27 +01:00
Michishige Kaito
616fa85458
Add grunt completion
2014-07-16 16:53:18 +01:00
ridiculousfish
20ad496c00
Merge pull request #1559 from davidxia/add-vi-mode-docs-fixes
...
Fix minor syntax and capitalization mistakes in vi mode docs
2014-07-15 19:05:03 -07:00
David Xia
fa88c42cf1
Fix minor syntax and capitalization mistakes in vi mode docs
2014-07-15 21:59:08 -04:00
David Xia
e84a762171
Add docs for vi mode
...
fixes #1536
2014-07-15 21:29:02 -04:00
Kevin Ballard
16e50c258a
type: Restore combined flags behavior
...
Fix the parsing of `type` flags to handle combined short flags as
appropriate, e.g. `type -qf ls`.
2014-07-14 11:27:11 -07:00