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