Keith Simmons
91c29c5898
better fullscreen toggle and minor cleanup
5 years ago
exoticus
423ecedc1a
address pr concerns, values are no longer hard coded
5 years ago
exoticus
494853331d
cursor no longer responsible for editor mode stuff
5 years ago
exoticus
46cd882891
added EditorMode to the editor
5 years ago
keith
f70956866a
fix mouse scaling
5 years ago
keith
242b541ed3
fix formatting
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
exoticus
a5abe769a6
Fixes a bug where values over 1 breaks
...
trails size values over one totally broke the cursor, this ensures only 0-1 values are used for lerp
5 years ago
exoticus
020f44abc6
just some whitespace for more clarity
5 years ago
exoticus
cc783adeb4
added disable cursor animation in insert mode
...
current approach to disable cursor animation during typing relied on a hack, now it’s an option <animate_in_insert_mode> (default to true) whether to use cursor animations in insert mode
5 years ago
Keith Simmons
3da11e09d8
update skribo, fontkit, and format
5 years ago
Keith Simmons
bea55d321f
Merge pull request #238 from exoticusd/master
...
Shrink Binary Size
5 years ago
exoticus
df229c602c
more house keeping 🧹
5 years ago
exoticus
a42c7a3b4e
cleaner, more consistent
5 years ago
exoticus
3037f2b984
some formatting
5 years ago
exoticus
261a27091b
not disgusting any more, should also patch variants
5 years ago
exoticus
a6710a5518
disgusting duplication but works
5 years ago
Rasmus Michelsen
7d74833529
Reinserted call to position_centered()
5 years ago
Rasmus Michelsen
fefce19262
Integrated the toggle with the existing vim settings variable
5 years ago
Rasmus Michelsen
5286df954d
Reverted keybind changes for this branch
5 years ago
Rasmus Michelsen
18b8c65835
Return after toggle fullscreen (avoids extraneous enter processed by vim)
5 years ago
Rasmus Michelsen
628c06077c
Fixed display relative top-left coordinates
5 years ago
Rasmus Michelsen
db3d8ef179
Made fullscreen toggleable with Alt+Enter
5 years ago
Rasmus Michelsen
09b25bd636
Fixed win32 input for Danish keyboard layout
5 years ago
exoticus
187ead2e1f
don't return None unless there's no variants
5 years ago
exoticus
ca7f984d30
typo
5 years ago
exoticus
f0cc8cd696
better than repetitive if statements
5 years ago
exoticus
2975d599bd
instead of unknown panic, we get a useful message
5 years ago
exoticus
7c9924ba57
RustFmt
5 years ago
exoticus
90d5329b88
more neat
5 years ago
exoticus
6b26808148
hmmm 🤔
5 years ago
Keith Simmons
52e0fcd54a
cargo format
5 years ago
Keith Simmons
a146c1aaa3
mouse configuration via mouseon mouseoff
5 years ago
exoticus
ed917b2c50
fluff
5 years ago
exoticus
9af54bf225
fluff
5 years ago
exoticus
ca9829f5d3
FontLoader loads and caches fonts
5 years ago
exoticus
fb9c877afc
i wish rust had block conditional compilation
5 years ago
exoticus
9e6c41ac65
wip
5 years ago
Keith Simmons
18d37134c5
formatting
5 years ago
Keith Simmons
cebcaa86bc
better handling of quit
5 years ago
exoticus
942724ec91
fixes #226 , and temporarly #221 based on j4qfrost
5 years ago
keith
c78fb4a679
fix error handling on startup
5 years ago
Keith Simmons
07ba8574f9
Merge pull request #220 from j4qfrost/macos-app-crash
...
Fix MacOS crash launching from Finder
5 years ago
AnhQuan Nguyen
88a4dff67f
cargo fmt
5 years ago
AnhQuan Nguyen
a6ee9c4b48
add full path
5 years ago
AnhQuan Nguyen
3d40e0c78a
signal bridge shutdown
5 years ago
Nicholas Jarretta
703b7bbe5b
Add WSL arg and code to use the Windows WSL
5 years ago
Keith Simmons
cd0954d332
add cursor antialiasing setting
5 years ago
Aamr El Kazdadi
89e8a839b4
Allow user provided geometry
5 years ago
AnhQuan Nguyen
a530171aea
rust fmt
5 years ago
keith
b36581b25b
more keyboard testing
5 years ago
keith
c972a3eacf
enable italic bold
5 years ago
keith
257a8ad32a
ignore text events on frame when focus is regained
5 years ago
keith
a16584c919
add focus lost and gained events
5 years ago
keith
dcd33bda1a
more principled keybindings
5 years ago
keith
04773807cb
add back D- modifier but disable it for windows.
5 years ago
Keith Simmons
3cfab0b4b5
remove windows binding as it doesn't help anything
5 years ago
keith
31f9211b68
slightly better key handling. Still can't handle modified shift keys
5 years ago
Keith Simmons
18775f5d67
fix ginit error
5 years ago
keith
5237a11cae
actually fix skia font loading error
5 years ago
keith
c9b9b3eee8
add back dpi fix
5 years ago
keith
7c8e21c504
add fullscreen support
5 years ago
keith
310a383dd0
window transparency
5 years ago
keith
d20027a490
allow disabling of embedded fonts
5 years ago
keith
33feb45696
Merge branch 'master' of https://github.com/Kethku/neovide
5 years ago
keith
56cc29d47c
update skulpin
5 years ago
keith
9a9051f044
add tests to ci build
5 years ago
mewhhaha
82dd785a26
Make changes based on https://github.com/Kethku/neovide/pull/183#discussion_r389208255
5 years ago
mewhhaha
f3f441bb86
Add workaround for Nordic keyboard
5 years ago
keith
afce3a7f87
fix some font fallback bugs
5 years ago
keith
a011628cda
load ginit.vim
5 years ago
keith
f25d317b1b
minor refactoring
5 years ago
Jon Valdés
6f418d6c65
Added particle curl option
5 years ago
Jon Valdés
b82db76553
Expose speed and phase parameters for particles
5 years ago
Jon Valdés
78e74a7984
Fixed small typo
5 years ago
Jon Valdés
2dc28c633e
Merge branch 'master' into framerate-independent-cursor
5 years ago
Jon Valdés
1b2a2552c3
Make particle effects based on font size. Spawn particles at text baseline
5 years ago
Jon Valdés
b11642c6b0
Fix railgun effect particle spawning
5 years ago
Jon Valdés
0fc2680098
Made the rng persist from frame to frame, so particles don't spawn in the same place every time
5 years ago
Jon Valdés
b29a83214a
Fix issue that was creating particles with NaN lifetimes, causing the update loop to never kill them
5 years ago
Jon Valdés
cef497d0a0
Random number generation was completely wrong. Fixed
5 years ago
Jon Valdés
7fd6df50ce
Exposed setting for particle density
5 years ago
Jon Valdés
885aca19da
Exposing cursor vfx parameters as settings
5 years ago
Jon Valdés
1eadd7fad6
More lenient type checking for setting parsing
5 years ago
Jon Valdés
6d2d398c23
Fix cursor animation being stuck for 1 frame after animation reset
5 years ago
Jon Valdés
6939a8186b
Made trail animation slightly longer to match old behavior better
5 years ago
Jon Valdés
5c8b1de97a
Switched to an exponential function for cursor trail animation
5 years ago
Jon Valdés
4ea5e31f13
Added "PixieDust" effect
5 years ago
Jon Valdés
8c410cef6e
Added "torpedo" mode to cursor effects
5 years ago
Jon Valdés
47eaf0c418
Implemented settings-based control for cursor animations
5 years ago
Jon Valdés
c517f00033
Fixing after rebasing on top of structured settings work
5 years ago
Jon Valdés
2ad315a507
Kept antialiasing enabled only for the cursor rendering
5 years ago
Jon Valdés
218f9adb6a
Railgun cursor tweaking
5 years ago
Jon Valdés
6fcd50289a
Added particle trail effect
5 years ago
Jon Valdés
5c6d1ffa42
Easing point highlight alpha
5 years ago
Jon Valdés
028c36d32a
Renamed CursorVFX to PointHighlight. Implemented Ripple and Wireframe modes
5 years ago
Jon Valdés
7c3585e9a6
Make CursorVFX a trait, tweak cursor trail with cubic easing function
5 years ago
Jon Valdés
e56bddf6b6
Splitting CursorVFX into its own module
5 years ago
Jon Valdés
d967666222
Making cursor_renderer its own nested module
5 years ago
Jon Valdés
a4c9dd442a
Tweaking and cleaning cursor trail math code
5 years ago
Jon Valdés
8295f835b5
Fixed a few bugs, implemented cursor VFX on state change
5 years ago
Jon Valdés
1b9f4b4f7c
Fix cursor shape changes
...
Also, make cursor movements while typing be immediate
5 years ago
Jon Valdés
169a04079d
Better idle detection for cursor animation
5 years ago
Jon Valdés
945ef975f6
Work on framerate-independent cursor animation
...
Has several different easing methods, but defaults to linear for now.
ease_out_quad was also pretty good, but which specific method we choose
will be more a personal preference than an objective thing
5 years ago
Raffael Zica
0b301cb690
Shaper includes system symbol fonts into cache
...
This should fix #153 on Windows but needs testing on Linux and macOS.
5 years ago
Keith Simmons
6451f7e736
remove unnecessary using statement
5 years ago
Keith Simmons
8d412c2a84
remove test log
5 years ago
Keith Simmons
3f2642a306
fix window disconnect bug, and make logging more consistent
5 years ago
Keith Simmons
c4d524287e
more fault tollerant dpi handling
5 years ago
Jon Valdés
9066802fbe
Documentation, a bit of code cleaning
5 years ago
Jon Valdés
6f4692db1b
Added a warning I forgot to change on last commit
5 years ago
Jon Valdés
28128b56b2
Fixed command line parsing. Added error reporting on wrong setting data type
5 years ago
Jon Valdés
0a726c2f77
Different, cleaner implementation of structured settings
5 years ago
Jon Valdés
40dd9404ec
Code formatting
5 years ago
Jon Valdés
e296e2a4ce
WIP for structured settings system
5 years ago
keith
ff67afaa46
refactor window event handling to be more organized
5 years ago
Tristan C
b25e86aebe
Modified 'setup_changed_listeners' for compatibility with neovim versions < 0.4.3
5 years ago
Keith Simmons
b337d83548
keybinding logging
5 years ago
Jon Valdés
f31f96e0bc
Adding a setting to change the refresh rate
5 years ago
Keith Simmons
8c19cdd275
fixed mouse dpi mapping
5 years ago
keith
8448d1b5a9
fix key binding issue, text scaling, and maybe render bug
5 years ago
keith
0f10f186e8
fix setting loading
5 years ago
keith
813f00fb85
enable mouse clickthrough
5 years ago
keith
d0f0477435
queue redraw on window event
5 years ago
keith
08da104680
better linux and mac fix
5 years ago
keith
1fa9127ef7
fix mac and linux builds
5 years ago
keith
56386d0e7f
mouse movement
5 years ago
keith
16a076a082
minor fixes
5 years ago
keith
b7d8333e9a
use public skulpin
5 years ago
keith
3df33a963e
ITS WORKING!!!
5 years ago
Keith Simmons
b758f01b62
working keybindings
5 years ago
Keith Simmons
f25381530f
rendering, but wrong dpi and no input support/resizing
5 years ago
keith
215b98d971
keybinding progress
5 years ago
Keith Simmons
fef5d56106
progress
5 years ago
Keith Simmons
04b0b795f3
Merge pull request #135 from jonvaldes/mutex-settings
...
Settings behind a Mutex, instead of using atomics
5 years ago
Jon Valdés
254426218c
Settings behind a Mutex, instead of using atomics
5 years ago
Vivian Lim
f167bbe410
Write nvim version requirement messages directly to stderr
5 years ago
Jon Valdés
4169ad2170
Fix less than key on linux
5 years ago
Keith Simmons
67468b20dd
settings system
5 years ago
Keith Simmons
86073351d0
remove extra clones
5 years ago
Keith Simmons
2f67645390
fix init error freeze
5 years ago
Keith Simmons
1b677f3d1b
make settings less complicated
5 years ago
Keith Simmons
971bb3d2ff
remove all hints of integer scaling
5 years ago
Keith Simmons
850b23933b
fix command line cursor bug
5 years ago
Jon Valdés
e1b423ce86
Add all missing VirtualKeycodes to the translation function
5 years ago
Keith Simmons
829d2b3073
revert font change
5 years ago
Keith Simmons
33c68d38b9
support undercurl
5 years ago
Keith Simmons
703087fd88
set buffer frames to 1 and add extra buffer startup command. Fix bug where mouse position is improperly scaled
5 years ago
Jon Valdés
a9acc532aa
Fix a bunch of small issues reported by clippy
5 years ago
Jon Valdés
f273833f96
Added comment explaining Linux input hack
5 years ago
Jon Valdés
7cfe625777
Improved hack. By ignoring the shift modifier, it works even better
5 years ago
Jon Valdés
c6d2a9a0f5
Hack to interpret more keyboard events on Linux
5 years ago
Keith Simmons
850cf3c6db
temp fix for scrolling problem
5 years ago
Jon Valdés
f9c7e2500c
Switch to parking_lot::Mutex. It is faster and has a better API than the std one
...
Also, no possibility of poisoning, so it removes a bunch of unwraps
5 years ago
Keith Simmons
6db3f31c74
Merge pull request #102 from jonvaldes/linearize-grid-storage
...
Idea for linearization of the Editor grid storage
5 years ago
Jon Valdés
1750ac8e76
Fix scrolling issue introduced when extracting the grid
5 years ago
Jon Valdés
ddad13be2d
Iterate over rows without generating a temporary Vec
5 years ago
Jon Valdés
9450ea62d8
Better external API for EditorGrid, returning Option<&mut GridCell> for external code to modify the cells
5 years ago
Luis Holanda
f48e7d5df8
perf: take msgv::Value by value in bridge::events
5 years ago
Jon Valdés
d8e974ee12
Forgot use statement
5 years ago
Jon Valdes
e8cb1ef863
WIP Extraction of Editor::grid into its own file and struct
5 years ago
Jon Valdes
0fe0475b6d
Initial implementation of linearization of the Editor grid storage
...
Converts the Editor grid from a nested Vec<Vec<GridCell>> to a Vec<GridCell> structure.
Does the same thing with the dirty structure
5 years ago
Keith Simmons
b411bd786d
unset lazyredraw on startup
5 years ago
Keith Simmons
5912b82cea
remove msg, add logging, add startup commands, add no-idle command
5 years ago
Jon Valdes
2a14d26f1e
Using iterators and for loops instead of explicit while loops
5 years ago
Jon Valdes
2d7239c0e2
Do not clear scrolled-off area, destructure width and height
5 years ago
Jon Valdes
543556bdbe
Different implementation of scroll_region, which avoids allocations and temporary copies of scrolled data
5 years ago
Keith Simmons
ba253869db
update winit to hotfix
5 years ago
Keith Simmons
48d3824892
Merge pull request #93 from Kethku/build-draw-command-perf-improvements
...
profiling motivated perf improvements in build draw commands
5 years ago
Keith Simmons
31a1bd5cdc
profiling motivated perf improvements in build draw commands
5 years ago
Matteo Merola
7becb4c7d0
Removed unused import.
5 years ago
keith
792568774b
missing semicolon
5 years ago
keith
ba3874f309
version error
5 years ago
keith
6758d4139b
fix keybindings
5 years ago
Keith Simmons
840110ae73
Merge pull request #81 from luisholanda/cleanup-brigde
...
Remove unnecessary clones and allocations from bridge module
5 years ago
keith
234d6fa71d
revert winit to pre 0.20.0 as it crashes on windows and mac
5 years ago
Luis Holanda
8143becae6
remove unneeded clones from brigde::events
5 years ago
Luis Holanda
4df81f9cd9
remove unneeded allocations in bridge::keybindings
5 years ago
keith
20a7320474
mouse fixes
5 years ago
keith
f971f7fbeb
minor quit changes
5 years ago
keith
7d54990e83
better dpi handling
5 years ago
Keith Simmons
29dc2c766b
update to winit_20. May cause dpi issues. Can't tell yet
5 years ago
Keith Simmons
86403294a4
support window title
5 years ago
Keith Simmons
4991fc3f58
parallize processing of ui commands and don't block on nvim process creation
5 years ago
Sebastian Nowicki
860b459523
Fix conditional for MacOS emoji font
...
Closes #76
5 years ago
keith
71406ba6cb
fix emoji font loading on macos
5 years ago
keith
b7368ac110
use system emoji font first if possible
5 years ago
keith
ec260da475
revive bold and italic support
5 years ago
keith
ca24df79e6
embed fonts
5 years ago
Keith Simmons
e8e69f757e
fixed underlines
5 years ago
Keith Simmons
934d63b278
fix panic handling (probably) and tweek font discovery
5 years ago
Keith Simmons
d0941cef2e
handle panics in renderer somewhat more gracefully
5 years ago
Keith Simmons
e72c8959f1
make editor grid access more robust
5 years ago
Keith Simmons
335045840b
fix some warnings and bump skulpin
5 years ago
Keith Simmons
9308d1d81f
rework animation loop and add back animation buffer
5 years ago
keith
24a5e5dc51
rework font loading to be WAY more robust
5 years ago
keith
2f619c5d17
linux bug fixes and better error printing on linux (just panic with a message)
5 years ago
keith
2916f1337a
don't require emoji font
5 years ago
keith
7358a7cff6
minor using fix
5 years ago
keith
1ed9fc9eb9
manually setup redraw system
5 years ago
keith
49d9dbb15d
initial pass on readme
5 years ago
Keith Simmons
5a8d24b77c
fix redraw event order
5 years ago
Keith Simmons
4079f218b3
remove unnecessary hack for emoji rendering
5 years ago
Keith Simmons
2494b37070
build fixes
5 years ago
Keith Simmons
a874537c35
parse multigrid events
5 years ago
keith
7f5902d364
adjust emoji positioning
5 years ago
Keith Simmons
f8bc1a2ce4
emojis working
5 years ago
keith
5a880d06aa
remove fonts cache and make first attempt at font fallback
5 years ago
Keith Simmons
b4c392997e
use global lazy_static variables to handle modules instead of passing via reference
5 years ago
Keith Simmons
e4dd7e572b
finish up cursor options
5 years ago
Keith Simmons
a1ad41247d
resolve clippy issues and fix cursor character issue
5 years ago
Keith Simmons
c562c78fcd
fix bug in cell styling
5 years ago
Keith Simmons
4690623ec6
better special casing of resize and enable closing via x button
5 years ago
Keith Simmons
3efb6879dc
bridge struct to wrap tokio runtime and channel
5 years ago
keith
35a675c8a4
progress toward splitting main into bridge
5 years ago
Keith Simmons
b3647d69c4
fix scroll positioning
5 years ago
Keith Simmons
c96a44a9e1
better resize handling
5 years ago
Keith Simmons
e0acbd0b9f
fix crash with error in startup script
5 years ago
Keith Simmons
54212f73f5
switch to tokio channel and add resizing debouncing
5 years ago
Keith Simmons
376664e65d
minor formatting
5 years ago
Keith Simmons
72aefd4730
fix mouse location
5 years ago
Keith Simmons
514a9ca254
working with nvim_rs
5 years ago
KillTheMule
f1a082a24e
Use spawn_blocking
...
Receiving on a sync channel will otherwise block the thread
5 years ago
KillTheMule
51a387ec21
Move to futures branch of nvim-rs
5 years ago
KillTheMule
74c4075f06
Make main() own the channel, and pass it off
5 years ago
KillTheMule
50f7f3bbf2
UI Events are notifications
5 years ago
Keith Simmons
73875eb486
part way there, but can't get ui events to receive properly and don't get events yet
5 years ago
Keith Simmons
ca1fdfc25c
special case message line cursor positions
5 years ago
Keith Simmons
ed28b14596
support cursor blinking
5 years ago
Keith Simmons
35093e6472
scroll fix
5 years ago
Keith Simmons
39ea340693
minor changes and add neovide variable
5 years ago
Keith Simmons
34034474d5
support strikethrough
5 years ago
Keith Simmons
ccc9a83e15
icons
5 years ago
keith
64fe9c8de6
upgrade skulpin and winit
5 years ago
keith
778868acc3
attempt at adding more support virtual key codes
5 years ago
Keith Simmons
d6b4c6dc41
remove reference to old shaper
5 years ago
Keith Simmons
005797b276
font widths are WAY better now
5 years ago
Keith Simmons
ab6c1d5700
more progress, but can't use text blob creation utilities :/
5 years ago
Keith Simmons
ec00fe37fa
progress toward better text shaping maybe...
5 years ago
keith
6f04e9e7e0
support font setting and changing
5 years ago
Keith Simmons
9ed5bbcdde
fix build issue
5 years ago
Keith Simmons
c4264df6cc
better explained unwrap solution
5 years ago
Keith Simmons
9cf4e9c2ce
add error message boxes
5 years ago
Keith Simmons
c21605532e
smarter cursor text rendering
5 years ago
Keith Simmons
cd35e33877
better cursor animation speed and clipping text to grid region
5 years ago
keith
38b90136c8
option set event parsing
5 years ago
keith
4ab94b3cae
support cell percentage configuration
5 years ago
keith
1d620acc5a
horizontal scrolling and progress toward command line
5 years ago