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
9bcc7df96f
Lots of modernization changed
...
Removed wcsdupcat
2012-05-09 02:33:42 -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
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
47019e315a
Some work towards refactoring how completions are inserted to support escaping in autosuggestions
2012-05-05 13:34:09 -07:00
ridiculousfish
52070ea577
Fix to properly update colors for non-native term256 support
2012-03-31 17:24:11 -07:00
ridiculousfish
c10b3017d6
Improve autosuggesting of cd command
2012-03-30 11:16:24 -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
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
0c9a1a56c2
Lots of work on web config
...
Change to make fish immediately show color changes
2012-03-25 16:00:17 -07: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
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
087940ec9e
Fix a bug where wfopen would always fail
...
Removed some buffer_t
2012-03-03 22:48:21 -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
a0bb2cdc6e
removed some string_buffer
2012-03-03 19:37:55 -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
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
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
52dc415d0b
Fix to add a generation count to threaded operations so they abort early
2012-02-28 12:40:59 -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
8f637975a4
Temporarily disable background completions
2012-02-26 12:16:22 -08:00
ridiculousfish
38e40862fe
More work towards autosuggesting completions
2012-02-25 18:54:49 -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
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
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
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
ridiculousfish
d8a9991738
Fix to avoid calling signal_block off of hte main thread
2012-02-18 23:26:39 -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
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
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
d66700a0e4
Color work
2012-02-11 17:07:56 -08:00
ridiculousfish
9b1930588f
Migrate errors from array_list_t to wcstring_list_t
2012-02-10 17:54:38 -08:00
ridiculousfish
80e8f6a0d1
Removed halloc_wcsdup
2012-02-09 18:59:15 -08:00
ridiculousfish
5f686ebb47
Clean up exec_subshell, removing al_list from it
2012-02-07 23:35:41 -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