527 Commits (c7694569bd31f90cf9a9acf7d2baab1a02715bed)
 

Author SHA1 Message Date
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
Keith Simmons 51fa8c0f01
Remove ko-fi button in favor of github native one 4 years ago
Keith Simmons 841af5bda1
Add funding button 4 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
4 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
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
Daniel ba42855f4c
README: Update formatting (mostly, the linux section) (#618)
* Edit formatting for Windows/Mac installs

* Revamp the Linux build section

* Misc. formatting changes

* Merge build and install sections
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
Lord-Valen 308a92e7e3
Add instructions for changing branches with PKGBUILD. (#613)
Co-authored-by: Lord Valen <lord_valen@protonmail.com>
4 years ago
Bailey de4b689f39
Fix typo in Arch Linux AUR installation. (#602)
Git clones the "neovide-git" folder from the AUR, but cd changes the current directory to "neovide" instead of "neovide-git".
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
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
Cedric Brisson 799e043ffd
Quick fix for Arch users (#551)
* Quick fix for Arch users since DistroTube made a video about neovide. (Most likely a lot more arch users will be installing it)

* Quick fix for Arch users since DistroTube made a video about neovide. (Most likely a lot more arch users will be installing it)
4 years ago
Benjamin Davies 63d38fce3c
Use .dmg files to distribute for macOS (#549)
This is the standard way to distribute applications for macOS.
It also avoids relying on GitHub to preserve file permissions (particularly +x) when zipping files.
Fixes #466
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
Miloas b816f7dfea
fix MacOS sdl2 bug (#542) 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
Chris Bouchard 4bd6579074
Add Neovide logo (#519)
* Add Neovim Logo as an SVG asset

This logo was created in Inkscape by combining the Rust logo's gear ring
with the Neovim logo.

* Add rendered PNG versions of the Neovide logo

Rendered using Inkscape from the original SVG.

* Add assets README with license information

The CC-BY 3.0 and 4.0 licenses (used by me, the Rust project, and the
Neovim project) all require attribution, which we do in this document.
Specifically, they require:

  * Appropriate credit -- e.g., creator name and link
  * Indication if and what changes were made to the original
4 years ago
PyGamer0 4192de7a92
Fix typo in readme (#520) 4 years ago
Keith Simmons e1d8d40416
Add Kofi link 4 years ago
Chinmay Dalal cc50ff262e
Set termguicolors to true 4 years ago
Keith Simmons cb43677c23
Add link to discussions 4 years ago
Keith Simmons 7c18e927d7 commit cargo lock 4 years ago
Keith Simmons eb50c37234 bump version number 4 years ago
Keith Simmons 5c6d84a4f1 switch to prefering the discrete gpu 4 years ago
Keith Simmons 36e3040b2d remove cask 4 years ago
Keith Simmons b23d9abef7 add cask build dependency 4 years ago
Keith Simmons 9f1be63ce6 format code 4 years ago
Stu 33eef39e55
Disable default features for skulpin (#450) 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
Nils Martel 36548158ad
Update README.md (#471) 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