Commit Graph

7032 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
805c8b26f7 Do not return a value on a "[]() -> void"
This is an undefined behavior, and it is a mystery why the
compiler was not complaining about it.
2015-07-13 22:44:53 +03:00
Nicholas Hallahan
3ab8e6c0dd Specifically naming the sprite in JNI adds a marker to the map #1716 2015-07-13 11:59:54 -07:00
Minh Nguyễn
f5e38ee21a [publish ios-v0.5.1] 2015-07-13 10:52:57 -07:00
Minh Nguyễn
970ad1fe1b Updated podspec for 0.5.1 2015-07-13 10:50:51 -07:00
Minh Nguyễn
b65f30966b Updated changelog for 0.5.1 2015-07-13 10:15:33 -07:00
Minh Nguyễn
c066931a49 Opt into Xcode 6.4
Cherry-picked from 5f7575dd8f to fix the build.
2015-07-13 10:07:50 -07:00
Minh Nguyễn
1350ed7654 Fetch tags before relying on a list of them
Cherry-picked from 482b8bde63 to fix the build.
2015-07-13 09:50:53 -07:00
Minh Nguyễn
482b8bde63 Fetch tags before relying on a list of them 2015-07-13 09:32:34 -07:00
Minh Nguyễn
cf9e41be0d Force -ObjC in Mapbox GL pod
Fixes #1849.

Cherry-picked from 97b7307f35.
2015-07-13 09:12:33 -07:00
Minh Nguyễn
cf56ed3698 Replaced release notes for 0.5.0
Replaced the release notes with more detailed ones from <https://github.com/mapbox/mapbox-gl-native/milestones>. This change also fixes a build error due to a reference to a method that had been removed.

Cherry-picked from 9bb5032103.
2015-07-11 15:43:16 -07:00
Minh Nguyễn
5f7575dd8f Opt into Xcode 6.4 2015-07-11 15:40:39 -07:00
Minh Nguyễn
f96fef8292 Create GLKView before binding it and resuming
Or: don’t resume the map until the application has entered the foreground.

UIApplicationWillEnterForegroundNotification is posted before UIApplicationDidBecomeActiveNotification, while the application is still in the background. That caused -createGLView to bail but did not cause the rest of -wakeGL: to bail. We would create the GLKView only after attempting to bind it (a no-op), resulting in a black view.

Fixes #1855.
2015-07-11 15:38:59 -07:00
Thiago Marcos P. Santos
00308be140 Make one arg ctors explicit 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
bd8210d5a1 Remove unused function: elapsed() 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
67554cae41 Remove unused function: uv_zip_open() 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
06e27f905e Mark overrides
Detected by clang++-3.6
2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
a1c701ca93 Remove unused variable 2015-07-11 12:42:45 +03:00
Thiago Marcos P. Santos
d207166abe Remove unused function: cwd() 2015-07-11 12:42:45 +03:00
Minh Nguyễn
97b7307f35 Force -ObjC in Mapbox GL pod
Fixes #1849.
2015-07-10 16:01:58 -07:00
Minh Nguyễn
06fd6d5c1e Cherry-picked part of 987d961e5b to fix the build 2015-07-10 11:42:46 -07:00
Minh Nguyễn
9bb5032103 Replaced release notes for 0.5.0
Replaced the release notes with more detailed ones from <https://github.com/mapbox/mapbox-gl-native/milestones>. This change also fixes a build error due to a reference to a method that had been removed.
2015-07-10 11:33:43 -07:00
Thiago Marcos P. Santos
30416c5a98 Add unit tests for addPointAnnotations()
This test would have caught #1874
2015-07-10 21:03:47 +03:00
Thiago Marcos P. Santos
0d44402628 Move MockFileSource to fixtures
It is going to be used by another test that needs to emulate
asynchronous requests.
2015-07-10 21:03:23 +03:00
Thiago Marcos P. Santos
8a9665b085 Deffer updateAnnotationTiles() if Source is not available
The Style object might have been created but the Source is not
yet available because the JSON file was not set. Can happen
specially when the style is loaded from the network.
2015-07-10 20:25:49 +03:00
Nicki Dlugash
d63f706c5f Merge pull request #1840 from mapbox/repeat-distance
Updates to labels along lines
2015-07-10 10:59:37 -04:00
Thiago Marcos P. Santos
a666c08274 Add unit tests for the Sprite class 2015-07-10 15:35:26 +03:00
Ansis Brammanis
1f2d439059 update test-suite 2015-07-10 12:52:51 +02:00
Thiago Marcos P. Santos
7fc6d0444c Re-enable Sprite resource loading tests 2015-07-10 10:48:46 +03:00
Thiago Marcos P. Santos
b33d5d8a95 Do not report isLoaded() if loading failed 2015-07-10 10:48:46 +03:00
Thiago Marcos P. Santos
0ee9f21c56 Report Sprite parsing errors to Observers
Parsing errors will be reported to Observers. In practice this will
bubble all the way to the Map object.

This will make possible to identify possible corrupted data instead
of rendering without sprites like we do in case of semantic errors.
2015-07-10 10:48:46 +03:00
Thiago Marcos P. Santos
f64ba78910 Merge Sprite loading notifications
Because they are pretty much the same thing.
2015-07-10 10:48:46 +03:00
Justin R. Miller
4acf6c4268 updated changelog for 0.5.0 2015-07-09 22:55:17 -07:00
Justin R. Miller
efa7dad89c updated changelog for 0.5.0 2015-07-09 22:54:54 -07:00
Justin R. Miller
7d250934b1 [publish ios-v0.5.0] 2015-07-09 22:28:02 -07:00
Justin R. Miller
91b2912c2d bump podspec to 0.5.0 final (no symbols) 2015-07-09 22:27:41 -07:00
Nicki Dlugash
f27bd6b68f Updates to labels along lines
Added a filter to remove anchors with the same text that are too close to each other.

Updates to spacing and offset of anchor placement along lines:

Takes into account icon size for calculating label length.

Recalculates spacing for long labels.

Adjusts offsets to first anchors if line is continued from outside the tile boundary.
2015-07-09 18:52:12 -04:00
Justin R. Miller
c780f1617e [publish ios-v0.5.0-rc.2] 2015-07-09 13:59:11 -07:00
Justin R. Miller
5f31697556 bump podspec to 0.5.0rc2 2015-07-09 13:58:28 -07:00
Justin R. Miller
7aa83b3c96 test on Xcode 6.4 / iOS 8.4 2015-07-09 13:57:52 -07:00
Justin R. Miller
987d961e5b Merge pull request #1868 from mapbox/xcode-6.4
move to Xcode 6.4
2015-07-09 13:56:43 -07:00
Justin R. Miller
2df80af3d3 Revert "Defer initialization until app enters foreground"
This reverts commit 0fd9fe78db.
2015-07-09 13:41:42 -07:00
Justin R. Miller
3318a3ced0 refs #1859: use traditional struct declaration 2015-07-09 10:14:24 -07:00
Justin R. Miller
82cddb5af2 fixes #1858: proper shape placement in style layers 2015-07-09 10:14:13 -07:00
Justin R. Miller
f15fb9f8e7 Merge pull request #1866 from mapbox/1858-fix-shape-order
fixes #1858: proper shape placement in style layers
2015-07-09 10:11:52 -07:00
Justin R. Miller
7892c50bcc Merge pull request #1865 from mapbox/traditionalize-edge-insets
refs #1859: use traditional struct declaration
2015-07-09 10:09:14 -07:00
Justin R. Miller
309eee35f3 refs #1859: use traditional struct declaration 2015-07-09 09:48:09 -07:00
Justin R. Miller
cd7c3ddb9c fixes #1858: proper shape placement in style layers 2015-07-09 08:55:12 -07:00
Justin R. Miller
00f9a477b7 abbreviate syntax for unused parameters 2015-07-08 22:58:50 -07:00
Justin R. Miller
b70e6f518a test on Xcode 6.4 / iOS 8.4 2015-07-08 22:30:52 -07:00
Justin R. Miller
b8522ba03a [publish ios-v0.5.0-rc.1] 2015-07-08 15:41:52 -07:00