Commit Graph

11657 Commits

Author SHA1 Message Date
Chris Loer
9ed3aeaee1 [android] Tweak TinySDF docs to better describe font-family behavior. 2017-12-19 13:05:39 -08:00
Tobrun
af52538a81 Saving/restoring MyLocationViewSettings (#10746) (#10748)
[android] saving/restoring MyLocationViewSettings, updated BitmapUtils
2017-12-19 19:38:11 +01:00
Minh Nguyễn
f242227a67 [android] Updated Spanish, Vietnamese translations 2017-12-19 10:40:06 +01:00
Langston Smith
c15c6edce9 Android SDK renaming (#10609)
* changes in various markdown files

* more tweaks

* Updated attribution title
2017-12-19 10:40:06 +01:00
Tobrun
db6eaa0c34 [android] - use default icon when compass icon fails to decode (#10694) 2017-12-19 09:20:52 +01:00
Tobrun
d80e71bf38 [android] - remove startup flash from fragment, rework OnMapReady callback for multiple listeners (#10717) 2017-12-19 06:39:40 +01:00
Chris Loer
f2b42af339 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-18 12:17:22 -08:00
Chris Loer
97e45d5fda [android] Android implementation of local CJK glyph rendering
- Draws bold version of glyph if font stack contains string "bold"
 - Not hooked up to global configuration yet
2017-12-18 12:17:22 -08:00
Chris Loer
f1f2ebb019 [core] Hook LocalGlyphRasterizer "font family" configuration up to Renderer 2017-12-18 12:17:22 -08:00
Chris Loer
a53818a10b [core] Enable local glyph generation using TinySDF.
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
 - Default platform implementation doesn't locally generate any glyphs -> no behavior change
 - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
 - Rename glyph_loader.test to glyph_manager.test
2017-12-18 12:17:22 -08:00
Chris Loer
2e3e88f027 [core] C++ port of TinySDF 2017-12-18 12:17:22 -08:00
Minh Nguyễn
9c1dfe46cf [ios, macos] Cleaned up base localization files
Localizable strings in Darwin classes need to specify “Foundation” as the table so that NSBundle consults the right .strings files. Reran make genstrings to add some missing strings to the base localizations and undo some manual edits to the base localizations that contained errors.
2017-12-18 11:41:56 -08:00
Tobrun
c618d513b1 [android] - update instrumented make target, move code style validation before building C++ code, replace code style checks with the wrapper code style check. (#10724) 2017-12-18 13:34:54 +01:00
Tobrun
c71718c98e [android] - activate filesource when creating an offline region (#10718) 2017-12-18 13:34:25 +01:00
Fredrik Karlsson
74b0627432 [ios] update constraints when updating content inset 2017-12-14 12:38:55 -06:00
Fabian Guerra
177afa9a0d [ios] Fix an Interface Builder crash for IBInspectable properties. 2017-12-14 09:48:23 -06:00
Fabian Guerra
d650b91c00 [ios] Fix the content insets for the scale and compass view. 2017-12-14 09:45:44 -06:00
Tobrun
4525ff714a Post camera listener invocations (#10690)
* [android] - post camera listener invocations

* remove jvm unit test
2017-12-14 12:15:36 +01:00
Tobrun
7012c1b683 [android] - update documentation on update metadata 2017-12-13 16:58:21 +01:00
Tobrun
fa704c85d8 [android] - scale factor value of 1 should zoom out 2017-12-13 11:04:01 +01:00
Tobrun
7c06eda515 [android] - allow configurable http logging 2017-12-12 17:25:27 +01:00
Tobrun
cf026d1932 [android] - post animation callback invocation 2017-12-12 09:18:49 +01:00
Fabian Guerra Soto
05d2a539fd [ios] Update changelog and bump podspec to 3.7.1 (#10651) 2017-12-06 14:02:39 -05:00
Tobrun
1ada238dfd [android] - update changelog for 5.2.1 release 2017-12-06 17:05:16 +01:00
Jordan Kiley
f89afa0b27 [ios, macos] Rename the iOS and macOS SDKs (#10610) 2017-12-06 10:13:17 -05:00
Chris Loer
966b6a53ce [core, ios, qt, android] Close race condition in RunLoop (issue #9620)
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-12-06 12:37:48 +01:00
Tobrun
2a13bfd2c4 [android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556) 2017-12-06 12:37:48 +01:00
Tobrun
bc27322853 [android] - handle destroying activity programmatically as part of theme switching (#10589) 2017-12-06 12:37:48 +01:00
Tobrun
8ad3759b9c [android] - use concurrent lists for camera change listeners (#10542) 2017-12-06 12:37:48 +01:00
Tobrun
f64475f76c [android] - harden MarkerView integration by checking for null bitmap (#10532) 2017-12-06 12:37:48 +01:00
Tobrun
7b7b2c53fb [android] - activate filesource to list offline regions (#10531) 2017-12-06 12:37:48 +01:00
Ivo van Dongen
65d2e0b8f2 [android] Enable map rendering when app is paused 2017-12-06 12:37:48 +01:00
Julio Cesar Fausto
6893888435 [ios, macos] Snapshot classes added to jazzy 2017-12-05 17:24:41 -05:00
Pablo Guardiola
1ce3d2e5ef [android] remove unnecessary jar generation from gradle-publish.gradle (#10625) 2017-12-05 10:12:16 +01:00
Fabian Guerra
784b71a81c [ios, macos] Refactor snapshot attribution. 2017-12-04 17:04:40 -05:00
Minh Nguyễn
5086c76997 [macos] Fixed logo view distortion on macOS High Sierra
Only the logo view’s baseline is aligned to the attribution view’s baseline; the X-height doesn’t need to be aligned. Previously, macOS ignored the X-height constraint inferred from the alignment rect, but now it honors it in addition to the baseline.
2017-11-30 17:11:34 -08:00
Fabian Guerra
06a0c03605 [ios, macos] Update changelogs. 2017-11-30 14:31:30 -05:00
Fabian Guerra
0c50da6913 [ios, macos] Fix an issue that triggers didSelectAnnotations for MGLAnnotationImage based annotations. 2017-11-30 14:31:30 -05:00
Fabian Guerra
787c782749 [ios] Fix minimumZoomLevel is not getting set. 2017-11-29 19:11:35 -05:00
Tobrun
8cebab09ba [android] - attribtuion anchor point calculation fix for short text with full logo on a MapSnapshot (#10558) 2017-11-29 12:21:54 +01:00
Pablo Guardiola
a1f207b090 [android] use location engine abstraction instead of location source (lost) in MyLocationView#init (#10579) 2017-11-29 08:31:46 +01:00
Bruno de Oliveira Abinader
3f962574ed [build] Added CircleCI macos-release-node{4,6} jobs 2017-11-28 12:16:05 -05:00
Antonio Zugaldia
85bc035be3 [android] Set a larger limit for the HTTP dispatcher (#10567) 2017-11-27 10:33:14 -05:00
Tobrun
7c8fbc8232 [android] - bump okhttp, remove workaround for Android Oreo (#10515) 2017-11-23 08:49:01 +01:00
Jesse Bounds
bcfe51c16c [ios] Add easy to use demo app for developers (#10524)
This updates the package script to include a pre-built iOS app in the published assets of the dynamic SDK. It symlinks the Mapbox.framework in that dynamic build to the demo app so the only real increase in size is the demo Xcode project itself.

The addtional step in the publish script checks that the Mapbox.framework that is symlinked in for building in the demo project can actually be built. If it cannot, then the step is skipped and the build will continue as it normally would. Since the demo app is currently not required for publishing it should not block publishing a build.
2017-11-22 10:28:43 -08:00
Bruno de Oliveira Abinader
8f4c07c5b8 [build] Added CircleCI macos-debug-qt5 job 2017-11-21 12:27:52 -05:00
Pablo Guardiola
9206e46154 release android v5.2.0 (#10487) 2017-11-20 20:10:04 +01:00
Jason Wray
34fe323924 [node, build] Don't fail on non-node tags 2017-11-20 12:31:59 -05:00
Jason Wray
a8ad619104 [build] Set clang-tidy timeout to 20 minutes
Default is 10 minutes, but suddenly we're exceeding that.
2017-11-20 11:41:51 -05:00
Victor Akap Oben
1d78c04484 Update comment from onDestroy to onDestroyView (#10501)
Updated comment to reflect that MapView's lifecycle callback in a fragment should be called from onDestroyView rather than on onDestroy. This is consistent with that MapFragment is doing.
2017-11-20 16:00:05 +01:00