842 Commits (ee0037a31eb4ed6b7cdd11492f68537ea44e5c23)
 

Author SHA1 Message Date
MultisampledNight ee0037a31e
Fix undefined behavior
There's no guarantee that the lock is being held by the main thread at
that moment, so the unsafe block violated the safety contract.
3 years ago
MultisampledNight ac48a6cfb4
Clarify about log location in issue template 3 years ago
Louis C. Murguia f179760c39
Merge pull request #1267 from lethanix/cli-args-fix 3 years ago
MultisampledNight e2088c5d2d
Bump version to 0.9.0 3 years ago
lethanix b9739a9c3e Fixes #1216 3 years ago
Jesse Hallett 86aa2751a1
Render block cursor as an outline when window is not focused (#1257)
* add method that draws a rectangular outline

* unwrap option a little more nicely

* set cursor renderer to draw outline when focus lost

* add configuraton option for cursor outline width
3 years ago
Jae-Heon Ji 65c234131f
Fix: Neovide.app not working in Finder (#1242)
* fix: update command execution for macos

* feat: support brew for macos users

* fix: add refetence for M1 brew
3 years ago
LoipesMas bb1255d303
Merge pull request #1246 from huncut2016/main
error: there is no argument named `min_ft` solved
3 years ago
Vivianne 5def324265
Add neovide_confirm_quit option to confirm before quitting (#1247)
* Add g:neovide_confirm_quit which will ask before quitting

* more compact

* cargo fmt
3 years ago
huncut2016 331dedebcc formatting argument 3 years ago
huncut2016 8384cd00ca error: there is no argument named `min_ft` solved 3 years ago
j4qfrost 9e3500501d
Snapcraft updates issue #1149 (#1238)
* tweak dependencies copy latest from https://github.com/neovim/neovim-snap/blob/master/snap/snapcraft.yaml

* remove dev pacakges
3 years ago
Jae-Heon Ji 15234bd093
fix: bridge command (#1217)
* feat: update command for macOS

* feat: update command for windows

* refactor: apply review
3 years ago
LoipesMas 9c1481e1c5
feat: profiler which displays frametime graph (#1210) 3 years ago
multisn8 5f9e22c7e5
Handle underscores in the font name as spaces (#1214) 3 years ago
Natasha England-Elbro 92bc1725f1
feat: add support for blend=100 (#1195)
* feat: add support for blend=100

* feat: add support for blend between 0 and 100 for cursor

* fix: cursor not updating on window switch

* fix: crash on set cursor group

* chore: formatting

* chore: curr -> current
3 years ago
Keith Simmons 6b45dca453 fix formatting 3 years ago
Keith Simmons f4aac3b53d fix failing test 3 years ago
Serhii Tereshchenko cdf61a970b
ci: Fix broken CI (#1183)
* Fixed building tests
* added `set -eo pipefail` for actually fail pipeline, for some reason it does not work by default
3 years ago
Serg Tereshchenko a7ed6acadd deps: Update winit to fix unwanted key grabbing
Refs https://github.com/neovide/neovide/issues/958
3 years ago
Serhii Tereshchenko be79bdee60
feat: Allow float font sizes if requested (#1179)
To use float font size, define it with dot, example:

monospace:h11 - uses integer size with fudging
monospace:h11.0 - uses float font size
3 years ago
Keith Simmons 2cbdf4ac6d
attach and detach the windows console (#1178)
* attach and detach the windows console

* remove commented code

* fix formatting

* fix build issues and consolidate windows utils

* formatting fix

Co-authored-by: Keith Simmons <keithsim@microsoft.com>
3 years ago
Keith Simmons cac8d279b1 remove dbg 3 years ago
Serhii Tereshchenko c322b79a04
fix: Fix opening files on linux (#1180)
I don't know how about other OS where you using SHELL, but on linux you should
pass arguments like this, or this happens:

[src/bridge/command.rs:26] cmd = Command {
    std: "/usr/bin/nvim" "--embed README.md",
    kill_on_drop: false,
}
nvim: Unknown option argument: "--embed README.md"
3 years ago
Serhii Tereshchenko 6225e22da2
refactor: Use debug level for more important messages, leave trace only for super verbose (#1177) 3 years ago
Keith Simmons dd74ff4239
fix for macos finder issue (#1162)
* attempt fix for finder issue

* pull command creation functions out and implement macos exists and which

* remove macos hack

* refactor platform specific startup code

* fix wsl command issue

Co-authored-by: Keith Simmons <keithsim@microsoft.com>
3 years ago
Keith Simmons db53e94db9
Use loaded fonts if no configured font works (#1171) 3 years ago
Keith Simmons 49224f8008 adjust font cache size if it gets too big 3 years ago
Keith Simmons de7696d407 redraw after new default style 3 years ago
Serhii Tereshchenko 8ff2768ed4
refactor: Move call to SETTINGS.get inside should_ignore_input (#1169)
It wasn't required outside, and this way code is cleaner.
3 years ago
Serhii Tereshchenko 7308113073
chore: Update glutin dependency to use neovide/winit (#1170)
After merging this PR https://github.com/neovide/glutin/pull/1,
which changed dependency in glutin from Kethku/winit to neovide/winit
we need to update Cargo.lock here.
3 years ago
Keith Simmons 36200088a4
don't parse version number from client info (#1166)
Co-authored-by: Keith Simmons <keithsim@microsoft.com>
3 years ago
LoipesMas 8682680c79
Merge pull request #1165 from LoipesMas/transparency
Correctly apply opacity to floating windows
3 years ago
LoipesMas b90fb39f20 Correctly apply opacity to floating windows 3 years ago
Keith Simmons ab0394ae40 formatting fixes 3 years ago
Nguyễn Anh Khoa e6670a5413
Remote copy/paste (#1003)
* 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
3 years ago
Nguyễn Anh Khoa f0a9e1c20d
use cargo version string to register neovide channel (#1161) 3 years ago
Keith Simmons 8542333c94 Add window position check to fix off screen issue 3 years ago
Keith Simmons 557e988c09 minor refactoring (should startup faster) and handle exit codes properly 3 years ago
Jamespp 1b6878d072
correct repo address as well as bundle id (#1159) 3 years ago
Keith Simmons 3cb891f2b8
Fix grayed out text from lsp (#1158)
* clone paint before drawing undercurl

* fix formatting

Co-authored-by: Keith Simmons <keithsim@microsoft.com>
3 years ago
Clément Joly 95378fc8c2
website: Move to neovide.dev (#1145)
* 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.
3 years ago
multisn8 dce1014e7d
Touch support (scrolling, click-by-tap, visual selection by dragging) (#1148)
* 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
3 years ago
LoipesMas 9e422e1b1a
Merge pull request #1146 from LoipesMas/transparency
Fix floating windows transparency
3 years ago
LoipesMas 344b8ded67 Fix floating windows transparency 3 years ago
Keith Simmons 22676de88a redraw screen after dpi scale change 3 years ago
Eric Pfister f5bb8cc89b
Fix cursor bold and italic rendering (#1136)
* 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
3 years ago
fredizzimo 224f1f2083
Merge pull request #1118 from fredizzimo/improve_wsl_launch
Run WSL Neovim inside a login shell
3 years ago
Keith Simmons 98e1a72fe6 fork the stdio as well 3 years ago
Clément Joly 4424731ba4
Starting point for a website (#1114)
* 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>
3 years ago