Commit Graph

16768 Commits

Author SHA1 Message Date
Tobrun
dda1d9f357 [android] - fixup timber merge (#7179) 2016-11-24 11:33:57 +01:00
Minh Nguyễn
f71dd14bb7 [ios, macos] Reorganized MGLStyle 2016-11-23 16:02:18 -08:00
Minh Nguyễn
767044420d [ios, macos] Added debug descriptions for runtime styling classes 2016-11-23 16:02:17 -08:00
Jesse Bounds
67e079f726 [ios, macos] Fix integer formatting in formatted exception strings (#7173) 2016-11-23 12:21:52 -08:00
Pablo Guardiola
fe68b9bc4a Fix incorrect command comment in templates (#7158)
* [android] - fix incorrect command comment in templates and regenerate classes (#7157)

* [android] - fix incorrect command comment in layer templates and regenerate classes (#7157)
2016-11-23 19:28:24 +01:00
Pablo Guardiola
ac924719e1 [android] - replace Android logs with Timber (#6372) (#7149) 2016-11-23 11:48:07 -05:00
Jesse Bounds
75666e5b53 [ios, macos] Use namespaced property names in style NSValue category (#7171) 2016-11-23 08:20:47 -08:00
Saman Bemel-Benrud
5a4b73f3be Add ratio argument to render.cpp (#7161) 2016-11-23 11:08:43 -05:00
Jesse Bounds
238197c3e2 ios-v3.4.0-beta.4 2016-11-23 06:04:11 -08:00
Tobrun
edb487b74d [android] - move camera logic to dedicated transform class (#6919)
* [android] - move camera logic to dedicated transform class

post camera updates to the message queue, this makes calling an new camera update in the on finish of another update possible. Simplify transform.java implementation.

* fail the step if instrumentation tests fail, fixup typo
2016-11-23 10:53:39 +01:00
Jesse Bounds
d6d16c189a [ios, macos] Remove unused MGLGeometryAdditions category stub
This fixes an issue where the documentation for all NSValue categories
were described as `MGLGeometryAdditions`.
2016-11-22 19:53:54 -08:00
Jesse Bounds
13e0f9e527 [ios, macos] Refactor runtime styling enumeration properties
Correctly map SDK runtime styling enumerations to mbgl
equivalents. Also, add category methods to NSValue so enums
can be wrapped up with less of the details of how they
are layed out in memory in Objective-C.
2016-11-22 19:53:54 -08:00
Konstantin Käfer
4577c56745 [core] remove unused umbrella header in favor of individual includes 2016-11-22 20:58:51 +01:00
Konstantin Käfer
e76de05402 [build] move logging to util 2016-11-22 20:58:51 +01:00
Konstantin Käfer
117863f111 [build] move headless rendering files to platform/default 2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e [build] move default ThreadPool implementation to platform/default 2016-11-22 20:58:51 +01:00
Konstantin Käfer
67ed3ae3eb [build] move GLFW-related files to platform/glfw 2016-11-22 20:58:51 +01:00
Konstantin Käfer
9353fcbf4c [build] move default_styles to platform/default 2016-11-22 20:58:51 +01:00
Konstantin Käfer
a71868fc8d [build] move Reachability to platform/darwin 2016-11-22 20:58:51 +01:00
Konstantin Käfer
398344addc [build] use scripts/generate-core-files.sh to auto-generate core-files.cmake 2016-11-22 20:58:51 +01:00
Tobrun
5877d786e1 [android] - use double to restore instance state of MyLocationView (#7146) 2016-11-22 19:23:20 +01:00
Minh Nguyễn
4e4e05ef50 [ios, macos] Updated changelog for #7091 2016-11-22 08:34:16 -08:00
Konstantin Käfer
ba2e44d4d7 [build] publish binary size statistics to S3 2016-11-22 17:33:25 +01:00
Konstantin Käfer
8fa078c086 [core] cache raster tiles 2016-11-22 08:32:02 -08:00
Konstantin Käfer
66e6946b8c [build] Use thin archives for Android 2016-11-22 15:55:37 +01:00
Konstantin Käfer
bf7ab7ba2b [build] reduce framework size for Release builds on macOS 2016-11-22 15:54:26 +01:00
Tobrun
dff218c30e [android] - allow deselection of a MarkerView not found in current viewport (#7140) 2016-11-22 15:21:06 +01:00
Pablo Guardiola
6ecad41858 Add simple map activity to testapp (#7136)
* [android] 6481 - add simple map activity to test app

* [android] #6481 - exclude SimpleMapActivity
2016-11-22 10:05:29 +01:00
Tobrun
f92439d180 [android] - run all espresso tests on Firebase test lab (#6980) 2016-11-21 13:16:22 +01:00
Fredrik Karlsson
307f8e4f41 [ios] simplified constraints and fixed regression 6954 (#7084)
* [ios] simplified constraints and fixed regression 6954

* [ios] removed excessive constraints

* [ios] removed compass container view
2016-11-20 13:16:20 +01:00
Minh Nguyễn
e858dba86d [ios, macos] Documented localization workflow 2016-11-18 10:38:57 -08:00
Konstantin Käfer
ce0169e189 [build] add --gc-sections to Android link flags to reduce binary size 2016-11-18 14:45:42 +01:00
Tobrun
109565c400 [android] - allow compass update without animation (#7094) 2016-11-18 13:45:32 +01:00
Konstantin Käfer
6c91c3e519 [core] replace <regex> usage with plain string code to reduce binary size 2016-11-18 10:38:49 +01:00
Fredrik Karlsson
d959fe1522 [android] fixed horizontal panning going the opposite direction 2016-11-18 09:21:38 +01:00
Bruno de Oliveira Abinader
97288cae96 [test] Check all zoom levels in Annotations.SymbolAnnotation 2016-11-18 09:13:53 +01:00
Bruno de Oliveira Abinader
e9f849e4d0 [core] Sort symbol render tiles prior to rendering 2016-11-18 09:13:53 +01:00
Bruno de Oliveira Abinader
ce14037b55 [core] Cleanup symbol clipping 2016-11-18 09:13:53 +01:00
John Firebaugh
38fcbe21d4 [core] Convert style properties to a tuple-based approach
This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md.

The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily.

Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
2016-11-17 15:13:38 -08:00
Chris Loer
d4fc66af39 [core] Add minimal line breaking support for RTL text. 2016-11-17 14:33:03 -08:00
Chris Loer
bceeba29a3 [core] Add ICU package for Bidirectional text support and arabic text shaping.
Apply bidi and shaping in symbol_layout.
Add utility functions for converting to and from UTF-16.
2016-11-17 14:33:03 -08:00
Chris Loer
40b0c8d076 [core] Use UTF-16 instead of UTF-32 for label features to avoid extra conversions and reduce in-memory size.
Continue to use uint32 as glyph ID to maintain Glyph PBF, even though we're only using 16 bits of that uint32.
Use std::codecvt instead of boost::unicode_iterator for UTF8->UTF16 conversions.
2016-11-17 14:33:03 -08:00
John Firebaugh
5c7aeec5c7 [tests] Update test-suite 2016-11-17 13:48:00 -08:00
John Firebaugh
251035cd75 [node] Add setZoom and setPitch support 2016-11-17 13:48:00 -08:00
John Firebaugh
f1e10e31a5 [node] Revert semantics of Map#render 2016-11-17 13:48:00 -08:00
Jesse Bounds
72d553c4b1 ios-v3.3.7 2016-11-17 12:00:34 -08:00
Konstantin Käfer
5f010b0979 [build] don't abort with an error code to allow reporting partial builds 2016-11-17 15:42:44 +01:00
Konstantin Käfer
cbe5de98fa [build] create separate bitrise build for binary size tracking 2016-11-17 15:42:44 +01:00
Minh Nguyễn
333b8baa91 [ios, macos] Updated changelog for #7091 2016-11-17 13:39:05 +01:00
Konstantin Käfer
117062acc1 [core] cache raster tiles 2016-11-17 11:09:30 +01:00