905 Commits (main)
 

Author SHA1 Message Date
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
partizan f58b9470a6
Merge pull request #828 from Kethku/fix-macos-scaling
fix(macos): Fix scaling on mac-os
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
Kristoffer Dalby 1c2fddee66
Put Windows artefact in zip archive (#822)
* Put Windows artefact in zip archive

This PR adds an extra step to the Windows pipeline to put the Windows artefact in a `.zip` archive. 

A lot of places (specially companies) has proxies that outright blocks everything ending in `.exe` and this is a neat way to make it a bit easier to distribute from Github to those places.

* Correct zip output path

* Archive linux artifact
3 years ago
shaunsingh c712dd2783
Fix Icon Metadata (#824) 3 years ago
PyGamer0 9d0fca44e7
Update README.md (#808)
Good call :)
3 years ago
partizan abb05ab7b8
refactor(startup): Use SETTINGS to store window geometry (#806) 3 years ago
partizan ebe01fc445
Merge pull request #804 from Kethku/fix-maximize
Fix maximize
3 years ago
Serg Tereshchenko c870c46aa3 chore(renderer/fonts): Fix unused variable warning 3 years ago
Serg Tereshchenko a1bb24b445 fix(window): Fix resize after maximized
Refs #803
3 years ago
Serg Tereshchenko 52102caf2b fix(deps): Fix cargo.lock 3 years ago
Serg Tereshchenko 07c0349e4a chore: Fixed formatting 3 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
3 years ago
Keith Simmons 80c57bb339
tweak vertical positioning (#795) 3 years ago
partizan 305f791b31
Merge pull request #801 from Kethku/fix-build-m1
Fix build m1
3 years ago
Serg Tereshchenko e6c32b594e fix(ci): Publish snaps only for pushes in main branch 3 years ago
Serg Tereshchenko 01b7918538 fix(ci): Fix mac m1 build 3 years ago
partizan b6ae0b3c79
fix(ci): Fix clippy action 3 years ago
partizan 5c5cf9088d
Merge pull request #798 from last-partizan/main
Fix broken Cargo.lock
3 years ago
Serg Tereshchenko c4dfb3ed01 chore: Use caret deps 3 years ago
Serg Tereshchenko d4d57d4759 fix(deps): Update skia-safe to 0.40.2 3 years ago
Serg Tereshchenko eb5e1aca89 Revert "Update Cargo.lock (#783)"
This reverts commit ee85e037ec.
3 years ago
Serg Tereshchenko c79a1c4dd0 Revert "Bump rust-skia in cargo.toml"
This reverts commit 5cf21960aa.
3 years ago
shaunsingh 5cf21960aa
Bump rust-skia in cargo.toml 3 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.
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
smolck 0d8311f8a4
ci(): clippy & cargo fmt check separate from build (#781) 3 years ago
shaunsingh ee85e037ec
Update Cargo.lock (#783) 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
shaunsingh 54c875092b
Merge pull request #770 from smolck/update-pr-template
doc(PULL_REQUEST_TEMPLATE): use checklist & comment
3 years ago
smolck 2f81044d78
doc(PULL_REQUEST_TEMPLATE): use checklist & comment 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
shaunsingh bb569efd0b
Clarify --log instructions in bug report template 3 years ago