Commit Graph

5738 Commits

Author SHA1 Message Date
Julian Rex
952c4131e6 [ios] Update podspecs for alpha.2 (#12531) 2018-08-01 16:52:35 -04:00
Fabian Guerra
62fb7e1987 [ios] Fix location manager null reset. 2018-08-01 10:21:34 -07:00
Łukasz Paczos
d6c602b48c [android] changelog for 6.4.0-alpha.2 2018-08-01 18:14:41 +02:00
Bruno de Oliveira Abinader
58d8b771a1 [Qt] QMapboxGL::set{Paint,Layout}Property should return bool 2018-08-01 13:36:11 +03:00
John Firebaugh
9e3a4a2646 [ios, macos] Enable link-time optimization for iOS release builds (#12502) 2018-07-31 15:35:17 -07:00
John Firebaugh
9bdd765a02 [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) 2018-07-31 14:21:47 -07:00
Jason Wray
885f6e3c02 [ios] Add preferred FPS setting; vary maximum FPS by device capability
- Add `MGLMapView.preferredFramesPerSecond`, which can be set with the provided `MGLMapViewPreferredFramesPerSecond` enum values or directly with an integer.
- Adaptively set the preferred FPS based on the capabilities of the device: the oldest and least powerful devices are now capped at 30 FPS, which results in a more consistent/smoother experience.
2018-07-31 15:20:05 -04:00
John Firebaugh
2c5bebbdd8 [node] Update documentation for publishing process (#12500)
* Update node publishing process

* publish instruction separated into steps
2018-07-31 08:52:33 -07:00
Sudarsana Babu Nagineni
377a6e42d6 [Qt] Fix link to Qt public API headers in README.md 2018-07-30 15:21:18 +03:00
Osana Babayan
f05199e2d9 VisibleRegion on rotated bounds (#12135) (#12255) 2018-07-27 09:31:33 -07:00
Jason Wray
d4b3befecb [ios] Fix file encoding for pt-PT strings file
Converted from UTF-16 to UTF-8.
2018-07-27 11:16:16 -04:00
Tobrun
1be63108bb [android] - wait for the initial render to occur before showing the map to the end-user 2018-07-27 11:40:04 +02:00
Kiyong Jung
37bbed5b9c [android] Reuse Bitmap, Paint & Canvas instances in LocalGlyphRasterizer
- Make LocalGlyphRasterizer.drawGlyphBitmap() non-static
- Store and reuse Bitmap, Paint & Canvas instances
2018-07-27 11:24:26 +02:00
Łukasz Paczos
94ad8e2ff8 [android] using @Keep annotation across the project with the help of lint checks 2018-07-26 19:47:11 +02:00
Tobrun
5fcd6e38a9 [android] - add minimal touch target to marker click detection 2018-07-26 13:04:32 +02:00
Lloyd Sheng
9c90509750 [iOS] Add fallbacks for name fields (#12387)
* Add fallbacks for name fields

* Add a fallback for `name_zh-Hant`

* Update changelog
2018-07-26 13:53:12 +08:00
Jordan Kiley
8400355e99 [ios] Updated podspecs and changelog for ios-v4.3.0-alpha.1 (#12486) 2018-07-25 12:43:58 -07:00
Łukasz Paczos
524a645f0b [android] - changelog for 6.4.0-alpha.1 2018-07-25 19:41:40 +02:00
Minh Nguyễn
3a97734cd2 [ios, macos] Fixed typos in expression conversion error messages 2018-07-25 04:25:45 -07:00
Jason Wray
cdd3553641 [darwin] Use FOUNDATION_EXTERN instead of plain extern
FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
2018-07-24 18:14:32 -04:00
Jason Wray
14dc94e65f [ios] Simplify and (internally) document MGLPointRounded()
`UIScreen.nativeScale` is available beginning in iOS 8, so the conditional is no longer necessary.
2018-07-24 18:14:32 -04:00
Jason Wray
08b08878d3 [ios] Move private geometry symbol visibility definitions to header 2018-07-24 18:14:32 -04:00
Jason Wray
4205cf7b10 [ios] Fix symbol mangling issue with MGLMapPointForCoordinate()
`MGLMapPointForCoordinate()` was `extern`-defined in a C header, but implemented in an Obj-C++ source file and mangled as a C++ symbol. `FOUNDATION_EXTERN` is C++-aware and will force C-style symbol mangling, which fixes the undefined symbol issue in consumer Obj-C projects.
2018-07-24 18:14:27 -04:00
John Firebaugh
f149951f0f [build] Remove obsolete bitrise.yml files 2018-07-24 14:28:29 -07:00
John Firebaugh
2bbc792060 [core] Check all bucket dynamic_casts
A mismatch can occur when a layer changes from one type to another.
2018-07-24 11:08:40 -07:00
Chris Loer
da5966b932 [test] Add native ignore for symbol-cross-fade test. 2018-07-23 13:33:27 -07:00
Chris Loer
0b2221cb74 [android, ios, macos] Generate symbol-placement: line-center wrappers 2018-07-23 13:33:27 -07:00
Asheem Mamoowala
7c585244ab Use Filter::serialize() in QMapboxGL::getFilter() 2018-07-23 09:12:26 -07:00
tobrun
bfe714eebe [android] - fix accesstoken validation 2018-07-23 14:31:18 +02:00
tobrun
bbc2529c50 [android] - replace deprecated javacompile with getJavaCompiler() 2018-07-23 13:56:50 +02:00
Fabian Guerra Soto
681e0141de [ios] Mapbox's Location Manager new API. (#12013)
* [ios] The new location manager API provides two new protocols MGLLocationManager and MGLLocationManagerDelegate to handle the location cycle and updates respectively. This enables developers to chose the appropriate location provider according to their needs, or transition between outdoors/indoors location updates.

It does provide a default implementation based on CLLocationManager.
2018-07-20 14:14:43 -07:00
John Firebaugh
fb736e8ef0 [ios, macos, android] Add changelog entries 2018-07-20 12:35:00 -07:00
John Firebaugh
5793283142 [android] Test token strings for icon-image and text-field 2018-07-20 12:35:00 -07:00
John Firebaugh
2c5d0e74a1 [ios, macos] Convert token strings to expressions on input
Removes mgl_expressionByReplacingTokensWithKeyPaths and associated code. Converting on output is no longer necessary: from the prior commit, core converts token strings to expressions at parse time; all that's necessary is to ensure that the runtime styling API does so as well.
2018-07-20 12:35:00 -07:00
John Firebaugh
af89318b1d [core] Convert token strings to expressions 2018-07-20 12:35:00 -07:00
John Firebaugh
c8edbb0500 [core] Replace {Source,Camera,Composite}Function with PropertyExpression 2018-07-20 11:56:30 -07:00
Tobrun
418bcc2f21 [android] - expose getMap on native_map_view 2018-07-20 10:31:22 +02:00
Jason Wray
5d7e3e24e5 [ios] Reorganize changelog for ios-v4.2.0 2018-07-18 11:35:22 -04:00
Jason Wray
5b221372f0 [ios] Update podspecs for ios-v4.2.0 2018-07-18 11:35:22 -04:00
Tobrun
91179afa49 [android] - update changelog for v6.3.0 final 2018-07-18 17:07:53 +02:00
Łukasz Paczos
c29740e73f [android] VisibleRegion instrumentation tests 2018-07-18 15:03:31 +02:00
Łukasz Paczos
6d24ef9a03 [android] option to request the visible region restricted by the content padding 2018-07-18 15:03:31 +02:00
Lloyd Sheng
782c58be00 Correct MGL_MATCH documentation (#12378) 2018-07-18 14:29:29 +08:00
Lloyd Sheng
284dd23ca4 [iOS] Fix unbalanced change delimiter crash (#12148)
Fixed a crash that occurred when the user started a gesture before the drift animation for a previous gesture was complete.
2018-07-18 14:29:06 +08:00
Thiago Marcos P. Santos
bffc60fefd [android] Fix possibly race on undefined behavior
`runnable->iter = runnables.end()` assumes that `::end()` is a
`static` or `constxpr` and thread-safe. This is likely to be true
for most of the implementations. That said we cannot rely on
undefined behavior and we should assume the worse case scenario.
2018-07-17 18:36:37 +02:00
Łukasz Paczos
7d686dfcba [android] bump SNAPSHOT version building on master to 6.4.0 2018-07-17 15:30:26 +02:00
Łukasz Paczos
a45dd30e44 [android] harden map events creation 2018-07-17 11:20:26 +02:00
tobrun
aeb85dbd8c [android] - bump used gradle tools version 2018-07-17 11:19:23 +02:00
Konstantin Käfer
561e55eb6c [core] make the offline DB schema a regular include file 2018-07-16 18:24:51 +02:00
Tobrun
6c9b627eaa [android] - bump kotlin, timber and okhttp to most recent stable versions 2018-07-16 15:37:52 +02:00