Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
Woo!
  • Loading branch information
Lyude committed Jan 22, 2022
1 parent ddc3336 commit 7c67cf6
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 5 deletions.
79 changes: 76 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,79 @@
## Unreleased
1. Migration to new ext_linegrid api [ui-linegrid](https://neovim.io/doc/user/ui.html#ui-linegrid)
2. New option --cterm-colors [#190](https://github.com/daa84/neovim-gtk/issues/190)
# v0.4.0

Note: this is the first version being maintained by Lyude, and as a result I didn't make a thorough
attempt at coming up with a changelog for history that came before me maintaining things (besides
things that were already written in the changelog by @daa84). Therefore, this changelog may be
incomplete. I've also decided to skip v0.3.0 and go directly to v0.4.0, to indicate the difference
in maintenance since things were stuck on v0.3.0 for so long. Future version bumps won't skip
numbers like this.

## Enhancements

- Migration to new ext_linegrid api [ui-linegrid](https://neovim.io/doc/user/ui.html#ui-linegrid)
- New option --cterm-colors [#190](https://github.com/daa84/neovim-gtk/issues/190)
- Migrate to using nvim-rs instead of neovim-lib, this allows us to use async code and handle
blocking operations far more easily.
- Resize requests are sent immediately vs. intervallically, resulting in much smoother resizing
- We now print RPC request errors as normal neovim error messages
- Closing neovim-gtk is now inhibited during a blocking prompt
- UI elements are now disabled when opening files via the command line, through one of the GUI
elements, or while neovim-gtk is initializing. This prevents potential RPC request timeouts.
- Don't change nvim directory when changing file browser directory, this behavior wasn't immediately
obvious and was more confusing then useful.
- Added support for standout highlighting
- Started populating most of the client info for neovim
- Implemented working maps of some neovim arguments which typically hang the GUI if passed directly
to neovim via `neovim-gtk -- --foo=bar`, including:
- `-c` (execute command after opening files)
- `-d` (diff-mode)
- Start using `nvim_input_mouse()`
- Update GTK+ version to 3.26
- Update crates
- Preliminary work for [GTK+4 support](#8):
- Use `PopoverMenu`s instead of `GtkMenu`s
- Start using `PopoverMenu` and `Action`s for the file browser
- Use `Action`s for building the context menu for the drawing area
- Use a `MenuButton` for the Open button rather than a `Button`
- Use CSS margins instead of `border_width()` where possible
- Stop using `size_allocate` events where we can help it
- Various misc. refactoring
- Use the special color for rendering underline
- Add support for the `:cq` command (#15, @bk2204)
- Improve algorithm for determining popup menu column sizes
- Update GTK+ tabling visibility on tabline option changes
- Make info in the completion popup scrollable

## Bug fixes

- `VimLeavePre` and `VimLeave` are now correctly executed upon exiting
- `E365 ("File already opened in another process")` prompts no longer hang when opening files via
the command line
- The runtime path for our various vim scripts is now correctly set when using `cargo run`
- Resizing while neovim is stuck on a blocking prompt no longer hangs
- Focus changes while neovim is stuck on a blocking prompt no longer hang
- Use the special color for rendering underlines and undercurls when it's explicitly set, otherwise
fallback to the foreground color (except for undercurls, where we default to red in this case).
(#10)
- Fix issues with various unicode graphemes being misaligned when rendered using certain fonts (#7,
#5, @medicalwei)
- Fix crashes and most rendering issues when rendering combining glyphs that require a fallback font
to be used
- Round up background cell width (#1, @jacobmischka)
- Silently ignore the blend attribute for highlights, at least until we've added support for it
(#17, @bk2204).
- Don't use predictably named temporary files (#20, @bk2204)
- Fix undercurl rendering with certain fonts (#11)
- Stop completion popups from changing colors changing when they shouldn't be
- Fix GTK+ tabline visibility issues when trying to disable the external tabline
- Fix undercurl rendering for double width graphemes under the cursor
- Fix coloring with respect to the `background` option in neovim when either one or both of the
foreground and background colors are missing.

## Special thanks to those who contributed patches this release

- @medicalwei
- @bk2204
- @jacobmischka

<!-- vim: tw=100 colorcolumn=100 ts=2 sts=2 sw=2 expandtab
-->
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nvim-gtk"
version = "0.3.0"
version = "0.4.0"
authors = [
"daa84 <daa84@inbox.ru>",
"Lyude Paul <thatslyude@gmail.com>",
Expand Down

0 comments on commit 7c67cf6

Please sign in to comment.