107 Commits (4b2234eac920b05ccf1e19ec8abb2ae4742f76b7)

Author SHA1 Message Date
MultisampledNight 4b2234eac9
Update skia-safe to 0.52.0
This also implies a switch from Python 2 to Python 3 in their build script.
2 years ago
MultisampledNight 148e9e450f
Switch to shlex to make filenames shellsafe
shlex also takes care of any other POSIX-shell specific stuff, such as ".
Also cleans up the vector extension a bit.
2 years ago
MultisampledNight f5c9b591a7
Run cargo update to reflect winit backport #1342 2 years ago
Gleb Buzin 179707da84
fix(bridge): switch to copypasta clipboard provider
Add Wayland support for clipboard without XWayland requirement.
2 years ago
MultisampledNight d113a0e2c3
Run cargo update 2 years ago
MultisampledNight bdbef520f8
Switch to arboard for clipboard support
The clipboard crate has a few indirect vulnerabilities through a
dependency on xcb.
2 years ago
Jaffar Mohammed 9b8907c8c7 bump dep 2 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 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
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
Keith Simmons d220477b73 update upstream winit fork 3 years ago
LoipesMas 36479dd45b
Merge pull request #1099 from LoipesMas/remember_pos
Add remember_window_position setting
3 years ago
Fred Sundvik d030f97d45 Fix for non-existing data directory
Also respect XDG_DATA_HOME on unix systems instead of using hardcoded
path.
3 years ago
LoipesMas c77a7a93cc Add remember_window_position setting 3 years ago
Serg Tereshchenko 393d26bebe chore: Update Cargo.lock after enabling default features 3 years ago
Keith Simmons 76bddae01a check loaded window size before running 3 years ago
Isaac Clayton 5edd800d8c Update Cargo.lock 3 years ago
Oliver Jan Krylow d2760e2d45
chore: Updates rmpv (0.4.4 -> 1.0.0)
Bumped version of rmpv in neovide to 1.0.0 to match nvim-rs.
Also, fixed a warning where a variable need not be mut.

Co-authored-by: Oliver Krylow <o.krylow@isp-insoft.de>
3 years ago
Keith Simmons 3ef86d4bbb log version on startup and bump it 3 years ago
Keith Simmons a4822378e2 log version on startup and bump it 3 years ago
Keith Simmons 48336ee84d working swap to upstream nvim-rs 3 years ago
Benson Li 21a8adc4a5
Remember window dimensions #622 (#816)
* Implementation for #622

* Update src/window/settings.rs

Co-authored-by: partizan <serg.partizan@gmail.com>

* applied suggestions from @last-partizan

* applied suggestions from @Kethku

* applied more suggestions from @last-partizan

Co-authored-by: partizan <serg.partizan@gmail.com>
3 years ago
Keith Simmons 50d2afbdbb update swash 3 years ago
Keith Simmons 1f112d1f3e update swash 3 years ago
Serg Tereshchenko 52102caf2b fix(deps): Fix cargo.lock 3 years ago
Keith Simmons 80c57bb339
tweak vertical positioning (#795) 3 years ago
Serg Tereshchenko d4d57d4759 fix(deps): Update skia-safe to 0.40.2 3 years ago
Serg Tereshchenko eb5e1aca89 Revert "Update Cargo.lock (#783)"
This reverts commit ee85e037ec.
3 years ago
shaunsingh ee85e037ec
Update Cargo.lock (#783) 3 years ago
Keith Simmons 76237c6d47
integrate new keyboard api (#736)
* use new keyboard api using my fork of in progress winit keyboard pr branches

* attempt fix for modifiers stuck bug
3 years ago
Keith Simmons c7694569bd
Opengl (#655)
* OpenGL Backend (#486)

* opengl renderer sorta working

* add x11 build argument

* remove x11

* format

* remove alternate windowing systems

* remove non opengl windowing systems

* fix thread spin

* add graphics interface debugging expects

* update interface build and add conditional compilation

* install nightly in actions

* add format component to nightly install

* remove vulkan from action

* working without shaping

* Add rustybuzz

* applied suggestions from calvinkosmatka

* remove husky

* update skia-safe

* better subpixel font rendering

* commit lock file

* fix merge error

* Bump skia-safe to 0.39.1 (#584)

Compiling for apple silicon/m1 only works on 0.39.1

* remove sdl2 file and upgrade skia/swap to egl

* Update README.md to reflect changes in the main branch. Fix sequence break in Mac installation guide. (#615)

Co-authored-by: Lord Valen <lord_valen@protonmail.com>

* OpenGL Backend (#486)

* opengl renderer sorta working

* add x11 build argument

* remove x11

* format

* remove alternate windowing systems

* remove non opengl windowing systems

* fix thread spin

* add graphics interface debugging expects

* update interface build and add conditional compilation

* install nightly in actions

* add format component to nightly install

* remove vulkan from action

* working without shaping

* Add rustybuzz

* applied suggestions from calvinkosmatka

* remove husky

* update skia-safe

* better subpixel font rendering

* commit lock file

* fix merge error

* Bump skia-safe to 0.39.1 (#584)

Compiling for apple silicon/m1 only works on 0.39.1

* remove sdl2 file and upgrade skia/swap to egl

* Update README.md to reflect changes in the main branch. Fix sequence break in Mac installation guide. (#615)

Co-authored-by: Lord Valen <lord_valen@protonmail.com>

* Version check (#631)

* add more robust version check

* clippy

* fix some copy pasta

* revert font changes

* add lock file back

* pull in animation length change from main and adjust default cursor settings

* Snap for Ubuntu (#576)

* add more robust version check

* clippy

* fix some copy pasta

* revert font changes

* snap builds correctly

* add snapcraft workflow

* clean up workflow

* clean up workflow

* clean up workflow

* check workflow works

* build snap

* use lxd

* add snap push

* add step id

* use official snapcraft actions

* add snap badge

* move snap badge

* swap from rustybuzz to swash. WAY faster performance

* format files

* fix command line jump filtering

* attempt fix of github action

* add comma

* add caching to the build dependencies

* fix foating window position

* Fix 577 (#668)

* fix formatting and clippy errors

* upstream formatting fix

* Added trackpad support to scrolling/smoothscrolling in OpenGL branch (#681)

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Fixed regular scroll

* Update mod.rs

* Update mod.rs

* Reverted previous change, dividing first instead

* Update mod.rs

* Update mod.rs

* I completely forgot about how unsigned integers in rust work

* Remove the casting to integer

* Forgot function signature requires integer

* divide before cast

* remove semicolon

* Changed function signature to use float instead of integer, using float for PixelDelta

* Forgot parenthesis

* Change 0 to math float

* Do the same for the function itself

* Scrolling still too fast

* Still way to fast

* Still too fast

* Still too fast

* somehow still too fast

* Still too fast

* Update mod.rs

* testing

* still fast

* doesn't fit in f32 anymore

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Update mod.rs

* Testing

* Testing something new

* Update mod.rs

* Update mod.rs

* Deleted unnecessary code

* Implement CLI parsing with clap (#680)

* implemented command line parsing with clap

* removed println!

* fixed file opening

* added files parameter to avoid -- [FILES]

* use new cmdlinesettings in various places

* lets stick to the old cli-api

* moved to builder syntax to allow for hypens in args

* Fixed merge conflict that was overlooked before

* Basic Environment variables

* Added alias for MultiGrid environment var

* Fix for #566 (#687)

* add logging to async channels

* use better logging in channels

* made float change backwards compatible

* fix clippy work

* ignore new clippy lint

* fix mac clippy lint

* adjust actions

* use nightly format

* install utilities in mac and linux builds

* Fix some shift+key mappings (#695)

* fix publish test results step

* Basic Frameless window support (#694)

* Frameless window (not resizeable)

* Update

* Delete neovide.ico

idk how did this get here

* add readme tweak to make sure people know what neovim is

* add scoop instructions for windows

* implement manual font fallback with swash

* M1 Runner (#711)

* add self-hosted m1

* remove vulkan

* cahnge toolchain

* fmt

* clippy

* remove llvm

* upload m1

* checkout upstream build.yaml

* remove llvm step

* remove git caching for self hosted

* Add environment variables for window options (#708)

* Add Env for window options

* Remove PascalCase

* Font Fallback (#701)

* better font fallback

* actually fix font fallback

* swap to u64s for most font size solutions

* increase line height slightly and attempt stencil buffer fix

* fix divider issue

* clippy and formatting fixes

Co-authored-by: Keith Simmons <keithsim@microsoft.com>

* clippy fixes

* Fix default font (#719)

* size using Z

* default font ordering

* clippy fixes

* interactive wsl path

* fix formatting

Co-authored-by: Keith Simmons <keithsim@microsoft.com>
Co-authored-by: shaunsingh <71196912+shaunsingh@users.noreply.github.com>
Co-authored-by: Lord-Valen <46138807+Lord-Valen@users.noreply.github.com>
Co-authored-by: Lord Valen <lord_valen@protonmail.com>
Co-authored-by: j4qfrost <j4qfrost@gmail.com>
Co-authored-by: PyGamer0 <64531844+PyGamer0@users.noreply.github.com>
Co-authored-by: Obyoxar <43534802+ErikMayrhofer@users.noreply.github.com>
Co-authored-by: Benson Li <bensonbinbinli@gmail.com>
Co-authored-by: meluskyc <meluskyc@gmail.com>
3 years ago
JeWe37 94bd58847e
Add distance dependent animation length (#621)
* Add distance dependent animation length

* Fix for #117 cursor trails disabled when switching between modes an optionally when going to cmd line
3 years ago
Jade f213c5ac48
Fix build (#611)
The build was broken by skulpin shifting around its feature flags as
part of the rewrite for 0.12. I have set it to the last pre 0.12
version from the registry (independently confirmed there were no
unreleased changes in the skulpin git repo).
3 years ago
Benjamin Davies d8d6f4eac2
Remote TCP (#557)
* Remote TCP proof of concept

* Allow usage of both tcp and child connections using `TxWrapper`

* Tidy up and add flag to set tcp target

* Add readme section

* Remove the need for `Compat<TxWrapper>` as we are wrapping it anyway
3 years ago
Miloas b816f7dfea
fix MacOS sdl2 bug (#542) 3 years ago
Keith Simmons 7c18e927d7 commit cargo lock 4 years ago
Stu 33eef39e55
Disable default features for skulpin (#450) 4 years ago
Keith Simmons af93c54f3e
Settings derive macro (#439)
* Added procedural macro crate

* Initial derive macro implementation

* Compiles for cursor settings

* Derive macro working correctly

* Derive macro working for all settings structs

* Cleanup

* Moved the binary back to the project root

* remove unused utils file

Co-authored-by: Tim Harding <Tim@TimHarding.co>
4 years ago
Keith Simmons f4eff0e5c4 swapped back to nvim-rs 4 years ago
Keith Simmons dc65548c01 fix window position flickering 4 years ago
Keith Simmons 9a9c5aeeba fix command line issues 4 years ago
keith 668f3f9aaf more stable with 3 threads 4 years ago
keith 197c68f4b2 switch to synchronous neovim library 4 years ago
keith 4ef6adcfef part way to multi grid rendering 4 years ago
j4qfrost 4643464571
Solved the pathing issue with a bit less hacking [OSX] (#309)
* solved the pathing issue with a bit less hacking

* only source paths if not using terminal
4 years ago
j4qfrost 1892073c8a
Husky (#277)
* add husky dev dep

* clippy suggestions

* bump version

* save cargo lock

* fix epsilon issue for linux

* forgot to save

* my mistake
4 years ago
j4qfrost 92757ea70c
Build deps (#292)
* remove sdl-sys build-dep; segregate windows dep

* match version

* linux and windows need sdl-sys build
4 years ago
j4qfrost b7b4e95ca9
Add search for nvim in PATH (#279)
* add search for nvim

* need suggestions for error message
4 years ago
Vivian Lim 95f57c6f0e Refer to upstream skulpin repo 4 years ago
j4qfrost 738dce79e8
Update github actions config (#265)
* add tests to editor style; simplify character grid code

* destructure size

* test all editor helpers

* simpler

* setup deps for coverage; setup tarpaulin coverage

* add rustup install

* update github actions config

forgot windows

use scoop

choco install neovim

* add coverage generation

* remove coverage

* set more path vars

try uninstall brew llvm

add neovim test dep

add coverage build

remove patching

new lock file

update cargo file

* font fallback guifont extension

* formatting

* freetype conflict

* update github actions config

forgot windows

use scoop

choco install neovim

add coverage generation

remove coverage

* Better symbol font for linux (#262)

* patch freetype

* move font-kit to deps

* patch font-kit in skribo

* new lock file

* revert cargo file

* checkout cargo and build file

* temporary fix to bypass skia build

* remove sdl patch

* add sdl sys build back

Co-authored-by: keith <keith@the-simmons.net>
Co-authored-by: James Robert Rooke <thepoltergeist23@gmail.com>
4 years ago