Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cosmic-text requirement from 0.10.0 to 0.11.1 #771

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2024

Updates the requirements on cosmic-text to permit the latest version.

Release notes

Sourced from cosmic-text's releases.

0.11.1

This release adds a new shape-run-cache feature that, when enabled, will cache the results of shaping operations to significantly improve performance, at the cost of increased memory usage. Make sure to trim the cache with the ShapeRunCache::trim function regularly. Also make sure to set keep_ages to a large enough value that entries are not removed too early, as minor changes in the source text can switch between active entries (such as adding or removing a space in the middle of a word).

Links

Added

  • Add shape-run-cache feature, that can significantly improve shaping performance

Removed

  • Remove editor-libcosmic, see cosmic-edit instead
Changelog

Sourced from cosmic-text's changelog.

[0.11.1] - 2024-02-08

Added

  • Add shape-run-cache feature, that can significantly improve shaping performance

Removed

  • Remove editor-libcosmic, see cosmic-edit instead

[0.11.0] - 2024-02-07

Added

  • Add function to set metrics and size simultaneously
  • Cache rustybuzz shape plans
  • Add capability to synthesize italic
  • New wrapping option WordOrGlyph to allow word to glyph fallback

Fixed

  • Buffer::set_rich_text: Only add attrs if they do not match the defaults
  • Do not use Emoji fonts as monospace fallback
  • Refresh the attrs more often in basic shaping
  • Buffer: fix max scroll going one line beyond end
  • Improve reliability of layout_cursor
  • Handle multiple BiDi paragraphs in ShapeLine gracefully
  • Improved monospace font fallback
  • Only commit a previous word range if we had an existing visual line

Changed

  • Update terminal example using colored
  • Significant improvements for Editor, SyntaxEditor, and ViEditor
  • Require default Attrs to be specified in Buffer::set_rich_text
  • Bump fontdb to 0.16
  • Allow Clone of layout structs
  • Move cursor motions to new Motion enum, move handling to Buffer
  • Ensure that all shaping and layout uses scratch buffer
  • BufferLine: user layout_in_buffer to implement layout
  • BufferLine: remove wrap from struct, as wrap is passed to layout
  • Refactor of scroll and shaping
  • Move color and x_opt out of Cursor
  • Add size limit to font_matches_cache and clear it when it is reached
  • Update swash to 0.1.12
  • Set default buffer wrap to WordOrGlyph

Removed

  • Remove patch to load Redox system fonts, as fontdb does it now

... (truncated)

Commits
  • cb447ea 0.11.1
  • 1eb3233 Add shape-run-cache feature, that can significantly improve shaping performance
  • 990d66e Ignore bitflags in cargo-deny duplicate check
  • 0a24ee0 Remove editor-libcosmic
  • 8174877 0.11.0
  • be47183 Add a test case for extra line insertion.
  • de587b3 Only commit a previous word range if we had an existing visual line.
  • ceb6dcc Update test image size
  • dd2c907 Update test images
  • 003f73e Set default buffer wrap to WordOrGlyph
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies A dependency needs to be updated. label Feb 9, 2024
@dependabot dependabot bot requested a review from CryZe February 9, 2024 07:49
Updates the requirements on [cosmic-text](https://github.com/pop-os/cosmic-text) to permit the latest version.
- [Release notes](https://github.com/pop-os/cosmic-text/releases)
- [Changelog](https://github.com/pop-os/cosmic-text/blob/main/CHANGELOG.md)
- [Commits](pop-os/cosmic-text@0.10.0...0.11.1)

---
updated-dependencies:
- dependency-name: cosmic-text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@CryZe CryZe force-pushed the dependabot/cargo/cosmic-text-0.11.1 branch from ec8734a to 64bb1f3 Compare February 11, 2024 22:20
@CryZe CryZe added the performance Affects the performance of the code. label Feb 11, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 12, 2024

A newer version of cosmic-text exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@CryZe CryZe added the blocked Progress is blocked and can't progress. label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Progress is blocked and can't progress. dependencies A dependency needs to be updated. performance Affects the performance of the code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant