109 Commits (d113a0e2c399f3159441b59986d85844009f2299)

Author SHA1 Message Date
MultisampledNight 086b891856
Make CI happy by cargo fmt 3 years ago
Jaffar Mohammed 5752025762 fix clippy warnings 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
Keith Simmons de7696d407 redraw after new default style 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
Keith Simmons 5c4026c4a4 organize use statements 3 years ago
Keith Simmons 26169f84c0 Add event aggregator and remove manual usage of channels. Also add redraw editor command on resume 3 years ago
Keith Simmons 29668bb743 formatting and clippy fixes 3 years ago
Keith Simmons bc8d002e32 add ability to list available fonts 3 years ago
LoipesMas a7d87d6218 Fix special style test 3 years ago
Keith Simmons 3d4bd0e056 Fixed some clippy warnings 3 years ago
Keith Simmons b7b06c59a0 fix formatting issues 3 years ago
Michael Doronin 2689bccbb9 Use combinators instead of manual code 3 years ago
Michael Doronin 2a0f464f34 Remove unnecessary boxing 3 years ago
Keith Simmons fb9c1de747 fix clippy and formatting 3 years ago
Keith Simmons 3cc0d5c173 rework draw commands to send whole line at once and draw background before foreground 3 years ago
Serg Tereshchenko a81c65b781 fix: Fixed red color for underline 3 years ago
mforsb 8779a76fb0 Clean up tokio::sync::mpsc imports 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
Serg Tereshchenko a8c6e1707b refactor: Refactor startup process to delay setting window size.
Setting initial window size moved into draw_frame, and called
after fonts are loaded. So initial window size matches requested
geometry.

This also fixes missing startup screen, as UiCommand::Resize is not
called on startup.
3 years ago
partizan d2e33b87f2
Rename "bot" to "bottom" in WindowDrawCommand::Scroll (#789)
* chore(test): Fix function call

* refactor(WindowDrawCommand::Scroll): Rename bot to bottom
3 years ago
partizan d564dc8261
chore(test): Fix function call (#785) 3 years ago
Keith Simmons b0222d206e revert 'fix' for pum position 3 years ago
Keith Simmons 82b745c92b fix pum menu positioning 3 years ago
Keith Simmons 30f9bc9d59 minor clippy fixes 3 years ago
Nigel Baillie 27a9c94ad3
Fix sporadic cursor jumps (a bit hacky) (#753)
* Fix occasional sporadic cursor movements

* Discern between "editor" and "message" windows
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
j4qfrost 2160520720
Snapcraft Stable (#722)
* Add option to install neovide from snap

* add snapcraft to release

* add snapcraft to release

* move badge

Co-authored-by: Brymer Meneses <68867487+brymer-meneses@users.noreply.github.com>
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>
4 years ago
Keith Simmons 33f6a4b914
Fix dpi scaling (#438)
* fixing dpi

* refactor rendered window for better dpi scaling

* prevent cursor from animating out of the window bounds

Co-authored-by: Gabby Grinslade <grinsladeg@gmail.com>
4 years ago
Keith Simmons 1d981f3c2c
Smooth scrolling (#423)
* parse viewport events

* progress toward pixel scrolling

* ITS WORKING

* fix basic scrolling gaps

* add limit to number of old surfaces to store

* set cursor destination based on rendered location not global grid
4 years ago
Keith Simmons a490e5992a fix tests and warnings 4 years ago
Keith Simmons ff1954f9a9 allow font changing 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 3d1f797688 minor refactoring 4 years ago
keith 8b87f92f5f mostly working 4 years ago
keith 15d02a0417 slightly better rendering 4 years ago
keith a7d82fb7a1 progress toward fixing render bug 4 years ago
keith 5e32a7ad7b resize on start and work toward more efficient rendering 4 years ago
keith 668f3f9aaf more stable with 3 threads 4 years ago
keith f198f23551 no longer dropping draw commands. Wonky background, and font changes don't work 4 years ago
keith 4fd863ca2c progress toward refactor 4 years ago
keith 494f9a395c limit ligature backtracking 4 years ago
keith 811c8ea2d1 minor changes 4 years ago
keith 965f06a361 remove old test 4 years ago