Commit Graph

16768 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
a3cafbf391 [glfw] TestOperation -> TestOperationSerializer 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
b2d06b8a17 [test runner] Split operations parsing and execution 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
9901167936 [core] Add style::Layer(Impl) constructor 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
426f714c04 [test runner] Introduce TestOperation 2019-12-13 15:34:06 +02:00
Mikhail Pozdnyakov
4a30f74699 [test runner] Introduce generic TestContext 2019-12-13 15:34:06 +02:00
Randall Lee
f08955e2ce Switch to KVO for configuration values (#95) 2019-12-12 11:16:40 -05:00
Thiago Marcos P. Santos
8b9a4571a4 [build] Make the build fail when shadowing variables 2019-12-12 17:44:11 +02:00
Thiago Marcos P. Santos
3bbea2e30c [core] Fix -Wshadow when using GCC 4.9 2019-12-12 17:44:11 +02:00
Thiago Marcos P. Santos
79768743d8 [android] Fix -Wshadow on Android build 2019-12-12 17:44:11 +02:00
Thiago Marcos P. Santos
7dad386f46 [tests] Fix -Werror=shadow issues in the unit tests 2019-12-12 17:44:11 +02:00
Alexander Shalamov
91ba9b655e [test-runner] Don't update nor create metrics baseline for ignored test 2019-12-12 17:03:25 +02:00
Thiago Marcos P. Santos
31742317e8 [build] Remove "wrapper" parameter
Make it a step of the Linux configuration, since it only makes
sense for Linux.
2019-12-12 14:50:22 +02:00
Alexander Shalamov
f590b1082a [test-runner] Fix -Werror=shadow issues in test runner 2019-12-12 13:26:30 +02:00
Randall Lee
57339112f4 Update submodule to v0.10.2 (#99)
* Update submodule to v0.10.2
* Bump podspec
2019-12-11 17:01:16 -08:00
Thiago Marcos P. Santos
3679315633 [build] Better isolate compiler flags
Previously we had UndefinedBehavior mixed with other sanitizers, in
special implicit conversions and overflows.

Also, run the sanitizers in Release configuration, so they will run
faster. -O1 is just needed for perfectly nice stack traces.

Also, moving the flags to an interface will prevent them to leak
to our external dependencies.
2019-12-11 17:12:25 +02:00
Thiago Marcos P. Santos
3b14aef334 [build] Upload nitpick artifacts
Upload diffs when the sanity bot complains about some wrong
formatting of the code or buildsystem.
2019-12-11 16:39:03 +02:00
Vladimir Agafonkin
9d2de382bf [build] remove obsolete code in shader generation (#14906) 2019-12-11 13:58:35 +02:00
zmiao
f848f07ad9 [metrics] Run Android RenderTestRunner bot in rebaseline mode (#16036) 2019-12-11 11:50:27 +02:00
Alexander Shalamov
c0fee57367 [test-runner] Add desctiption for --update command 2019-12-10 22:02:58 +02:00
Mikhail Pozdnyakov
e31ad307f4 [test runner] Report absolute path to the results html file 2019-12-10 19:04:45 +02:00
Ansis Brammanis
5559a9aad1 update mapbox-gl-js (#16022) 2019-12-09 11:16:13 -05:00
Alexander Shalamov
af0873720e [metrics] Run gfx, network and memory probes in 'rebaseline' mode 2019-12-09 17:53:34 +02:00
Alexander Shalamov
a9ba572118 [test-runner] Add rebaseline flag
Rebaseline flag allows to update or create new metric, in cases when
metric check is failed or expected metric is missing.
2019-12-09 17:53:34 +02:00
Alexander Shalamov
3d0001642b [test-runner] Simplify update option and remove obsolete ifdefs 2019-12-09 17:53:34 +02:00
Alexander Shalamov
7eee124677 [metrics] Create gcc8-release metrics configuration 2019-12-09 17:53:34 +02:00
Mikhail Pozdnyakov
590991700d [metrics] Update render-test-probe-unit-tests memory expectations 2019-12-09 17:32:49 +02:00
Mikhail Pozdnyakov
1829fb5e40 [core] Placement::commit() handles absence of previuos placement 2019-12-09 17:32:49 +02:00
Mikhail Pozdnyakov
ffd378c68e [core] Simplify placement code path for still and tile modes 2019-12-09 17:32:49 +02:00
Alexander Shalamov
89665326c2 [core] Add unit test for calculateTileDistances 2019-12-09 17:26:13 +02:00
Alexander Shalamov
d36958997b [core] Add unit test for getAnchors and remove unused field 2019-12-09 17:26:13 +02:00
Alexander Shalamov
b6b077d73a [core] Don't use signed int type for anchor segment 2019-12-09 17:26:13 +02:00
Thiago Marcos P. Santos
71054c8b60 [glfw] Add static render test creator
Press F1 to create a render test for the current view.

The test will be created at the base folder (current if nothing is
provided) + /NNNN (the next free entry).
2019-12-09 16:09:16 +02:00
Thiago Marcos P. Santos
6d425f8a7e [build] Detect unsigned-integer-overflow and implicit-conversion
This is a defined behavior but often unintentional.
2019-12-07 16:32:39 +02:00
Thiago Marcos P. Santos
07a9e26e8a [build] Do not halt UBSAN on errors 2019-12-07 16:32:39 +02:00
Ansis Brammanis
cdee5b8249 [core] increase padding in CollisionIndex for MapMode::Tile (#15880)
* [core] fix cutoff cross-tile labels in MapMode::Tile

Increase the CollisionIndex's padding so that more of a tile's data gets
considered when checking for collisions. This should fix clipped
variable placement text labels.
2019-12-06 18:11:25 -05:00
Peng Liu
7b903283a4 Update changelog for alpha.3 for release-tequila. (#89) 2019-12-06 15:32:54 +01:00
Tobrun
c85c99f8e8 [projection] add bulk conversion of geographic coordinates to screen coordinates with reusable objects (#91) 2019-12-06 15:30:36 +01:00
tobrun
1ac3e9e9c2 [android] - add hooks for bulk conversion of geographic coordinates to screen coordinates 2019-12-06 08:56:38 +01:00
zmiao
9f3a384296 [core] Refactoring transform state (#15956)
* [core] Refactoring transform state class

* [core] update matrix in transform, Fix precision

* [core] Make matrix mutable so that we only update them when needed

* [core] Add getters for matrices
2019-12-05 18:58:48 +02:00
Fabian Guerra Soto
5509ce2aa7 Bump podspec and submodules (#82)
* Updated events library to v0.10.1

* Bump podspec to alpha.2

* Update changelog.
2019-12-04 16:03:18 -08:00
zmiao
e619552a5d [test-runner] Make Android RenderTestRunner bot fail when test cases are not fully passed (#15994)
* [test-runner] Fix failed tests, generate android specific expectations

* [test-runner] Check render test runner testing result

* [test-runner] Add error case to android ignore list

*  [test-runner] Update metrics

* [test-runner] Move Android render tests with big diff(>0.006) to ignore list
2019-12-04 18:10:58 +02:00
Bruno de Oliveira Abinader
1e2cd1e086 [core] Remove Map::cycleDebugOptions 2019-12-04 11:50:05 +02:00
Tobrun
c51eab4001 [map] expose getter for the view used for rendering OpenGL on (#87) 2019-12-03 21:00:37 +01:00
tobrun
27536631d0 [android] remove OfflineRegion.java, gitiginore and issue template. update README 2019-12-03 18:39:35 +01:00
tobrun
29bbfcccde [android] remove platform specific Android code, migrate project to mapbox-gl-native-android 2019-12-03 17:10:31 +01:00
Tobrun
e8678922e4 Introduce OfflineManager.runPackDatabaseAutomatically(boolean) API (#78)
* [offline] Introduce OfflineManager.runPackDatabaseAutomatically(boolean) API

* [doc]  update changelog

* [doc] add note to offline region delete API
2019-12-03 16:28:16 +01:00
Alexander Shalamov
41324842b2 [test-runner] Allow to define filter inside manifest file
Command line option is still available and allows to override filter
that is defined in a manifest file.
2019-12-03 16:26:22 +02:00
Tobrun
8fe32cc8ac [ci] remove core benchmark trigger (#86) 2019-12-03 14:09:40 +01:00
Mikhail Pozdnyakov
75f8530ed1 [test runner] Update test commands for Layer::setProperty() 2019-12-03 14:20:17 +02:00
Mikhail Pozdnyakov
5d46cd662f [android][node][qt] Update platform code for style::Layer::setProperty() 2019-12-03 14:20:17 +02:00