383 Commits (0b976c3d28bbd24e6c83a2efc077aa96dde1e9eb)

Author SHA1 Message Date
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
4 years ago
Benjamin Davies 764633d2ba
Fix warnings (#573)
* Fix warnings associated with neovide-derive

* Remove unused transparency member

Sdl2WindowWrapper had a property called transparency that was never
read and was causing a warning.

* Add Lint with Clippy to build workflow
4 years ago
Francisco Santos 2098de7296
Version and help without opening the program (#590)
Co-authored-by: Francisco Santos <franciscosantos@MacBook-Pro.Home>
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
Keith Simmons 6e2f9551eb remove vulkan call branch 4 years ago
Benjamin Davies 5d98148b03
Don't call `.vulkan()` when building the SDL window on macOS (#541)
This appears to fix some (not all) of the problems that are mentioned in #466
4 years ago
Chinmay Dalal 54b967f41a
Fix `log::error` import (#522) 4 years ago
Chinmay Dalal d14802cb43
Fix clippy, fix font load test (#517)
* Fix warnings

* Fix clippy, ignore font_load test

* Changes requested in PR review

* Fix unused variable and function using #cfg
4 years ago
Chinmay Dalal cc50ff262e
Set termguicolors to true 4 years ago
Keith Simmons 5c6d84a4f1 switch to prefering the discrete gpu 4 years ago
Keith Simmons 9f1be63ce6 format code 4 years ago
Jade 6d5d632c96
Add an icon to the SDL2 window (#462)
* Add an icon to the SDL2 window

* Use the native endian RGBA32 so we don't have wrong icons on BE
4 years ago
ref209 008528d272
Add vim setting for iso layout compatibility (#463) 4 years ago
Lachlan Easton 80f5dcee42
Round up font size to account for draw_image_rect not doing subpixel copying (#454) 4 years ago
Jade 68582e0551
Disable the default-on SDL hint to disable compositing on X11 (#464)
SDL tells the window manager to disable compositing for its windows by
default in order to somewhat improve rendering performance.  This is
unfortunate for a text editor one would be using concurrently with other
programs, because KDE misbehaves with its global taskbar if this is
done, and it also may freeze or otherwise break the display of running
Firefox windows. This misbehaviour affects all SDL windows including
e.g. games such as Factorio.

There is a global switch to ignore all applications making this request
in the KDE compositor settings called "Allow applications to block
compositing", as well as an option in the window rules dialog to do it
for individual windows by class, but we should try to do the right thing
by default. The user can decide to block compositing per-window with
these rules if they wish to preserve the previous behaviour.

Fixes #370.
4 years ago
Keith Simmons b0bf7c2e75 fix winit build 4 years ago
Keith Simmons 9b26d4b4d5 add back mac os exit when running from bundle 4 years ago
Keith Simmons fed63a9507 separate font types into files in their own folder 4 years ago
Keith Simmons 86c241ee55 I hate everything 4 years ago
Keith Simmons 3aceaaaa62 fix formatting 4 years ago
Keith Simmons 4d4e97b519 fix usings issue on mac 4 years ago
Keith Simmons e6b52f8127 fix linux and mac builds 4 years ago
Keith Simmons 546937501b
Add version and help command line arguments (#443)
* add maximized command line argument

* fix println when in release mode on windows
4 years ago
Keith Simmons 5b29700513
add maximized command line argument (#442) 4 years ago
Keith Simmons ec06247ad2 fix floating window foreground 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 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
Gabby Grinslade 38c5538186 fix winit build 4 years ago
Tim Harding c63b054521
Keyboard refactor (#418)
* Moved refactoring to the new program structure

* Imported enum variants to qwerty layout files

* Changed keyboard impl from From to Into

* Simplified imports

* Implement From rather than Into
4 years ago
Calvin Kosmatka 9f26e50f06
Fix --wsl option (#404)
* use wsl nvim

* use piped stderr for release build
4 years ago
Keith Simmons 62d2ca407d updated readme 4 years ago
Keith Simmons 5da81b4f26 port commits since fork 4 years ago
Keith Simmons b29dff8db7 winit working 4 years ago
Keith Simmons 451ff87272 in progress adding back winit 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 1b6d562307 add configuration for the window transparency 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 4643a24da1 warning fx 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 197c68f4b2 switch to synchronous neovim library 4 years ago