Skip to content

[pull] master from fyne-io:master#33

Merged
pull[bot] merged 99 commits into
Mu-L:masterfrom
fyne-io:master
Mar 14, 2024
Merged

[pull] master from fyne-io:master#33
pull[bot] merged 99 commits into
Mu-L:masterfrom
fyne-io:master

Conversation

@pull

@pull pull Bot commented Dec 24, 2023

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

andydotxyz and others added 30 commits November 24, 2023 10:15
Fix android release when arch specified
The code handling mimetypes was using strings.Split() to split the string and that allocates. We can use strings.IndexByte() to get an index and subslice instead. I also refactored some code to avoid duplicating mimetype split logic.

The new internal/repository/mime package exists to avoid cycling imports.

NOTE: The split logic is slightly different because a second / would be includes as part of the subtype now but as far as I can see from reading the spec (https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-0.21.html) it should not be a problem as the format is "mainType/subType;weight" so there should not be any more separators.
This avoids various cases where we were calling "slow" (C-calls for glfw or locking mutexes) functions multiple times in a row. Lets save the value and use it instead.
andydotxyz and others added 29 commits February 8, 2024 17:18
@pull pull Bot merged commit e332a5e into Mu-L:master Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants