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
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
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
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
Cheer Xiao
a0edee51fa
Fix typo
2013-01-21 00:29:23 +08: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
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
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
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
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
b9283d48b5
Added a history speed test
...
Profile driven caching of config directory
Style fixes
2012-12-03 02:25:08 -08:00
ridiculousfish
1feea366ca
Fix for off by one error with "missing newline" code
2012-12-01 20:05:49 -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
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
26678682ca
Fix indentation of switch statements
2012-11-19 00:31:03 -08:00
ridiculousfish
9992b8eb0e
Apply new indentation, brace, and whitespace style
2012-11-18 16:30:30 -08:00
Łukasz Niemier
47df1ae40a
Remove trailing whitespaces and change tabs to spaces
2012-11-18 11:23:22 +01: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
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
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
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
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
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
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
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
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
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
Siteshwar Vashisht
32d2d0f0d0
Minor refactoring and fixed a bug in history function
2012-07-24 04:35:37 +05:30
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
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
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
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
a34565ca0f
Make screen.cpp properly compute the length of term256 escape codes
2012-04-13 14:40:16 -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
0c9a1a56c2
Lots of work on web config
...
Change to make fish immediately show color changes
2012-03-25 16:00:17 -07:00
ridiculousfish
2c5001a5b3
Removed buffer_t
2012-03-04 02:45:51 -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