Skip to content

Commit

Permalink
[autosuggestions] Bump external repository to version v0.4.0
Browse files Browse the repository at this point in the history
14179d8 Bump version
281ed9b v0.4.0 changelog updates
83129dd Make asynchronous suggestions disabled by default
a2f0ffb Enabling suggestions should not fetch a suggestion if buffer is empty
7d4a1d9 Add enable/disable/toggle widgets to disable suggestion functionality
e1959d0 Put in a general fix for sorin-ionescu#219 - Handling input from `zle -U`
c52c428 Fix issues with widgets wrapped by other plugins
ea505b0 Add a spec for unlisted widgets fetching a new suggestion
502fb4a Make tmux_socket_name public so you can access easily from binding.pry
ce36224 Use pry-byebug instead of pry for more functionality
39762ec Set up circle ci
468b740 Test should be passing block to RSpec wait_for
c9a51e0 Handle dashes at the beginning of commands
48a21bf [cleanup] Remove an extra newline
4afbbba We only need to run the feature detection if starting async
e3fa4e4 Don't do anything but re-bind widgets on each precmd
2cd99e6 Add a test for modifying widget list vars after sourcing plugin
c70d685 Clean up widget list spec
255359d Use `+=` to be a bit more true to the spec language
4321fc0 We need to bind on every precmd to ensure we wrap other wrappers
75e8505 Gracefully handle being sourced multiple times
a0fcd81 Destroy zpty on load if it already exists
39ca3da Use a different name for feature detection zpty
dcce973 Remove support for long-deprecated options
0c940e7 Don't bind any zle-* methods
23ef16c Do not show suggestions if the buffer is empty
9381445 Fix tests
c4bfd8e Need to prevent zpty feature detection from HUPing existing zptys
c959408 Only wait a max of 2 seconds for content to match after clearing screen
06fca77 Readme updates for v0.4.0
9feac57 Do not show any error output from async zpty server process
ed8056c Lots of async changes
38eb7cd Update license date
64e7ec5 Rename internal term session method
98f926d Clean up TerminalSession constructor a bit
51e8755 TerminalSession methods return self to support chaining
5151adf Make TerminalSession#clear block until the screen is cleared
2c465a9 Rename async pty name config var
e3eb286 Lots of little async cleanups
c342587 Wait for the terminal.clear to go through before continuing
89dd69d Add pry gem for debugging support
40bb2e7 little cleanup
16666da Handle versions of zsh where zpty does not set REPLY to fd of opened pty
f33b605 Move async initialization into `start` function to keep in one place
78ba071 Add feature detection
3f57198 Only bind widgets once, on initial sourcing
2dbd261 Allow configuring of zsh binary to run integration tests against
6c5cd42 Go back to tracking last pid because `kill %1` didn't seem to be working
54e1eee Optimize case where manually typing in a suggestion
21d9eda Wrap suggestion fetch command in parens to actually run in background
50e6832 Escape the prefix passed into the match_prev_cmd strategy
0305908 Revert `fc` usage in calculating suggestion
8e06a54 Add test for string with "\n" in it
b3208b0 Pass the chosen strategy into the suggestion server pty
ab27425 Quote the suggestion to support sh_split_word option
e5a5b0c Output only newlines in the pty
0337005 Disable word splitting while reading to preserve whitespace
b530b0c Use `zpty -r` with pattern matching to fetch suggestion
5c891af Reset zsh options inside pty (from zsh-async)
e33eb57 Send only the prefix to the suggestion server
fba20b0 Use %1 instead of tracking pid
0308ed7 Rename worker to server
e72c2d8 add a bunch of comments
ab8f295 First pass at async functionality
debbffc Add rspec test around accepting suggestions
4850119 Add separate test task for RSpec
c22ab0e Implement suggestion integration tests in RSpec + tmux
07a6768 Add TerminalSession helper for managing a tmux session
e6591d5 Add RSpec for high-level integration testing
af671fb Add ruby settings to editor config
  • Loading branch information
samcv authored and masayukig committed Dec 12, 2018
1 parent 9362865 commit 4b18603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/autosuggestions/external
Submodule external updated 62 files
+8 −0 .editorconfig
+0 −6 .gitmodules
+3 −0 .rspec
+30 −0 .rubocop.yml
+1 −0 .ruby-version
+13 −0 CHANGELOG.md
+5 −0 Gemfile
+41 −0 Gemfile.lock
+1 −1 LICENSE
+7 −18 Makefile
+13 −3 README.md
+1 −1 VERSION
+12 −0 circle.yml
+0 −54 script/test_runner.zsh
+36 −0 spec/integrations/bracketed_paste_magic_spec.rb
+10 −0 spec/integrations/client_zpty_spec.rb
+39 −0 spec/integrations/wrapped_widget_spec.rb
+24 −0 spec/integrations/zle_input_stack_spec.rb
+13 −0 spec/multi_line_spec.rb
+19 −0 spec/options/async_zpty_name_spec.rb
+30 −0 spec/options/buffer_max_size_spec.rb
+7 −0 spec/options/highlight_style_spec.rb
+7 −0 spec/options/original_widget_prefix_spec.rb
+20 −0 spec/options/strategy_spec.rb
+7 −0 spec/options/use_async_spec.rb
+97 −0 spec/options/widget_lists_spec.rb
+50 −0 spec/spec_helper.rb
+60 −0 spec/special_characters_spec.rb
+8 −0 spec/strategies/default_spec.rb
+17 −0 spec/strategies/match_prev_cmd_spec.rb
+91 −0 spec/terminal_session.rb
+19 −0 spec/widgets/disable_spec.rb
+42 −0 spec/widgets/enable_spec.rb
+24 −0 spec/widgets/fetch_spec.rb
+26 −0 spec/widgets/toggle_spec.rb
+109 −0 src/async.zsh
+34 −7 src/bind.zsh
+3 −0 src/config.zsh
+0 −36 src/deprecated.zsh
+19 −0 src/features.zsh
+10 −0 src/setup.zsh
+13 −2 src/start.zsh
+15 −1 src/strategies/default.zsh
+3 −3 src/strategies/match_prev_cmd.zsh
+0 −21 src/suggestion.zsh
+11 −0 src/util.zsh
+80 −9 src/widgets.zsh
+0 −45 test/bind_test.zsh
+0 −73 test/highlight_test.zsh
+0 −56 test/strategies/default_test.zsh
+0 −74 test/strategies/match_prev_cmd_test.zsh
+0 −102 test/strategies_test.zsh
+0 −46 test/suggestion_test.zsh
+0 −60 test/test_helper.zsh
+0 −161 test/widgets/accept_test.zsh
+0 −77 test/widgets/clear_test.zsh
+0 −26 test/widgets/execute_test.zsh
+0 −88 test/widgets/modify_test.zsh
+0 −84 test/widgets/partial_accept_test.zsh
+0 −1 vendor/shunit2
+0 −1 vendor/stub.sh
+288 −70 zsh-autosuggestions.zsh

0 comments on commit 4b18603

Please sign in to comment.