Bruno de Oliveira Abinader
7d8b4dc6c0
s/properties/propertyValues/
...
This list stores different values for the same property, but the
property itself remains the same.
2015-07-14 16:44:42 +03:00
Bruno de Oliveira Abinader
7023ea061c
Unify time point for Mapcontext::update
...
- Let style classes cascade use the same time point as the one used to
recalculate style.
- Cleaned up MapContext::update to return early whenever possible.
- Cleaned up MapContext::loadStyleJSON to avoid redundant calls to style
classes cascade.
2015-07-14 16:44:42 +03:00
Bruno de Oliveira Abinader
77a91f64d8
Micro-optimizations to Style
2015-07-14 16:43:07 +03:00
Thiago Marcos P. Santos
938165de17
Re-enable the Satellite style on the Linux/OSX app
2015-07-14 14:26:40 +03:00
Minh Nguyễn
27bd305b1b
Include iOS README in binary pod
2015-07-13 14:25:10 -07:00
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
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
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
efa7dad89c
updated changelog for 0.5.0
2015-07-09 22:54:54 -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
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
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
Minh Nguyễn
1a3ae88786
Defer initialization until app enters foreground
...
Defer the creation of EAGLEContext and GLKView and the loading of OpenGL ES extensions. It is GLKView that drives the background crash, and Apple documentation specifically warns not to initialize an EAGLContext in the background. All the while, it should be safe for client code to avail itself of any public methods on MGLMapView.
Fixes #1460 .
2015-07-08 14:53:11 -07:00
Justin R. Miller
c53610f6ee
Merge pull request #1854 from mapbox/1ec5-symbol-exception-1851
...
fixes #1851 : assert if -mapView:symbolNameForAnnotation: is implemented
2015-07-08 14:31:35 -07:00
Minh Nguyễn
8a971458a4
Removed documentation for unavailable method
...
So it doesn’t show up in the generated docset.
2015-07-08 13:49:07 -07:00
Minh Nguyễn
b3ea068e5d
Assert if -mapView:symbolNameForAnnotation: is implemented
...
Fixes #1851 .
2015-07-08 13:49:02 -07:00
Thiago Marcos P. Santos
1fbbedd47b
Make FixtureLogObserver thread-safe
...
We can log for different threads (main, map, workers, etc) so
we need to lock before adding the messages on the list.
This was causing few tests to randomly crash.
2015-07-08 23:48:05 +03:00
Thiago Marcos P. Santos
0014c0bd8d
Make MockFileSource behave more like the real one
...
This will help make some bugs more reproducible on the tests as
things will happen more asynchronously.
2015-07-08 23:48:05 +03:00
Justin R. Miller
aa51c15670
Merge pull request #1852 from mapbox/update-user-dot-once
...
refs #1125 , 1813: update user dot tracking in one place
2015-07-08 12:53:50 -07:00
Justin R. Miller
ed04e6d9f7
refs #1125 , 1813: update user dot tracking in one place
...
Now that we have cleanup around the map viewport change notifications,
this only needs to happen in one place: the GL frame draw loop.
2015-07-08 12:21:40 -07:00
Justin R. Miller
fb230dda51
clean up remainder of sprite removal for now
2015-07-08 19:46:04 +02:00
Justin R. Miller
c7011345c9
remove logging
2015-07-08 19:46:04 +02:00
Justin R. Miller
a1c2529e33
runtime imagery based on annotation title
2015-07-08 19:46:04 +02:00
Justin R. Miller
e0384a98f7
explicitly bring in header
2015-07-08 19:46:04 +02:00
Justin R. Miller
445d3afa4f
fix nullability
2015-07-08 19:46:04 +02:00
Justin R. Miller
e0da13dbfd
fixes for runtime Cocoa imagery
2015-07-08 19:46:04 +02:00