hiro/qt: Backport some ares changes #371
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are no serious, major changes here. Even though most of these code changes are small, I've still carefully credited each of them using co-authors and a link back to the commit it's from in ares, hopefully that is sufficient. I believe the ares license is more permissive than the bsnes one, so I don't think licensing would be an issue here. I've also tested building with both Qt 5 and Qt 6 (using the unmerged PR that adds the Makefile changes) and it all looks good to me.
There are a few changes I did not opt to take. These mostly consisted of:
Most of the changes I did take are fairly minor but still nice-to-have improvements. In the case of changes where my work on getting bsnes working in Qt 6 happened to collide with existing work in ares we got improvements on both sides, e.g. in
Monitor.I think doing the same thing for the GTK backend would probably be a wise idea before I do any work on it.