ridiculousfish
9b2b7f787e
Migrate history profiling to flog
2019-08-18 11:14:45 -07:00
ridiculousfish
0da87d3e5f
Equip history_item_t with a default constructor
2019-08-17 20:01:44 -07:00
adiabatic
85f57d1d33
Create hledger.fish
2019-08-16 21:25:41 -07:00
ridiculousfish
5101bdeb9f
Remove the WSL warning
...
This warning is annoying and there is no way to disable it.
Ping #5661 . Ping #5298 . Closes #6038
2019-08-16 20:59:53 -07:00
ridiculousfish
f137f24d75
Initialize a const variable
...
Fixes #6041
2019-08-16 17:50:41 -07:00
ridiculousfish
124def8f4b
Un-changelog the history fix
...
Turns out the bug never actually shipped in a release; it bisected to
3ae5b23971
2019-08-15 19:59:35 -07:00
ridiculousfish
a87e0183df
Stop rewriting the history file on every command
...
fish is designed to append to the history file in most cases. However
save_internal_via_appending was never returning success, so we were
always doing the slow rewrite path. Correctly return success.
Fixes #6042
2019-08-15 13:49:17 -07:00
ridiculousfish
7ab291775a
Add flog logging to history
2019-08-15 13:42:23 -07:00
Tobias Hernstig
332b305f81
Documentation: Initialization files paths
...
Adds slash to end of example paths to align with that
~/.config/fish/conf.d/ had a slash at the end.
2019-08-14 20:36:08 +02:00
Aaron Gyes
47798510bd
tests, CHANGELOG: regex-easyesc
...
Oops, missed these the first time around.
2019-08-13 22:56:31 -07:00
Aaron Gyes
edc8d5d7a3
string-replace-fewer-backslashes -> regex-easyesc
...
This shortens a very long feature name.
See discussion in #5805
2019-08-13 22:32:04 -07:00
ridiculousfish
ce178fd6fd
Make escape_yaml_fish_2_0 and unescape_yaml_fish_2_0 static
...
They no longer need to be exposed.
2019-08-12 09:22:21 -07:00
ridiculousfish
3ae5b23971
Migrate append_history_item_to_buffer to history_file.cpp
...
Also eliminate history_output_buffer_t, which no longer does anything useful.
2019-08-12 09:17:10 -07:00
ridiculousfish
6eebe4cc83
Eliminate history_lru_item_t
...
history_item_t is enough
2019-08-11 14:26:22 -07:00
ridiculousfish
6b008c3eae
Stop caching the lowercase string contents in history items
2019-08-11 13:41:04 -07:00
ridiculousfish
92e9a34b47
Simplify history_output_buffer_t
2019-08-11 13:08:31 -07:00
ridiculousfish
2ddde381d4
Clean up next_line() interface and implementation
2019-08-11 12:57:09 -07:00
ridiculousfish
91987a4548
Migrate history file format stuff into new file history_file.cpp
...
Breaks up the history.cpp monolith.
2019-08-11 12:45:04 -07:00
ridiculousfish
74357bac91
Remove an errant semicolon
2019-08-10 16:47:45 -07:00
ridiculousfish
fd5d8c1949
Remove __packed
...
We can use the new C++11 enum type feature to stop using this non-portable
__packed.
2019-08-10 16:04:05 -07:00
ridiculousfish
30fd526fc1
Correct an out-of-bounds index in screen
...
Fixes #6037
2019-08-10 14:32:55 -07:00
adiabatic
ab6fd6554f
Add completions/cwebp.fish
2019-08-08 18:51:13 +02:00
LawAbidingCactus
cc6a82c878
clean up formatting
2019-08-08 18:49:26 +02:00
LawAbidingCactus
cfc18c86a3
document fish_cursor_visual and blinking cursors
2019-08-08 18:49:26 +02:00
LawAbidingCactus
1693b53221
document changes in CHANGELOG.md
2019-08-08 18:49:26 +02:00
LawAbidingCactus
36b9f1ed9c
document vi mode cursor configuration
2019-08-08 18:49:26 +02:00
Fabian Homborg
eb80a90959
Update copyright information
...
Axel left in 2009, so anything after that let's just credit to "contributors".
See #6036 .
[ci skip]
2019-08-08 18:47:36 +02:00
David Adam
a3fa011ef5
fish.spec: BuildRequire python-argparse on RHEL/CentOS 6
2019-08-08 14:10:11 +08:00
ridiculousfish
0dc5eaeb97
reader_expand_abbreviation_in_command to return maybe_t<wcstring>
2019-08-06 16:09:23 -07:00
Daniel Bretoi
575fdb5492
add missing flag
2019-08-06 20:19:12 +02:00
Fabian Homborg
2c32885a2d
Fix build on old gcc by using old-school initialization
...
It appears Gcc 4.8 doesn't get this particular expression, so we just
revert to the old `type foo = bar` style from the new `type foo{bar}`.
Fixes #6027 .
2019-08-05 18:08:13 +02:00
adiabatic
9b89b820da
Add completions/src.fish
2019-08-05 12:18:29 +02:00
ridiculousfish
29dede8139
Migrate parse_util_detect_errors to a free function
2019-08-04 14:49:56 -07:00
Fabian Homborg
2c3bc1e857
Fix grep wrapper completions
...
[ci skip]
2019-08-04 15:34:33 +02:00
Fabian Homborg
3296bb6c3b
Fix apt-show-versions command name
...
[ci skip]
2019-08-04 15:34:33 +02:00
Fabian Homborg
3fd567749c
Fix latex tool completions
...
Again the wrapping was used the wrong way around.
(also why on earth are there like fifty of these darn things?)
[ci skip]
2019-08-04 15:34:32 +02:00
Fabian Homborg
ab1b2b84f6
Move netcat completions to an autoloadable name
...
The file was named "netcat", but it completes a tool named "nc", so it
wouldn't be loaded.
[ci skip]
2019-08-04 15:34:32 +02:00
Fabian Homborg
8ea034837d
Remove pacsrv completions
...
These have been broken for 4 years (completed `pacsrc` instead), and I
can't find the tool anywhere.
[ci skip]
2019-08-04 15:34:32 +02:00
Fabian Homborg
0fc4b415ac
Fix rgrep completions
...
This used the arguments the wrong way around.
2019-08-04 15:34:32 +02:00
adiabatic
75a6ad602f
completions/canto.fish: s/cnato/canto/
2019-08-04 15:21:41 +02:00
mk2
0083555925
Move __fish_complete_abook_formats to abook
2019-08-04 15:20:32 +02:00
Shun Sakai
67cf50eda4
Added completions of languages developed by Microsoft
...
* csc, csi, vbc - .NET Compiler Platform (Roslyn)
* fsharpc, fsharpi - F# compiler and REPL environment
* tsc - TypeScript compiler
2019-08-03 14:47:59 -07:00
ridiculousfish
73bf60754c
Don't assign jobs to fish's pgrp if there's no external process
...
Fixes #6011
2019-08-03 14:43:55 -07:00
Klaus Alexander Seistrup
28a17c4b05
Document that the : command now always exits successfully
2019-08-03 18:14:12 +02:00
Klaus Alexander Seistrup
7046d251d9
Make sure nop command always suceeds
2019-08-03 18:14:12 +02:00
ridiculousfish
95c97619c6
Use cbegin() in one place in reader
2019-07-31 14:23:41 -07:00
Mark Stosberg
d2455bdd5a
Document alternates for common arrow key usage.
...
Arrow keys are often not conveniently located on keyboards, so the use of arrow keys for common keyboard shortcuts can be a turn-off for some.
I found that fish supports alternate keybindings for these cases but I didn't seem them documented in these places where the arrow keys versions are highlighted.
2019-07-31 14:09:43 +02:00
Fabian Homborg
6500765256
Allow switch
with something that expands to nothing
...
Meaning empty variables, command substitutions that don't print
anything.
A switch without an argument
```fish
switch
case ...
end
```
is still a syntax error, and more than one argument is still a runtime
error.
The none-argument matches either an empty-string `case ''` or a
catch-all `case '*'`.
Fixes #5677 .
Fixes #4943 .
2019-07-31 14:08:28 +02:00
Fabian Homborg
57ffd18787
tests/checks/set: Make a temporary XDG_CONFIG_HOME
...
This test uses universal variables, and so it can fail when run
multiple times.
It might be a good idea to do this in general, but for now let's just
try it here.
2019-07-31 13:52:36 +02:00
David Adam
38f6296fdc
README: add Xcode install instructions
...
Closes #5961 .
[ci skip]
2019-07-31 09:17:59 +08:00