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

Bug fixes #210

Merged
merged 4 commits into from
Jul 21, 2024
Merged

Bug fixes #210

merged 4 commits into from
Jul 21, 2024

Conversation

dave6502
Copy link
Contributor

@dave6502 dave6502 commented Jul 2, 2024

3 bug fixes, which have come to light after 0.6.4 release
There is a small amount of overlap with files changed in #209, but I can resubmit if required.

On windows, query strings in tile server URLs can cause crashes. So catch exceptions in Platform.cpp to protect against bad filenames
Tile server URLs with query strings can't be used as a tile disk cache filename. So massage the tileURL to be a legal filename. And change dir separators to underscores to reduce the amount of dir creation disk operations.
In a rotated chart, bottomLeft and topRight corners are not necessarily min and max lat/lon. This can result in too large a search area and overeager filtering out of visible objects.
Replace corners passed to maxDensity() and visitNodes() with min and max corners.
Ensure Charts App searches for sibling .json files of charts.
By default, borrow Maps App overlayConfig.
Update my aircraft location.
@fpw
Copy link
Owner

fpw commented Jul 21, 2024

Thanks for the fixes! There's a tiny merge conflict now after merging #209, it would be great if you could fix that, then I'll merge immediately.

@mjh65
Copy link
Collaborator

mjh65 commented Jul 21, 2024

I've resolved the merge conflict - github has updated the source branch in @dave6502's fork. @dave6502, could you do a quick build and sanity check and verify that I resolved the conflict correctly. Thanks!

@mjh65
Copy link
Collaborator

mjh65 commented Jul 21, 2024

@dave6502, one other thing to be aware of. Before rebuilding Avitab you'll need to update the git submodules as one of the recently added PRs updates the curl libraries to a recent version. I would also recommend to clean and build the 3rd-party libraries, as I have found that some are not very tolerant to a rebuild on top of a previous build.

@fpw fpw merged commit ed194d6 into fpw:master Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants