Commit Graph

861 Commits (4c0b5f5e335e7cb258364d0a79ef080a38b174b0)
 

Author SHA1 Message Date
Keith Simmons 36200088a4
don't parse version number from client info ()
Co-authored-by: Keith Simmons <keithsim@microsoft.com>
LoipesMas 8682680c79
Merge pull request from LoipesMas/transparency
Correctly apply opacity to floating windows
LoipesMas b90fb39f20 Correctly apply opacity to floating windows
Keith Simmons ab0394ae40 formatting fixes
Nguyễn Anh Khoa e6670a5413
Remote copy/paste ()
* add clipboard-rs

* set g:clipboard when starting remote session

* add rpcrequest handler

* add paste to clipboard rpcrequest

* seperate clipboard to bridge/clipboard

* update remote clipboard logic

- when paste: use line ending matching file format
- when copy: use line ending of remote system

* update remote clipboard setup

- use `neovide_no_custom_clipboard` to disable custom clipboard
- disable cache to not use old clipboard contents when error returned
  from `get_remote_clipboard`

* code cleanup and format
Nguyễn Anh Khoa f0a9e1c20d
use cargo version string to register neovide channel ()
Keith Simmons 8542333c94 Add window position check to fix off screen issue
Keith Simmons 557e988c09 minor refactoring (should startup faster) and handle exit codes properly
Jamespp 1b6878d072
correct repo address as well as bundle id ()
Keith Simmons 3cb891f2b8
Fix grayed out text from lsp ()
* clone paint before drawing undercurl

* fix formatting

Co-authored-by: Keith Simmons <keithsim@microsoft.com>
Clément Joly 95378fc8c2
website: Move to neovide.dev ()
* Make Zola generate the website for the URL https://neovide.dev
* Create the CNAME file at the root of the static site, as GitHub Pages
  expects.
multisn8 dce1014e7d
Touch support (scrolling, click-by-tap, visual selection by dragging) ()
* Add basic touchscreen scrolling support

* Fix horizontal scroll direction

* Add touch deadzone

* Add drag by touch hold

* Fix touch drag behavior

The one before actually wasn't intended.

* Finetune default touch settings

* Move cursor to drag position upon touch drag start
LoipesMas 9e422e1b1a
Merge pull request from LoipesMas/transparency
Fix floating windows transparency
LoipesMas 344b8ded67 Fix floating windows transparency
Keith Simmons 22676de88a redraw screen after dpi scale change
Eric Pfister f5bb8cc89b
Fix cursor bold and italic rendering ()
* Fix cursor bold and italic rendering

* Rename character to grid cell

* Rename character -> grid_cell in Cursor struct

* Rename get_cursor_character -> get_cursor_grid_cell
fredizzimo 224f1f2083
Merge pull request from fredizzimo/improve_wsl_launch
Run WSL Neovim inside a login shell
Keith Simmons 98e1a72fe6 fork the stdio as well
Clément Joly 4424731ba4
Starting point for a website ()
* Create a simple Zola website on a subdirectory

This uses the [Juice theme](https://www.getzola.org/themes/juice/), with
small customizations. It could be further customized later.

* Automate website content update

RISS and Makefile are used to pull the website content from various
parts of the neovide repository (reusing images and the README.md file
for instance)

* Document how to build and edit the website

It can be counter-intuitive to have to make changes outside of the
`website` directory, adding documentation and scripting clarify it.

* Deploy automatically to GitHub Pages

Uses https://github.com/marketplace/actions/zola-deploy-to-pages to
build and deploy the website on GitHub Pages.

TODO (after merging)
* A `TOKEN` need to be set as explained in https://github.com/marketplace/actions/zola-deploy-to-pages#secrets
* I’ve tested with https://cljoly.github.io/neovide/, but we need to
  change this to at least https://neovide.github.io/neovide/.

* Fix website URL

Co-authored-by: Keith Simmons <keith@the-simmons.net>
shaunsingh f7845c7792
Merge pull request from ViViDboarder/fix-macos-path
Trim newlines from end of path on macOS
ViViDboarder 5502f3137c Trim newlines from end of path on macOS
Louis C. Murguia 3efc3c1759
Buttonless option for macOS ()
* Buttonless option for macOS

* Properly export PATH on macOS when ran from Finder 

* Merge conflicts resolved

* Refactoring frame options

* Adding frame file; forgot to add

* Updating window files

* Updated from revisions; .vscode folder added to .gitignore

* Formatting

* Remove comment of shadow option in frame decoration.

* Fix transparency for buttonless

* General fix for buttonless and transparency

* Formatting

* revert unecessary changes

Co-authored-by: Keith Simmons <keith@the-simmons.net>
Co-authored-by: Keith Simmons <keithsim@microsoft.com>
Keith Simmons 9cfac28ac8 disable subpixel antialiasing
Keith Simmons 32dabc0eb5 more formatting
Keith Simmons df52afa106 formatting and clippy fixes
Keith Simmons 616ffe15ba don't setup separate thread
Fred Sundvik b83003a8ec Fix notification event ordering
Use a single thread instead of spawning a new task for each
notification. This makes sure they are processed in the correct order.
Darcy Parker e7eb1a0ca7 Add instructions to create neovide.app for MacOS
Keith Simmons aebfae3e0e
Tweak version requirement text
Keith Simmons d2ae4019ef update readme to indicate 0.6 requirement
Keith Simmons 90a03f23d3 fix 0.6 mouse issues
Keith Simmons 5c4026c4a4 organize use statements
Keith Simmons 3c2250ed24 update comment in main
Serg Tereshchenko aa340c5e41 style: Change variable name
vzex 740a24c05e remove mut ref in maybe_get_keybinding
the next_dead_key should be changed only when a key_pressed or a dead key released,don't ask me why, it just make things work right with winit.(all test case passed)
vzex 0469ac14f5 rename pre_is_dead to prev_dead_key
vzex 24a7234858 add more support for dead key
list user cases for dead key and modify key(alt), on mac:
1 (us keyboard):[options+e u]=>ú
2 (us keyboard):[options+8]=>•
3 (chinese keyboard) ime:[nihao space]=>你好
4 (Austria keyboard):[= a] => á
5 (Austria keyboard):[= q] =>`q
6 (Austria keyboard):[= =] =>´´q
7 (Austria keyboard):[= shift+= q] =>´`q
8 (Austria keyboard):[= esc] =>´ and leave insert mode
9 (Austria keyboard):[= left] =>´ and move caret to left
vzex 68816b346b fix bug for ctrl can't use
vzex feae712bae fix another type of dead key input
vzex 0fd299d995 fix macos dead key
after typing dead key, there is also an ime event triggered,so get text_with_all_modifiers is unnecessary
vzex 52c93d87af Update keyboard_manager.rs
rename
vzex bf1ea9c6e2 rename enum and vec queue
sunxiaomeng ccb28dda00 fix ime input support
Keith Simmons 26169f84c0 Add event aggregator and remove manual usage of channels. Also add redraw editor command on resume
Keith Simmons d220477b73 update upstream winit fork
Fred Sundvik 0849151838 Run neovim directly in WSL login shell
Therefore, the neovim path hack is no longer needed, since the path and
other environment variables are now set correctly.
Fred Sundvik 7d19cd5ebe Refactor commandline processing
This reduces the amount of code duplication, and similar flow
is used for both wsl and non-wsl code paths.
Keith Simmons 22cb5bc05f refactor saved settings to be an enum to enable persistence of maximized state
Keith Simmons 494f8924e9 Add <CR> mapping for testing out fonts
Keith Simmons d0cc37c84c minor text tweak