ridiculousfish
0d0b2ce9b3
Update doc and message.pot targets for new src directory
2015-07-25 17:44:15 -07:00
ridiculousfish
16ad5d3a2e
Add cppcheck.sh driver script for running cppcheck
2015-07-25 17:33:34 -07:00
ridiculousfish
92e9297a15
Update xcode project for new Xcode
2015-07-25 16:48:52 -07:00
ridiculousfish
ac72db8ef0
Make our wgettext() implementation a little less terrifying
...
Use wchar_t* directly instead of wcstring.c_str()
2015-07-25 16:01:59 -07:00
ridiculousfish
9b4e365517
Update 'depend' target so make depend works again
...
This is very ugly because makedepend has no native support
for building outside the source tree. It always wants to
prepend 'src/' to the object file path. So instead we have
to cons up a new source tree, with the sources files at the
root, and run makedepend on that.
2015-07-25 15:17:08 -07:00
ridiculousfish
c0cefde5d1
Manually update Makefile depends
...
Temporary fix until the 'make depend' target can be sorted out
2015-07-25 13:23:18 -07:00
ridiculousfish
1786a7cdc4
Use the address-of operator when checking for weak symbols
...
This fixes a warning with gcc on OS X
2015-07-25 13:02:58 -07:00
ridiculousfish
a91e8887cd
Migrate source files into src/ directory
...
This change moves source files into a src/ directory,
and puts object files into an obj/ directory. The Makefile
and xcode project are updated accordingly.
Fixes #1866
2015-07-25 12:31:57 -07:00
David Adam
d3a0372e89
grep completions: remove trailing end statement
2015-07-26 00:16:48 +08:00
David Adam
30ea4fc416
Makefile: typo fixes in check-legacy-binaries
2015-07-25 16:52:19 +08:00
David Adam
d1d36cc9af
Merge branch 'death_of_mimedb'
2015-07-25 13:04:28 +08:00
David Adam
b2a97e4245
Makefile: Add mimedb and fishd to check-legacy-binaries target
2015-07-25 12:27:27 +08:00
PythEch
b32f770a69
Fix Unknown Signal 'winch'
...
Fixes an annoying error that affects machines with Turkish locales
2015-07-24 08:56:14 -07:00
David Adam
78d4f22ce4
__fish_print_mounted: expand scope on non-Linux platforms
2015-07-24 18:35:10 +08:00
Fabian Homborg
3925929979
Fix mountpoints with spaces on linux
...
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2015-07-24 18:33:35 +08:00
David Adam
60fdd71f74
read: update completions
...
--right-prompt added in fe9cf673a2
but missed from the
completions.
With thanks to nafg@github.
2015-07-24 18:18:10 +08:00
ridiculousfish
b4f53143b0
Migrate source files into src/ directory
...
This change moves source files into a src/ directory,
and puts object files into an obj/ directory. The Makefile
and xcode project are updated accordingly.
Fixes #1866
2015-07-24 00:59:27 -07:00
David Adam
9c2fdc6da5
fish.spec.in: re-add to source treee
...
Imported from https://github.com/zanchey/fish-build/
Work on #2020 .
Note that this is explicitly removed from `git archive` tarballs in
keeping with the changes in 0effcf6df1
.
2015-07-24 10:58:30 +08:00
Lars Grefer
821e8ec59a
Completion support for the main commands of the travis command line tool
2015-07-24 02:29:53 +02:00
David Adam
4401abb166
tutorial: arrays as a synonym for lists
...
Closes https://github.com/fish-shell/fish-site/issues/13
[skip ci]
2015-07-23 18:43:57 +08:00
Razzi Abuissa
27be004c64
docs: typo fixes
...
[skip ci]
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2015-07-23 15:12:10 +08:00
David Adam
6c668868e9
death of mimedb: remove mimedb from the tree
2015-07-23 14:35:35 +08:00
David Adam
6add8a7df9
open: drop mimedb dependency
2015-07-23 14:26:38 +08:00
David Adam
7fa69ef8be
__fish_complete_suffix: don't provide file description by default
...
Drops dependency on the mimedb tool and reflects the changes made to the
default chooser for files in #279 .
2015-07-23 14:26:38 +08:00
David Adam
f77f71c17e
__fish_{filter,complete}_mime: drop from tree
...
These are undocumented and unused, and rely on mimedb which is being removed
from the tree.
2015-07-23 14:26:38 +08:00
David Adam
749b9182ab
wildcard.cpp: don't call mimedb to complete suffixes
2015-07-23 14:26:38 +08:00
Fabian Homborg
3b0805f4d7
Normalize *diff completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
0c1485c325
Normalize *grep completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
86554d66d0
Indent svn completion
...
Seems emacs' fish-mode sometimes breaks
2015-07-20 15:19:03 -07:00
Fabian Homborg
6475d763d0
Remove function and descriptions from rc-service completion
...
The descriptions are "Start: Start the service"
"Stop : Stop the service"
"Restart: Restart the service"
2015-07-20 15:19:03 -07:00
Fabian Homborg
7add4d5782
Normalize *tex completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
f70b1ffbbf
Normalize python* completion
2015-07-20 15:19:03 -07:00
Fabian Homborg
8a9b7dc63a
Normalize *sum (md5sum et al) completions
2015-07-20 15:19:03 -07:00
Fabian Homborg
3f30096727
Normalize svn completion
2015-07-20 15:19:02 -07:00
Fabian Homborg
52ff997bf0
Normalize atool completions
...
Remove function, use wrapping.
2015-07-20 15:19:02 -07:00
ridiculousfish
08911e2dcc
Fix for miscellaneous issues identiifed by Coverity Scan
2015-07-20 02:34:57 -07:00
ridiculousfish
dd4639e5db
Make remove_backward coalesce repaints like it ought to
2015-07-20 00:45:44 -07:00
ridiculousfish
2109af0987
Implement lowercase-r replace in fish_vi_mode
...
Fixes #1595
2015-07-20 00:29:08 -07:00
ridiculousfish
68bbe13d23
Make R_SELF_INSERT only insert characters, not readline functions
...
This enables readline functions to appear after the self-insert
when defining bindings. This is preparation for fixing #1595 .
2015-07-20 00:29:08 -07:00
Fabian Homborg
b1a0498ff9
Update emacs completion with all options, remove silly mime-hack
...
__fish_complete_mime used in that way is a no-op on current fish anyway,
and emacs is by no means useful for just text files (it can also view
PDFs, images, ...).
Otherwise this completion currently only offers options, not arguments.
For most these are pretty much incompletable (lisp code, for example),
and for others it's just not all that useful.
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2015-07-20 09:05:37 +08:00
Fabian Homborg
882f4714ac
pacman completion: Turn into regular completion
...
This used to be a function because we didn't have complete -w
Use that and it becomes a bit simpler.
This also simplifies the code in a few other ways (like removing a
useless-use-of-cat)
and adds comments about a few edgecases.
2015-07-19 18:03:01 -07:00
Judson
e7273e1d81
All wcwidth is broken
2015-07-19 17:54:07 -07:00
Fabian Homborg
f359ded336
sysctl completions: Add OSX support
2015-07-19 17:52:25 -07:00
Fabian Homborg
ff4b1104a2
Add sysctl completion
...
See fish-shell/fish-shell#1375
2015-07-19 17:52:25 -07:00
David Adam
a550695cba
fishd is dead, long live fishd
...
[skip ci]
2015-07-20 08:39:59 +08:00
David Adam
9438d33358
Makefile: update dependencies with make depend
2015-07-20 08:39:45 +08:00
Fabian Homborg
e35a2450d9
Apropos completion: Ignore stderr
...
Fixes fish-shell/fish-shell#1171
2015-07-19 17:32:03 -07:00
Fabian Homborg
616d848fac
Add .fish suffix to funced's tempfile name
...
This allows editors (like emacs) to pick up on the fact that it's a fish script.
2015-07-19 17:22:09 -07:00
Fredrik Fornwall
a4b17b162c
Remove non-portable "extern int errno" declaration
...
Declaring errno as an extern int breaks when errno is implemented
as a macro (as is allowed by POSIX). Specifically it breaks
building fish-shell on Android.
2015-07-19 17:16:53 -07:00
Nicholas Maccharoli
9fd6b5e1e2
Use newer syntax for autorelease pool
2015-07-19 17:16:01 -07:00