Commit Graph

11779 Commits

Author SHA1 Message Date
paczos
d2cc855cd3 [android] new map touch listeners API comments 2017-12-14 16:23:33 +01:00
paczos
fc50605507 [android] checkstyle fixup 2017-12-14 16:23:33 +01:00
paczos
2afa8a1725 [android] added map touch listeners test 2017-12-14 16:23:33 +01:00
paczos
44363d4826 [android] added map touch listeners api based on lists 2017-12-14 16:23:33 +01:00
Asheem Mamoowala
f545d21df0 [core] Overzoomed image sources vanish (#10677)
Use z0 tile coordinates instead of screen coordinates to compute ideal zoom for image sources
2017-12-13 12:52:23 -08:00
Konstantin Käfer
88cafa8e32 [core] update CA bundles used for cURL 2017-12-13 15:32:43 +01:00
Anand Thakker
801c47befa Add ignores for new ==, != tests (#10679)
GL JS change: https://github.com/mapbox/mapbox-gl-js/pull/5840
GL Native issue: https://github.com/mapbox/mapbox-gl-native/issues/10678
2017-12-12 15:19:24 -05:00
Chris Loer
3fed2358d6 [core] Include bucket name in queryRenderedSymbols duplicate feature filter
- Port of GL JS PR #5703
 - Fixes issue #10616
2017-12-11 15:05:18 -08:00
Chris Loer
78545723fe [android] Add basic JavaDoc comment for LocalGlyphActivity. 2017-12-11 10:43:00 -08:00
Chris Loer
4fcf1853b0 [ios,macos] Revert ideographic->ideograph name change.
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
2017-12-11 10:43:00 -08:00
Chris Loer
6dbb9eb22a [ios,macos] Update docs to use Apple-friendly "PingFang" font example. 2017-12-11 10:43:00 -08:00
Andrew Kitchen
05f70257c9 [macos, ios] Adds documentation for the MGLIdeographFontFamilyName key 2017-12-11 10:43:00 -08:00
Andrew Kitchen
4418edbfcd [darwin, macos] Rename Info.plist key for consistency
Also removes related dead code in macos MGLMapView.mm
2017-12-11 10:43:00 -08:00
Chris Loer
155804be4d [ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
Add local font family to default iosapp configuration.
2017-12-11 10:43:00 -08:00
Chris Loer
e8daa84de6 [android] Tweak LocalGlyphActivity description to be a bit more specific than the title. 2017-12-11 10:43:00 -08:00
Chris Loer
f2d70aa890 [android] Fixups for LocalGlyphActivity 2017-12-11 10:43:00 -08:00
Asheem Mamoowala
bee60130d3 [android] Add Configuration hook for local ideograph font family and demo activity 2017-12-11 10:43:00 -08:00
Chris Loer
56aa7dad4f [macos,ios,android] Unit test fixups
- Add explanatory comment
 - Remove dead/unused Android test
 - Increase image diff threshold to .05 to accommodate slightly different versions of "PingFang" between different test platforms
2017-12-11 10:43:00 -08:00
Chris Loer
b4c781aef7 [core, macos, ios] Unit tests for LocalGlyphRasterizer
Core test uses stubbed "glyph.pbf" without Chinese glyphs
Darwin test relies on locally available "PingFang" font.
Android test relies on locally available "Droid" font. 'expected.png' is NOT correct b/c I haven't figured out how to run unit tests on Android yet.
2017-12-11 10:43:00 -08:00
Andrew Kitchen
b2f06677a7 [darwin, ios, macos] Introduces an MGLRendererConfiguration class
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
2017-12-11 10:43:00 -08:00
Chris Loer
00ed34f7d7 [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-11 10:43:00 -08:00
Andrew Kitchen
3713102005 [ios, macos] Adds support for specifying an ideographic font family name
Adding a MGLIdeographicFontFamilyName to the containing app's Info.plist
will result in CJK glyphs being rasterized on demand (#10522)
2017-12-11 10:43:00 -08:00
Chris Loer
cb380064bb [ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
- Changing font weight does not currently appear to be working.
 - Glyph metric extraction code not working; currently unused.
2017-12-11 10:43:00 -08:00
Chris Loer
1661af1cb4 [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-11 10:43:00 -08:00
Chris Loer
730054276e [core] C++ port of TinySDF 2017-12-11 10:43:00 -08:00
Jason Wray
4f31b07d09 [macos] Add Info.plist version keys 2017-12-07 19:01:12 -05:00
Jason Wray
627587694d [ios, macos] Append SDK version parameter to feedback URL 2017-12-07 19:01:04 -05:00
Jason Wray
c0ad7be388 [ios] Long-press attribution button to show SDK version 2017-12-07 19:01:04 -05:00
Lauren Budorick
a0199efa9a Correct ColorMode::Replace 2017-12-07 13:01:42 -08:00
Asheem Mamoowala
ca9d9bb857 [core] Use wrapped bounds check for CustomTileLoader 2017-12-07 09:53:36 -08:00
Asheem Mamoowala
5fb9fb1a3c [core] Support wrapped bounds in LatLngBounds::contains and LatLngBounds::intersect. 2017-12-07 09:53:36 -08:00
Asheem Mamoowala
f26c5ef2f0 [android] null check 2017-12-06 19:44:12 -08:00
Asheem Mamoowala
31a216459c [core] Mark custom geometry tiles stale without clearing data 2017-12-06 19:44:12 -08:00
LukasPaczos
d783611d1a Updated README for Arch Linux users 2017-12-06 20:21:58 +01:00
Tobrun
86fdb2682d [android] - build boba snapshots from master 2017-12-06 17:38:32 +01:00
Tobrun
c311e69e0e [android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556) 2017-12-06 11:51:33 +01:00
Konstantin Käfer
f16ecf5907 [core] don't include .cpp file 2017-12-05 15:53:48 +01:00
Jordan Kiley
8f3cc3dbc4 [ios, macos] Rename the iOS and macOS SDKs (#10610) 2017-12-04 16:40:14 -08:00
Langston Smith
cb5dc2eed8 Android SDK renaming (#10609)
* changes in various markdown files

* more tweaks

* Updated attribution title
2017-12-04 08:19:47 -08:00
John Firebaugh
a623ff13ed Update gl-js submodule 2017-12-01 17:58:14 -08:00
Jason Wray
2370461c9d [build] Lint iOS and macOS plists on CI 2017-12-01 15:26:40 -05:00
Tobrun
7e6ca6793a [android] - handle destroying activity programmatically as part of theme switching (#10589) 2017-11-30 11:45:40 +01:00
Konstantin Käfer
8757164ac8 [build] standardize on -fvisibility=hidden for all targets
Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1
Adds a GCC 6 build
Enables diagnostics for C files
Fixes a shadow warning in parsedate.c
2017-11-29 17:31:33 +01:00
Konstantin Käfer
2eec5a1980 [core] move HeadlessBackend extension initialization code into Impl 2017-11-29 15:48:51 +01:00
Konstantin Käfer
335f04f7e1 [core] fold HeadlessDisplay into the headless RenderBackend implementation 2017-11-29 15:48:51 +01:00
Bruno de Oliveira Abinader
772b909062 [build] Clang-3.8: Explicit mbgl::PlacedGlyph default+copy+move ctor 2017-11-29 16:18:17 +02:00
Bruno de Oliveira Abinader
87a7dab553 [build] Added mbgl-filesource to 'linux-core' target 2017-11-29 13:32:34 +02:00
Tobrun
ed5e009062 [android] - use concurrent lists for camera change listeners (#10542) 2017-11-29 12:26:52 +01:00
Andrew Kitchen
c178bd2d25 [darwin] Fixes CGImageRef leak when creating a map snapshot (#10585) 2017-11-28 14:51:30 -08:00
Andrew Kitchen
09b97e037c [darwin] Adjusts initializer body to avoid premature ivar usage (#10582) 2017-11-28 13:43:45 -08:00