ridiculousfish
4aaa9e7d9f
Allow autosuggestions to do job expansion. Fixes
...
https://github.com/fish-shell/fish-shell/issues/1152
2013-11-29 13:34:03 -08:00
ridiculousfish
84483b4aac
Fix for process expansion off the main thread in syntax highlighting
...
(#1143 )
2013-11-26 23:56:47 -08:00
ridiculousfish
9f6223311e
Large cleanup and refactoring of unescape() function.
2013-11-24 22:58:39 -08:00
Konrad Borowski
6aebeca1d0
Highlight incorrect use of command or exec
2013-07-27 14:57:16 +02:00
ridiculousfish
f9c2a77c67
Next stab at abbreviations. Highlighting should work.
2013-07-19 12:41:35 -07:00
ridiculousfish
1511de68ed
Make parse_util_locate_cmdsubst return the innermost command substitution instead of the outermost.
...
Fixes https://github.com/fish-shell/fish-shell/issues/913
2013-07-17 01:35:30 -07:00
ridiculousfish
2da81b0ae7
Formatting and style updates
2013-05-05 02:33:17 -07:00
ridiculousfish
fe6699f0bf
Rely on $PWD instead of getcwd() more often
...
Fixes https://github.com/fish-shell/fish-shell/issues/696
2013-04-27 00:45:38 -07:00
ridiculousfish
6b602a4589
Minor cleanup in syntax highlighting
2013-04-19 10:24:33 -07:00
ridiculousfish
b8f34cdd35
Teach case-insensitive completions about tildes. Fixes https://github.com/fish-shell/fish-shell/issues/647
2013-04-07 23:54:43 -07:00
ridiculousfish
b2abd963f0
Fix an exception when parsing a multi-line command that ends in cd
...
https://github.com/fish-shell/fish-shell/issues/511
2013-01-11 12:58:52 -08:00
ridiculousfish
0b1e371880
Changes to work recognition per https://github.com/fish-shell/fish-shell/issues/384
...
Word movement should be very similar to fish 1.x
backward-kill-word remains more liberal, but now stops at any of {,'"=}
2012-12-20 17:37:09 -08:00
ridiculousfish
7117c4a5ee
Remove tok_destroy
2012-11-21 22:14:28 -08:00
ridiculousfish
a3a7c48799
Modify tokenizer to store last token in a wcstring
2012-11-21 22:09:35 -08:00
ridiculousfish
f545fb2491
Work towards refactoring tokenizer to be a real object
2012-11-21 17:48:35 -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
7c09a767b6
Don't expand jobs during syntax highlighting
...
Fixes https://github.com/fish-shell/fish-shell/issues/366
2012-10-28 16:35:17 -07:00
ridiculousfish
ff124465fd
Clean up some warnings and some unused if-related code
2012-09-01 12:29:00 -07:00
ridiculousfish
5bbf220077
Fix bug where underlining was failing for paths prefixed with ~
...
Fixes https://github.com/fish-shell/fish-shell/issues/292
2012-08-23 11:21:35 -07:00
ridiculousfish
6eb66770a4
Fix to make completions non-authoritative by default, which is why unknown options were always colored like errors (e.g. --rebase)
2012-08-06 23:34:55 -07:00
ridiculousfish
4906609dd9
Fix for assertion failure in syntax highlighting
2012-08-04 18:02:13 -07:00
ridiculousfish
c67702a498
Cleaned up lots of typecasts, simplified some string handling
2012-08-04 15:11:43 -07:00
ridiculousfish
7a46227141
More warning fixes and switching from int to long or size_t
2012-08-04 13:02:44 -07:00
ridiculousfish
b904aa78e8
Additional warning cleanup and switching from int to size_t where appropriate
2012-08-04 11:34:45 -07:00
ridiculousfish
2e1b3325c6
Warning cleanup
2012-08-04 11:34:45 -07:00
ridiculousfish
261bf12c91
Lots of miscellaneous cleanup. Unified the path_get_cd_path, path_allocate_cd_path, etc. functions
2012-07-20 22:11:05 -07:00
ridiculousfish
b08fb86637
Renamed env_vars to env_vars_snapshot_t
...
Cleanup of non-wcstring version of path_get_path
2012-07-20 20:39:31 -07:00
ridiculousfish
d06d6c6964
Various changes to reduce fish's compiled code size
...
OS X release build executable size dropped from 672k to 511k
2012-07-17 12:47:01 -07:00
ridiculousfish
345a528625
Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp.
...
Add some autosuggestion tests
2012-07-06 14:34:53 -07:00
Siteshwar Vashisht
05c721bebb
Some improvements to validate commands suggested from history
2012-06-29 00:24:37 +05:30
ridiculousfish
27212719dc
Removed an errant printf
2012-06-17 13:20:31 -07:00
ridiculousfish
6cf42075fc
Fix to check for case insensitive filesystems in is_potential_path
...
Addresses https://github.com/fish-shell/fish-shell/issues/119
2012-06-16 14:08:58 -07:00
ridiculousfish
b7ba252965
Restore implicit cd for paths starting with ., .., or ~
2012-06-02 14:04:25 -07:00
ridiculousfish
f5442bdd4a
Fixed cd autosuggestion for absolute paths
...
Removed some unnecessary path cleanup that is_potential_path now handles
2012-05-13 20:49:14 -07:00
ridiculousfish
129525af21
Fix for https://github.com/ridiculousfish/fishfish/issues/3
...
cd's special autosuggestion was broken, now fixed. Also, there's some tests for it now.
2012-05-13 20:19:02 -07:00
ridiculousfish
9bcc7df96f
Lots of modernization changed
...
Removed wcsdupcat
2012-05-09 02:33:42 -07:00
ridiculousfish
4885842ae8
Fix to do really nice syntax highlighting of cd command where it colors paths that cannot match any directory with error color
2012-05-07 17:52:02 -07:00
ridiculousfish
4df6b599b8
Eliminate the silly autosuggest_parsed_command_t class; make it just a function
2012-05-07 17:43:05 -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
0e3eb38f11
Improved fork reporting
...
Made autosuggestion work properly for tilde expansion
2012-04-21 20:08:44 -07:00
ridiculousfish
ab536e5199
Fix for incorrectly highlighted parameters
2012-03-31 14:05:14 -07:00
ridiculousfish
c10b3017d6
Improve autosuggesting of cd command
2012-03-30 11:16:24 -07:00
ridiculousfish
3bb537c183
Fix for failing to highlight last quote (or quoted string contents)
2012-03-30 09:58:25 -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
5ae77b4317
For for crash when typing backslash c
2012-03-03 20:38:16 -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
b17dfff3fd
Fix for out-of-bounds write in highlight_param
2012-02-29 16:14:03 -08:00