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

Fix fallback fonts' handling and building with -flto=auto (Fixes: #159, Fixes: #144, Fixes: #165) #164

Merged
merged 10 commits into from
Nov 18, 2024

Conversation

actionless
Copy link
Collaborator

@actionless actionless commented Nov 7, 2024

(pls squash when merging with msg: fix fallback fonts' handling)

Fixes: #159, Fixes: #144, Fixes: #165

@actionless
Copy link
Collaborator Author

👌😸 ready for review

@actionless actionless changed the title Fix building with -flto=auto (fixes #159) Fix building with -flto=auto (Fixes: #159) Nov 7, 2024
@actionless actionless changed the title Fix building with -flto=auto (Fixes: #159) Fix building with -flto=auto (Fixes: #159, Fixes: #144) Nov 7, 2024
@actionless
Copy link
Collaborator Author

i was feeling funny, so also fixed another related issue which was happening amongst same-ish lines of code 😺

@actionless actionless changed the title Fix building with -flto=auto (Fixes: #159, Fixes: #144) Fix fallback fonts' handling and building with -flto=auto (Fixes: #159, Fixes: #144) Nov 7, 2024
@actionless
Copy link
Collaborator Author

also it's normally recommended to free() dynamically allocated arrays before the app exit, HOWEVER it's not done for any other cases in st/xst codebase so i guess i shouldn't add that clean-up either

@@ -22,4 +22,4 @@ jobs:
- name: smoke test build
run: xvfb-run ./xst bash -c exit
- name: smoke test install
run: xvfb-run xst bash -c exit
run: sync ; sleep 0.1 ; xvfb-run xst bash -c exit
Copy link
Collaborator Author

@actionless actionless Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(for some reason this step is starting to execute sometimes before the file actually created in the filesystem)

@actionless
Copy link
Collaborator Author

@neeasade also i think we'll need to publish a minor release after merging this

@actionless actionless changed the title Fix fallback fonts' handling and building with -flto=auto (Fixes: #159, Fixes: #144) Fix fallback fonts' handling and building with -flto=auto (Fixes: #159, Fixes: #144, Fixes: #165) Nov 18, 2024
@actionless actionless merged commit 1d2f295 into gnotclub:master Nov 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant