Commit Graph

14444 Commits

Author SHA1 Message Date
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
Langston Smith
04cbf346e9 Updated location layer plugin link in MapboxMap object's javadocs (#10707) 2017-12-18 08:10:52 -08:00
Bruno de Oliveira Abinader
e91cab516c [glfw] Use args in GLFW example 2017-12-18 16:40:29 +02:00
Bruno de Oliveira Abinader
6a838eeffb [build] Replace boost_libprogram_options with args 2017-12-18 16:40:29 +02: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
Jason Wray
f4021c4a2e [build] Add new warnings suggested by Xcode 9
Also removes duplicate unknown pragmas warning.
2017-12-15 20:12:40 -05:00
Jason Wray
7ece4f6280 [core] Fix copy in range-based for loops
Caught by `CLANG_WARN_RANGE_LOOP_ANALYSIS = YES`.
2017-12-15 19:21:44 -05:00
Jason Wray
f71ba9907c [ios] Add 1024px app icon for iosapp 2017-12-15 19:21:44 -05:00
Jason Wray
c5e7bd35fc [ios] Fix strict prototypes warnings in blocks 2017-12-15 19:21:44 -05:00
Jason Wray
f10377d416 [ios, macos] Update to Xcode 9.x build settings 2017-12-15 19:21:38 -05:00
Andrew Kitchen
9b9cfd910c [ios] Fix C++ symbol visibility warnings in test suite
Fixes #10656
2017-12-15 13:19:24 -05:00
Tobrun
0fddad6e0b [all] update CI images (#10695) 2017-12-15 14:50:12 +01:00
Fredrik Karlsson
74b0627432 [ios] update constraints when updating content inset 2017-12-14 12:38:55 -06:00
Minh Nguyễn
40f20a1339 [core] Migrated upcase, downcase to platform code
Replaced manual, per-character upper- and lowercasing code with calls to platform-specific code that affects a wider range of characters.
2017-12-14 09:14:54 -08: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
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
Tobrun
4525ff714a Post camera listener invocations (#10690)
* [android] - post camera listener invocations

* remove jvm unit test
2017-12-14 12:15:36 +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
Tobrun
7012c1b683 [android] - update documentation on update metadata 2017-12-13 16:58:21 +01:00
Konstantin Käfer
88cafa8e32 [core] update CA bundles used for cURL 2017-12-13 15:32:43 +01:00
Tobrun
fa704c85d8 [android] - scale factor value of 1 should zoom out 2017-12-13 11:04:01 +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
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
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