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

Return none for invalid colors - #8602

Merged
ivovandongen merged 3 commits into
masterfrom
8075-color-parser-optional
Apr 4, 2017
Merged

ivovandongen merged 3 commits into
masterfrom
8075-color-parser-optional

Conversation

@ivovandongen

Copy link
Copy Markdown
Contributor

Fixes #8075

@ivovandongen ivovandongen added the Core The cross-platform C++ core, aka mbgl label Mar 31, 2017
@ivovandongen ivovandongen self-assigned this Mar 31, 2017
@jfirebaugh

Copy link
Copy Markdown
Contributor

@kkaefer

kkaefer commented Apr 3, 2017

Copy link
Copy Markdown
Member

I'm not planning to release this on Mason since we'd have to do releases for multiple C++ ABIs. Instead, I'll update https://github.com/mapbox/css-color-parser-cpp and we'll continue to use the copy.

@ivovandongen

Copy link
Copy Markdown
Contributor Author

Tests succeeds now, enabled in mapbox/mapbox-gl-js#4538. Needs review/merge and then update this pr with the commit hash.

@ivovandongen
ivovandongen force-pushed the 8075-color-parser-optional branch from 11dbbf9 to 046bd73 Compare April 4, 2017 11:53
@ivovandongen

Copy link
Copy Markdown
Contributor Author

Tests merged and pr updated. @anandthakker care to review?

@kkaefer

kkaefer commented Apr 4, 2017

Copy link
Copy Markdown
Member

Added in mapbox/css-color-parser-cpp@4262ac8, and also found this bug: mapbox/css-color-parser-cpp@4262ac8#diff-6f54320f4777f289e3bf3d6bfe95c9c8L44

Can you please update from the source?

@anandthakker anandthakker left a comment

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.

LGTM pending @kkaefer 's comment

@ivovandongen

Copy link
Copy Markdown
Contributor Author

@kkaefer Added your change in 30f68af

@kkaefer

kkaefer commented Apr 4, 2017

Copy link
Copy Markdown
Member

Nit: there's a typo in the commit message ;)

@ivovandongen
ivovandongen force-pushed the 8075-color-parser-optional branch from 30f68af to 9a3760e Compare April 4, 2017 14:50
@ivovandongen

Copy link
Copy Markdown
Contributor Author

Oopsy... Time for a spell check plugin in vi. Fixed

@ivovandongen
ivovandongen merged commit 64beba3 into master Apr 4, 2017
@ivovandongen
ivovandongen deleted the 8075-color-parser-optional branch April 4, 2017 15:31
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.

4 participants