Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Fix getFilter with distance expression crash. #380

Merged
merged 4 commits into from
May 14, 2020
Merged

Conversation

Chaoba
Copy link
Contributor

@Chaoba Chaoba commented May 12, 2020

<changelog>Fixed a crash while Layer.getFilter() has expression distance content. </changelog>

Update getFilter test for expression within and distance.

@Chaoba Chaoba requested a review from tobrun May 12, 2020 07:46
Copy link
Contributor

@alexshalamov alexshalamov left a comment

Choose a reason for hiding this comment

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

Why do we need gl-native master? I think we need to stick to gl-native 1.6.0 release, so that this PR can be cherry picked to 9.2.0 release

/cc @tobrun

@Chaoba Chaoba merged commit 0010a58 into master May 14, 2020
@Chaoba Chaoba deleted the kl-filter-distance branch May 14, 2020 11:39
Chaoba pushed a commit that referenced this pull request May 14, 2020
* Fix getFilter with distance expression crash.

* Update gl-native and test case

* Bump gl-native to maps-1.6.0

* Update review comment.

(cherry picked from commit 0010a58)
Chaoba pushed a commit that referenced this pull request May 14, 2020
* Fix binary size. (#382)

Add compiler and linker options to reduce binary size for release build:
  - reduce symbol visibility: `-fvisibility=hidden`, `-fvisibility-inlines=hidden`;
  - link time optimization `-flto` and enable gold plugin;
  - remove duplicated code: `–icf=all`;
  - size optimization for compilation (`-Oz`);
  - garbage collect unused sections: `-Wl,--gc-sections`

(cherry picked from commit 05974e2)

* Reset AndroidRendererBackend properly to prevent a crash during rotation on an Android 4.2.2 x86 tablet. (#381)

Co-authored-by: Tsoi Yat Shing <ystsoi@yahoo.com.hk>
(cherry picked from commit d319e17)

* Fix getFilter with distance expression crash. (#380)

* Fix getFilter with distance expression crash.

* Update gl-native and test case

* Bump gl-native to maps-1.6.0

* Update review comment.

(cherry picked from commit 0010a58)

* Update changelog for 9.2.1 (#384)

* Update changelog for 9.2.1

* Update changelog for 9.2.1

(cherry picked from commit f8fade5)

Co-authored-by: Igor Tarasov <igor.tarasov@mapbox.com>
Co-authored-by: Tobrun <tobrun.van.nuland@gmail.com>
@chloekraw chloekraw added this to the release-xoai milestone May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants