Commit Graph

16768 Commits

Author SHA1 Message Date
Alexander Shalamov
9a42bdd7ae [core] Add filtering option to test-runner
This change adds filter command line option to render test runner,
so that test can be filtered by providing regular expression, for instance:

mbgl-render-test -f .*hillshade.*
2019-08-28 13:55:36 +03:00
Alexander Shalamov
6ee69e7493 [core] Bump mbgl/linux-gcc-5-qt-5.9 image to 5cd92d7d1c
New docker image contains Noto Sans CJK font that is used by the unit tests
2019-08-28 12:08:54 +03:00
Alexander Shalamov
9e3cb67d1c [core][qt] Update unit tests and include Korean symbols
- Decrease pixelmatch tolerance for local glyph rasterizer
- Add Korean symbols to test fixture
- Fix ifdefs, as the QT and Apple related blocks were using same results
- Add NotoSansCJK test for QT / Linux platform
2019-08-28 12:08:54 +03:00
Alexander Shalamov
5d316a8076 [core][qt] Check if QFont supports glyph and adjust backing image width
- Don't rasterize glyphs if font does not support requested code point
- Render symbols at hardcoded baseline, so that locally rasterized glyphs
  align better with server side generated fonts.
- Resize backing QImage width to be at least 24px
2019-08-28 12:08:54 +03:00
Łukasz Paczos
e3795f2a5c [android] cancel CameraAnimatorActivity joint example when the map is destroyed 2019-08-28 10:34:14 +02:00
tobrun
309f566800 [android] add font array attribute configuration for local ideograph font, add enable flag attribute configuration 2019-08-28 08:58:57 +02:00
Ander Conselvan de Oliveira
21632a66f8 [core] Remove programCacheDir parameter from ProgramParameters
Binary shader support has been removed in commit c2f974f2a5 ([core]
Remove binary shader support). This left-over parameter is not used
anywhere anymore.
2019-08-27 16:23:48 +03:00
tobrun
2c796a72aa [android] ignore project wide gradle.properties file 2019-08-27 14:54:24 +02:00
tobrun
829f27e57b [android] reorder android-check make command 2019-08-27 13:54:32 +02:00
zmiao
482dfc501c Add changelog for fix of mixed SDF+non-SDF icon rendering in one layer (#15492)
* Add changelog for fix of mixed SDF+non-SDF icon rendering in one layer

* Add bracket for ios changelog number

* Add more brackets
2019-08-27 13:29:02 +03:00
Mikhail Pozdnyakov
766392f1f8 [test runner] Use allocation peak values for memory metrics 2019-08-27 12:34:09 +03:00
Mikhail Pozdnyakov
1b020eeb11 [test runner] Test metrics reports. Check metrics results. 2019-08-27 12:34:09 +03:00
Mikhail Pozdnyakov
d0a84cb7d9 [test runner] Introduce probe_memory_.. API for render tests 2019-08-27 12:34:09 +03:00
Mikhail Pozdnyakov
e787f5f43a [test runner] Overload global new/delete 2019-08-27 12:34:09 +03:00
Mikhail Pozdnyakov
75b1e47f3a [test runner] Introduce AllocationIndex 2019-08-27 12:34:09 +03:00
Jason Wray
bf2924e858 [ios, build] Verify upload integrity during deployment 2019-08-26 12:30:56 -07:00
zmiao
c770c23262 [core] fix mixed sdf + non-sdf icon rendering in one layer (#15456)
* [core] fix icon symbol rendring when sdf and non-sdf icon in the same symbol layer

* fix build error

* fix typo

* revert renderableSegment change

* simplify codes

* fix build error

* refine sdf icon flag

* [core] fix mixed sdf + non-sdf icon rendering in one layer

* remove iconstatus getter in stymbol bucket

* fix review findings

* provide bitwise operator for SymbolContent enum

* use MBGL_MBGL_CONSTEXPR

* add one missing update for sdfIcon

* make renderer symbol type as enum
2019-08-26 21:54:59 +03:00
Łukasz Paczos
dbda6cc9e8 [android] initialize CameraPositionActivity listeners after the style is loaded 2019-08-26 14:27:35 +02:00
Mikhail Pozdnyakov
f365dcece4 [render tests] gl-native baseline for debug/collision- tests 2019-08-26 13:55:15 +03:00
Julian Rex
4010b1d256 [ios] Added pending completion blocks (#15122) 2019-08-25 01:02:29 -04:00
Fabian Guerra Soto
5c066f874c [ios] Improve tilt gesture recognizer detection. (#15349)
* [ios] Improve tilt gesture recognizer detection.

* [ios] Update tilt gesture detection angles.

* [ios] Fix a delay at the beginning of the drag gesture.

* [ios] Update tilt gesture recognizer tests.

* [ios] Update changelog.

* [ios] Add horizontal tilt gesture test.

* [ios] Addresses review feedback.

* [ios] Add comments to clarify the tilt gesture initialization.
2019-08-23 17:59:38 -07:00
Łukasz Paczos
5c22f3f236 [android] changelog for v8.2.2 2019-08-23 17:12:44 +02:00
Jason Wray
5db1c18096 [ios] Fix a couple minor warnings in iosapp 2019-08-23 07:31:48 -07:00
Aleksandar Stojiljkovic
9eff849c74 [core] Fix tileCover / TileCoordinate fromScreenCoordinate(#15442)
Remove unecessary tile coordinate unproject -> project  step.
Unproject+project isn't always a noop and this was the issue leading to wrong cover calculation in high pitch values.

Fixes: https://github.com/mapbox/mapbox-gl-native/issues/15442
2019-08-23 16:43:05 +03:00
Sudarsana Babu Nagineni
13d2667035 [android] jni binding refactor
Move registerNatives() call to a separate file to make jni.cpp
less dependent on native headers.
2019-08-23 14:39:05 +03:00
Mikhail Pozdnyakov
ef3d04dee5 [core] Export symbol placement update status from MapObserver 2019-08-23 10:56:05 +03:00
Nadia Barbosa
7b25cb1092 [ios, macos] Clarify current best practices with animated camera changes 2019-08-22 21:54:05 -07:00
zmiao
2a8359b028 [android] bindings for aggregated cluster properties (#15425)
* [android] bindings for aggregated cluster properties

* [android] change the parameter type for adding clusterProperty

* [android] add changelog

* remove extra emplty line
2019-08-22 18:54:31 +03:00
Łukasz Paczos
4a5475b1c6 [android] changelog for v8.3.0-beta.1 2019-08-22 13:58:38 +02:00
Mikhail Pozdnyakov
68de60c8d0 [core] Fill layer pattern change must cause re-layout
Otherwise, pattern properties update is not taken in action.
This caused the following render tests failure:
`build/mbgl-render-test runtime-styling/layer-add-fill regressions/mapbox-gl-js#3107 --recycle-map`
2019-08-22 14:27:27 +03:00
tobrun
81111c955b [android] update snapshot version number to 8.4.0 2019-08-22 12:36:28 +03:00
Mikhail Pozdnyakov
a1da06cb68 [core] Fix GeoJSON tiles update
Before this change, GeoJSON tiles data were updated before the
corresponding layers were applied, therefore `GeometryTileWorker`
parsed new data with the outdated layers.

It caused the following render test failure:

`mbgl-render-test text-max-width/unlimited regressions/mapbox-gl-native#9976 --recycle-map`

Now a GeoJSON tile, which needs relayout, is not parsed until the valid layers
are set.
2019-08-22 10:55:56 +03:00
Jordan Kiley
4a05d58df6 [ios] Use iOS property names in changelog (#15448) 2019-08-21 14:55:47 -07:00
Jordan Kiley
16a8f3ec7a Release iOS v5.3.0-beta.2 (#15446) 2019-08-21 14:27:36 -07:00
Jason Wray
c4f992e489 [ios] Remove obsolete iosapp telemetry debug logging
This has been superceded by features in the standalone events library.
2019-08-21 12:14:20 -07:00
Jason Wray
0e57c7de44 [ios] Refactor NSUserDefaults key variable names 2019-08-21 12:14:20 -07:00
Julian Rex
c3cd9002f0 [ios] Fix integration tests failing on iOS 9 (due to UIWindow deallocation), and random fails waiting for rendering. (#15433) 2019-08-21 14:23:33 -04:00
Ansis Brammanis
ba2d80441e [core] add missing changelog for symbol fading issue (#15443) 2019-08-21 10:54:02 -07:00
Langston Smith
9263cdd856 [android] Updating HttpRequestUrl to separate offline requests from Maps SKU (#15363) 2019-08-21 09:48:36 -07:00
Łukasz Paczos
baa7086570 Merge pull request #15437 from mapbox/lp-revert-14989
Revert "[android] invalidate camera when setting a padding"
2019-08-21 17:24:11 +02:00
Mikhail Pozdnyakov
d0529e7b19 [render test] mapbox-gl-native baseline for text-pitch-alignment tests 2019-08-21 17:07:05 +03:00
Mikhail Pozdnyakov
4767b561e8 [android][ios] Add change log entries 2019-08-21 12:00:26 +03:00
Asheem Mamoowala
aebcaf685f Add unit test and fixture 2019-08-21 12:00:26 +03:00
Asheem Mamoowala
0c017c3e49 Correclty implement canRasterizeGlyph in unit test stub 2019-08-21 12:00:26 +03:00
Asheem Mamoowala
0e3a7416e5 [core] Don't overwrite locally renderable glyphs with remote glyphs 2019-08-21 12:00:26 +03:00
Jason Wray
00d4f812ac [ios] Update MGLTileSetTests.testTileSetFromTileURLTemplates for Xcode 11 2019-08-21 11:08:44 +03:00
Jordan Kiley
6f78560f24 [ios] Add threshold for triggering the rotate gesture recognizer (#14929) 2019-08-20 22:12:08 -07:00
Jason Wray
2f43a7b87b [ios] Updates for offline pricing 2019-08-20 17:21:55 -07:00
Jordan Kiley
5d1ed5d941 [ios] Fix bug where scale bar shows 0 mm instead of 0 (#15381) 2019-08-20 10:48:26 -07:00
Łukasz Paczos
dcf77fbeea [android] bump gestures library to v0.5.1 2019-08-20 19:43:10 +02:00