Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Unordered Map - #6324

Merged
bleege merged 1 commit into
masterfrom
3980-unorderedmap
Sep 14, 2016
Merged

bleege merged 1 commit into
masterfrom
3980-unorderedmap

Conversation

@bleege

@bleege bleege commented Sep 13, 2016

Copy link
Copy Markdown
Contributor

Fixes #3980

@bleege bleege added the Core The cross-platform C++ core, aka mbgl label Sep 13, 2016
Comment thread platform/macos/src/MGLMapView.mm Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 This is a good choice for what’s essentially a sparse array. By the way, the iOS SDK implementation of MGLMapView defines its own MGLAnnotationContextMap and uses it the same way as this implementation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you make the same change to the iOS SDK for consistency?

@bleege

bleege commented Sep 14, 2016

Copy link
Copy Markdown
Contributor Author

I reviewed the failing Android build on Bitrise to determine the cause of the issue. According to the run log the issue that caused the error was during the testing on the Google Cloud Service and not the local build nor local unit tests. I was then able to review the logs on the Google Cloud Service and discovered that the only stacktraces from errors were caused by system level components of the device and the jacoco. In other words not the Mapbox SDK nor TestApp. This was also confirmed by watching the recorded test video of the run.

Next step is to build this version of the branch locally and run on a local Android device to ensure that it indeed works. If it does, then that'll confirm the Google Cloud Services issue as a false positive and we'll be good to merge.

/cc @lucaswoj @jfirebaugh

@bleege

bleege commented Sep 14, 2016

Copy link
Copy Markdown
Contributor Author

I've built this branch locally and successfully tested the entire Android TestApp suite on a local Samsung S5 running API 21 (aka the same thing that the automated system should be doing). This makes me think this is indeed a false positive from Google Cloud Services and that we're safe to merge.

Next steps is to squash and merge.

@bleege
bleege merged commit d0f9ba4 into master Sep 14, 2016
@bleege

bleege commented Sep 14, 2016

Copy link
Copy Markdown
Contributor Author

Squashed, Rebased on to master, and then merged to master.

@bleege

bleege commented Sep 14, 2016 •

Copy link
Copy Markdown
Contributor Author

Oops, it looks like my rebase onto master accidentally removed a line of code from some work that @jfirebaugh had done. My goal was to take the entirely new version from @jfirebaugh's work as it'd actually removed any need for unordered_map refactoring. I'm going to re-add this line of code in a new PR.

d0f9ba4#diff-157d7452c8125b258e193cd1e1414730

screen shot 2016-09-14 at 4 46 27 pm

@bleege

bleege commented Sep 14, 2016

Copy link
Copy Markdown
Contributor Author

Also, here's the list of all the commits / files changed during this PR before it was squashed. This may be helpful in debugging potential future issues.

screen shot 2016-09-14 at 4 24 37 pm

@bleege

bleege commented Sep 15, 2016

Copy link
Copy Markdown
Contributor Author

I just put the previously stomped on friend class SymbolLayout; back into master in #6336 so everything should be good to go again.

@bleege
bleege deleted the 3980-unorderedmap branch September 15, 2016 00:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants