94 Commits (a4822378e2a7df051595947e80df31f941638984)

Author SHA1 Message Date
mforsb e343c64d4e Simplify nvim version check, remove regex dependency
Using `has("nvim-0.4")` check seems more robust than using a regex to
parse the version string. This also means regex is no longer a runtime
dependency.
3 years ago
mforsb 5c90f33e9e Use tokio::sync::mpsc instead of crossfire::mpsc
Since tokio channels has blocking_recv now crossfire isn't needed
anymore.
3 years ago
mforsb 768a589576 Remove rust-embed as a dependency
This is a rather heavy dependency that's easily replaceable using only
the standard library. This brings the number of dependencies down from
368 to 362 (on Linux).
3 years ago
mforsb e3911e63d4 Reduce transitive dependencies in the image crate
Neovide only needs to read .ico images so we can remove all other
formats. This brings the number of dependencies from 391 to 368 on
Linux.
3 years ago
Keith Simmons 1e1bd45d45 swap feature flag to just be a setting instead 3 years ago
mforsb a5d1af226f Add missing double quote 3 years ago
Keith Simmons ca269d7e30 specify tokio-util version| 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 6abe057d6e added debug renderer feature 3 years ago
PyGamer0 f25d475ea5
Bump swash in Cargo.toml (#848) 3 years ago
Keith Simmons 1f112d1f3e update swash 3 years ago
shaunsingh c712dd2783
Fix Icon Metadata (#824) 3 years ago
Serg Tereshchenko c4dfb3ed01 chore: Use caret deps 3 years ago
Serg Tereshchenko d4d57d4759 fix(deps): Update skia-safe to 0.40.2 3 years ago
Serg Tereshchenko c79a1c4dd0 Revert "Bump rust-skia in cargo.toml"
This reverts commit 5cf21960aa.
3 years ago
shaunsingh 5cf21960aa
Bump rust-skia in cargo.toml 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
Christian Kögler 0b976c3d28
Update Cargo Resolver Version (#652)
Update cargo resolver to version 2 to avoid unwanted feature activation.

The package sdl2-sys has features bundled and static-link for target
linux activated, since the cargo resolver version 1 aggregates all
possible features. The newer version avoids this behaviour.

See also:
https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
4 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).
4 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
4 years ago
Miloas b816f7dfea
fix MacOS sdl2 bug (#542) 4 years ago
Keith Simmons eb50c37234 bump version number 4 years ago
Keith Simmons 9f1be63ce6 format code 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 451ff87272 in progress adding back winit 4 years ago
Keith Simmons f4eff0e5c4 swapped back to nvim-rs 4 years ago
keith 3d1f797688 minor refactoring 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 a871f92005
Font fallback (#334)
* thanks nganhkhoa; should solve issue-327

* save work

* intended to address issue-332 among other font problems; added some tests for caching_shaper; clippy

* remove nightly feature

* choose random font instead

* add droid font to workflow linux

* switch to sans mono

* switch font

* cleaner random font implementation
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
5 years ago
j4qfrost 92757ea70c
Build deps (#292)
* remove sdl-sys build-dep; segregate windows dep

* match version

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

* need suggestions for error message
5 years ago
keith ede0fb10f5 update version 5 years ago
Vivian Lim 95f57c6f0e Refer to upstream skulpin repo 5 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>
5 years ago
AnhQuan Nguyen 2428225fbe settings tests 5 years ago
keith f70956866a fix mouse scaling 5 years ago
keith 6c3d286869 fixed patch issue 5 years ago
keith e3ad491a3a hack to get the cargo patch working... not great 5 years ago
keith 7b9963652e progress toward switching to upstream skulpin 5 years ago
Keith Simmons 3da11e09d8 update skribo, fontkit, and format 5 years ago
exoticus fb9c877afc i wish rust had block conditional compilation 5 years ago
exoticus 70cf0a52b9 size/compile optimization 5 years ago
keith 515535cf32 switch to sdl2 branch and lock skia-sharp version 5 years ago