439 Commits (6abe057d6e1db6202911122bd9e704fa5d5fb9f3)

Author SHA1 Message Date
Keith Simmons 949e15f808 add debug renderer feature 3 years ago
Serg Tereshchenko 61fb07d7bf style: Fix clippy warning 3 years ago
Lucas Miranda 0d6cfd54cb
Fix to sending key signals when window focus lost (#845)
When window focus has just been lost, key pressed events aren't ignored
3 years ago
Lucas Miranda 0c1a7029e3
Fix to ensure provided gui font is valid (#842)
Providing a wrong font was causing neovide to retry every time to load an
inexistent font, instead just trying to load once at it's setup should
be enough
3 years ago
partizan 3da8b56b74
fix(keyboard): Fix shift+tab handling (#836)
Refs #445
3 years ago
Tim Biermann f6a8ffced0
Make waylands app_id and x11s class overrideable (#834)
* trying to make app_id and class exchangeable

* still fails to hand over the argument

* make both app_id and class be set by command line arguments

* added missing cfg for class

* Changes as requested. Putting the os check in a block however doesn't
work for me

* getting rid of superfluous to_string()

* x11-class argument gets ignored

* changed argument name

* Update src/cmd_line.rs

* changed faulty unwrap

* added missing comma

* fixed wrong case

* fixed class

* make cargo fmt happy

* exchanged String::from with String::new

* make both attributes also overrideable via env::var

Co-authored-by: partizan <serg.partizan@gmail.com>
3 years ago
Serg Tereshchenko 5991117814 style(fonts): Removed redundant closure
(Thanks clippy)
3 years ago
partizan 334c2d779f
Refactor keyboard manager (#833)
* refactor(keyboard_manager): Refactor KeyboardManager

This refactoring changes nothing in key handling behaviour, but moves
some code out of handle_event, to make thigs clearer.

* style(keyboard_manager): Move private functions to bottom
3 years ago
partizan e8354e1b23
Dynamic scale factor updates (#817)
* wip: dynamic scale factor updates

* refactor font options

* update font opts

* refacor scale factor updates

* cargo fmt
3 years ago
Serg Tereshchenko 42ff24518b fix(macos): Fix scaling on mac-os
On MacOS points and pixels are the same.
3 years ago
Keith Simmons cacde9ec9d fix initial window positioning 3 years ago
partizan a527c0ebb7
fix(fonts): Fix font scaling (points to pixels conversion) (#814)
Refs #387
3 years ago
partizan abb05ab7b8
refactor(startup): Use SETTINGS to store window geometry (#806) 4 years ago
Serg Tereshchenko c870c46aa3 chore(renderer/fonts): Fix unused variable warning 4 years ago
Serg Tereshchenko a1bb24b445 fix(window): Fix resize after maximized
Refs #803
4 years ago
Serg Tereshchenko 07c0349e4a chore: Fixed formatting 4 years ago
partizan 43bab8404b
Refactor scaling code (#793)
* refactor(scaling): Refactor scaling code, scale only font size

* chore: Add debug logging for scale factor

* fix scaling for default font
4 years ago
Keith Simmons 80c57bb339
tweak vertical positioning (#795) 4 years ago
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.
4 years ago
partizan d2e33b87f2
Rename "bot" to "bottom" in WindowDrawCommand::Scroll (#789)
* chore(test): Fix function call

* refactor(WindowDrawCommand::Scroll): Rename bot to bottom
4 years ago
partizan d564dc8261
chore(test): Fix function call (#785) 4 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
4 years ago
Keith Simmons 73902a6c7a formatting and clippy fixes 4 years ago
Keith Simmons b0222d206e revert 'fix' for pum position 4 years ago
Keith Simmons 2fc74f83ca enable bold/italic highlight styles 4 years ago
smolck f99c21d971
feat(fonts): add support for :b and :i in guifont (#769)
Close #709.
4 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
4 years ago
smolck bc1009babc
make dead keys work w/out breaking ctrl mappings (#767) 4 years ago
Keith Simmons fd27e059f0 fix another issue 4 years ago
Keith Simmons 792a6b80b0 yet more macos fixes 4 years ago
Keith Simmons b015c77657 more macos fiddling 4 years ago
Keith Simmons 43fdcb7bb2 fix for option key on macos 4 years ago
Keith Simmons 82b745c92b fix pum menu positioning 4 years ago
Keith Simmons fec2711b90 don't send input if window was just focused 4 years ago
Keith Simmons 30f9bc9d59 minor clippy fixes 4 years ago
Nigel Baillie 27a9c94ad3
Fix sporadic cursor jumps (a bit hacky) (#753)
* Fix occasional sporadic cursor movements

* Discern between "editor" and "message" windows
4 years ago
Keith Simmons f0a46dbff9
Keyboard deadkey handling (#752)
* first stab at better dead key handling

* don't send S-
4 years ago
Keith Simmons 7a1fa123b8 swap to new icon 4 years ago
Keith Simmons 4159c47ff4 clippy fixes 4 years ago
Keith Simmons 407a7e24a9 formatting fixes 4 years ago
Keith Simmons f5b65a6770 fix mouse drag crash 4 years ago
Keith Simmons fbd8e959b2 more mouse position fixes 4 years ago
Keith Simmons 3449cfda7a port forward scrolling fix 4 years ago
Keith Simmons 1f699afad1 fix cursor disappearing glitch 4 years ago
Keith Simmons 59fa3ed2a9 rewrite the mouse handling to handle upstream bugs somewhat better. Still haven't found the crash yet 4 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
4 years ago
Keith Simmons 113a3f421c clippy fixes 4 years ago
Anirudh Balaji 7697cd9cef
fix: don't drop entire blob when shaping control characters (#737) 4 years ago
Keith Simmons 5c7deeb8b9 fix rendering when glyph can't be found and add last resort font 4 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>
4 years ago