421 Commits (c79a1c4dd0f958de4462730219713ab0c14784cd)

Author SHA1 Message Date
partizan d53884f6e9
fix(window_wrapper): Fix unmaximize behaviour (#792)
set_inner_size was using LogicalSize from current physical size,
it was working fine only for scaling=1.
Removing this leaves unmaximizing to winit, which does it correctly.
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
partizan 9f7207feb8
fix(window): Fix incorrect initial scaling (#784)
Also, replaced inverse scaling (like 1 / scaling) with natural scaling.
I think easier to work with natural scaling factor (like 1..2)
and multiplication, instead of inverse scaling factor and division.

Refs #771
3 years ago
Keith Simmons 73902a6c7a formatting and clippy fixes 3 years ago
Keith Simmons b0222d206e revert 'fix' for pum position 3 years ago
Keith Simmons 2fc74f83ca enable bold/italic highlight styles 3 years ago
smolck f99c21d971
feat(fonts): add support for :b and :i in guifont (#769)
Close #709.
3 years ago
Tim Biermann a0d076bbda
this adds app_id attribute to neovide (#747)
* this adds app_id attribute to neovide

* app_id should only be included for linux builds
3 years ago
smolck bc1009babc
make dead keys work w/out breaking ctrl mappings (#767) 3 years ago
Keith Simmons fd27e059f0 fix another issue 3 years ago
Keith Simmons 792a6b80b0 yet more macos fixes 3 years ago
Keith Simmons b015c77657 more macos fiddling 3 years ago
Keith Simmons 43fdcb7bb2 fix for option key on macos 3 years ago
Keith Simmons 82b745c92b fix pum menu positioning 3 years ago
Keith Simmons fec2711b90 don't send input if window was just focused 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 f0a46dbff9
Keyboard deadkey handling (#752)
* first stab at better dead key handling

* don't send S-
3 years ago
Keith Simmons 7a1fa123b8 swap to new icon 3 years ago
Keith Simmons 4159c47ff4 clippy fixes 3 years ago
Keith Simmons 407a7e24a9 formatting fixes 3 years ago
Keith Simmons f5b65a6770 fix mouse drag crash 3 years ago
Keith Simmons fbd8e959b2 more mouse position fixes 3 years ago
Keith Simmons 3449cfda7a port forward scrolling fix 3 years ago
Keith Simmons 1f699afad1 fix cursor disappearing glitch 3 years ago
Keith Simmons 59fa3ed2a9 rewrite the mouse handling to handle upstream bugs somewhat better. Still haven't found the crash yet 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 113a3f421c clippy fixes 3 years ago
Anirudh Balaji 7697cd9cef
fix: don't drop entire blob when shaping control characters (#737) 3 years ago
Keith Simmons 5c7deeb8b9 fix rendering when glyph can't be found and add last resort font 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 8168023152 add scroll deadzone setting 3 years ago
Keith Simmons f517cf0a68 handle horizontal scrolling on mac 3 years ago
Keith Simmons d62f008843 fix merge error 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
partizan c6a68915a2
fix: Fix parsing win_float_pos_arguments (#715)
Refs #714
3 years ago
Anirudh Balaji 86a3ea650f
Use interactive path for neovim resolution (#672)
* fix: use interactive env when getting nvim path

* fix: read interactive path in neovim
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
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
3 years ago
Francisco Santos 2098de7296
Version and help without opening the program (#590)
Co-authored-by: Francisco Santos <franciscosantos@MacBook-Pro.Home>
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
Keith Simmons 6e2f9551eb remove vulkan call branch 3 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
3 years ago
Chinmay Dalal 54b967f41a
Fix `log::error` import (#522) 3 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