Commit Graph

467 Commits

Author SHA1 Message Date
Minh Nguyễn
21c40f41e8 Test metrics on staging endpoint 2015-10-20 14:48:11 -07:00
John Firebaugh
00a1c2343a [core] Remove shape layers from the style (fixes #2405) 2015-10-20 13:54:20 -07:00
John Firebaugh
8baa804a44 [core] Fix swapped lat/lon in geo.cpp 2015-10-20 13:54:19 -07:00
Justin R. Miller
6eee72e677 fixes #2419: adapt iOS tests for Bitrise CI 2015-10-20 11:32:39 -07:00
Jason Wray
28be82c1c1 [ios] remove CoreTelephony dependency
Cellular carrier name and connectivity level will now only be sent if
the developer independently chooses to link the CoreTelephony framework
in their app.
2015-10-19 13:52:28 -04:00
Minh Nguyễn
8e8a341e28 [iOS] Dismiss authorization prompt before testing Location Services delegate methods 2015-10-16 14:58:57 -07:00
Minh Nguyễn
c71416377f [iOS] Revert 'Use modular headers everywhere'
This commit rolls back AliSoftware/OHHTTPStubs@806ba99fb7 so that we can keep using OHHTTPStubs in the same project without creating a separate framework target.
2015-10-16 14:58:54 -07:00
Minh Nguyễn
ebf81a1e27 [iOS] Upgraded to AliSoftware/OHHTTPStubs@4.3.0 2015-10-16 14:58:48 -07:00
Justin R. Miller
6e1b1836f4 fixes #2611: iOS test app long press drops debug marker 2015-10-15 11:33:58 -07:00
Mike Morris
62595a9b39 [core] bump libuv to 1.7.5 across all platforms
UV_ASYNC_PARAMS and UV_TIMER_PARAMS for libuv <= 0.10 compatibility

use st_mtim.tv_sec in libuv > 0.10.x
2015-10-14 11:36:28 -04:00
Jason Wray
394c1be038 [ios][tests] disable non-null warning 2015-10-06 13:55:08 -04:00
John Firebaugh
ddc4a8193e Install gtest from mason 2015-10-02 10:17:16 -07:00
Konstantin Käfer
80374b3ecb [osx] OS X 10.11 returns another error string 2015-10-01 21:18:27 +02:00
John Firebaugh
2066295e35 Install RapidJSON from mason 2015-10-01 11:40:47 -07:00
Mike Morris
b46c102eb0 mason variant@1.0 2015-09-30 15:34:40 -07:00
John Firebaugh
686c967c8e [ios] [android] Use Response::NotFound in other HTTP implementations too 2015-09-29 18:20:23 -07:00
John Firebaugh
0156ac7c8c Add test for removeAnnotation 2015-09-28 14:14:45 -07:00
John Firebaugh
af392b9434 Rewrite annotation invalidation strategy
First, move style mutation code out of StyleParser and into AnnotationManager,
coalescing it with the mutation code for shape layers.

Second, allow AnnotationManager to keep track of stale tiles entirely
internally. There's no reason to pass sets of TileIDs around.

Third, correct the logic for invalidating the shape source. Since
AnnotationManager does not track shape invalidations on a tile-by-tile basis,
don't try to invalidate the shape source tile-by-tile.

Fixes #1675
Fixes #2322
Fixes #2095
2015-09-28 14:10:23 -07:00
John Firebaugh
931c56a596 Add some shape annotation tests 2015-09-28 14:10:00 -07:00
John Firebaugh
028abaab00 Ensure that LiveTileData can be reparsed
Annotation tiles may become partially parsed just like regular tiles,
for example if a point annotation is added to the map before the style's
sprite has been loaded. In such cases, they need to be reparsed or the
annotation will not be rendered. Previously, the code path for reparsing
would be short-circuited by a dynamic_cast<VectorTileData*> followed by
a null check. This commit removes that case and adds (back) a virtual
reparse method to the TileData interface.
2015-09-28 14:10:00 -07:00
Konstantin Käfer
a84cf62424 [core] include api.mapbox.com in canonicalization
and move the canonicalization to mapbox.cpp since it's not specific to the SQLiteCache
2015-09-28 15:06:41 +02:00
Jason Wray
2762f53cdf [iOS] disable perfectly good tests so they stop flapping on Travis
Travis is inconsistently failing the following tests, so let's
temporarily disable them.

- `testDirectionSet`
- `testCompassTap`
- `testDirectionReset`
- `testCenterSet`
- `testDelegateRegionDidChange`

It bears repeating that these tests _only_ fail on Travis, running them
locally has always passed.

Fixes #2347
2015-09-21 13:16:30 -07:00
John Firebaugh
d86d11fb3e Fully delete test/suite submodule 2015-09-17 09:16:11 -07:00
Lucas Wojciechowski
311bf93abe Revert "[node] Enable npm to build mapbox-gl-native package from source"
This reverts commit 4e1ead344b.
2015-09-16 16:27:53 -07:00
Antonio Zugaldia
fee31b05b9 back to right submodules versions 2015-09-16 16:45:18 -04:00
Antonio Zugaldia
99053f47f7 merge with master 2015-09-16 09:29:53 -04:00
Antonio Zugaldia
7e30025abb Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	src/mbgl/util/geojsonvt
2015-09-15 17:58:36 -04:00
Antonio Zugaldia
f3e4d3238b merge from master 2015-09-15 14:20:46 -04:00
Antonio Zugaldia
21041d35b0 Merge remote-tracking branch 'mapbox/master' into 2317-espresso 2015-09-15 14:19:55 -04:00
Minh Nguyễn
c1d2292809 Increased timeout for rotation animation 2015-09-15 11:05:46 -07:00
Minh Nguyễn
6ec8b2805d Upgraded to iOS Simulator 9.0, KIF 3.3.0
Upgraded the test project. Rolled back part of 69cf6ed3d2 to work around facebook/xctool#528.
2015-09-15 11:05:46 -07:00
Antonio Zugaldia
7756f7727c Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	android/java/MapboxGLAndroidSDKTestApp/build.gradle
2015-09-14 17:24:59 -04:00
Justin R. Miller
0d899df9dd fixes #1675: abstract annotation tile refresh check/render; trigger post-sprite/sprite store load 2015-09-08 18:03:10 -07:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Ansis Brammanis
cccae7d153 fix circles at very high zoom levels
5c8be4b848
2015-09-02 18:00:54 -04:00
Bruno de Oliveira Abinader
227776dee0 Style no longer requires mainloop access 2015-09-02 23:18:29 +03:00
John Firebaugh
abc1c84fb8 Merge branch 'master' into node 2015-08-31 16:45:21 -07:00
Minh Nguyễn
831df11ec4 Disabled iOS metrics tests
ref #1887
2015-08-31 15:45:14 -07:00
John Firebaugh
fc55a34831 Update test-suite 2015-08-31 15:18:02 -07:00
Brad Leege
1189dea852 #2063 - Fixing test/suite stomping from merge 2015-08-31 16:55:25 -05:00
Brad Leege
9784d7dd19 #2063 - Merging 2015-08-31 16:41:52 -05:00
Ansis Brammanis
f3cd47eded update test suite to disable failing test 2015-08-28 10:26:59 -04:00
Ansis Brammanis
d703e58c79 add Point <--> LatLng conversion tests 2015-08-27 14:00:43 -04:00
Jason Wray
d8ed33c7d4 Merge remote-tracking branch 'upstream/master' into perspective-without-y-flip 2015-08-26 11:03:34 -07:00
Jason Wray
3643053cb4 Bump metrics tests timeouts EVERYWHERE 2015-08-25 16:00:44 -07:00
Jason Wray
4977858f4d Fix testUserTrackingModeFollow test to accept location permissions ask
I thought that the tests were bypassing the permissions dialog, but it turns out that was only half correct: we were not actually asking for `always` location permission in MBGL.
2015-08-25 14:59:17 -07:00
Mike Morris
4540c3c0e8 View::swap -> View::beforeRender View::afterRender
To be able to resize the framebuffer on the map thread
in HeadlessView.
2015-08-25 14:39:49 -04:00
Ansis Brammanis
19c256e349 make fill-image tests less sensitive 2015-08-24 18:41:51 -04:00
Lucas Wojciechowski
648b587959 Fixed missing labels and icons 2015-08-24 14:22:02 -07:00
John Firebaugh
0451aca37e Merge branch 'v8' 2015-08-24 10:47:30 -07:00