Commit Graph

3492 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
00b4baff5f [Qt] Check for Qt SQLite database driver 2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
1c759cfa09 [Qt] Explicitly map the bool binder to int
On Qt4 and Qt5 the QVariant conversion from bool behaves differently.
2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
1065917e59 [Qt] Save a copy when using binary data if possible 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
88b7fc3929 [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
eb772258cf [core] Replace sqlite3.h dependency in offline database 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
b8863a6dca [core] Move sqlite::Statement::check to pimpl 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
80d72123df [core] Move lastInsertRowId/changes to sqlite::Statement 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
97b433edc9 [core] Private implementation for SQLite interface 2017-01-23 19:06:53 +02:00
Tobrun
fbe0320c9c [android] - zoom to at least 2 when tracking is enabled (#7795)
* [android] - zoom to at least 2 when tracking is enabled, introduce interface for zoom invalidation, simplify example

* fixup unit test, added test for new interface + focal point interface
2017-01-23 17:51:09 +01:00
Tobrun
91efbc36a2 [android] - redraw MyLocationView when tilt changes, setTilt after CameraUpdate has finished animating (#7799) 2017-01-23 17:48:53 +01:00
Tobrun
f1c3cfb7e2 [android] - remove redundant log statements in native_map_view.cpp (#7801) 2017-01-23 12:22:58 +01:00
Tobrun
55e004e2e9 [android] - decouple make apackage for measuring execution time (#7771) 2017-01-22 17:49:30 +01:00
Thiago Marcos P. Santos
89dc01283f [Qt] Fix build with WITH_QT_I18N=1 2017-01-20 18:50:45 +01:00
Thiago Marcos P. Santos
fd9598779c [Qt] Do not use c_str() when converting from UTF8 2017-01-20 18:50:45 +01:00
Thiago Marcos P. Santos
181b3635f1 [core][Qt] Use Qt for UTF16, since codecvt is not always available 2017-01-20 18:50:45 +01:00
Tobrun
de3ef6f070 [android] - deselect marker on infowindow click (#7784) 2017-01-19 17:05:27 +01:00
Thiago Marcos P. Santos
99942558b2 [Qt] Fix build when using Qt namespaces
Fix when building with namespaces enabled.

http://wiki.qt.io/Qt_In_Namespace
2017-01-19 16:34:51 +01:00
Minh Nguyễn
5c144a2d83 [ios, macos] Updated changelogs
Updated changelogs to mention #7446, #7356, #7465, #7616, #7445, #7444, #7526, #7586, #7574, and #7770. Also corrected the blurb about #7711.
2017-01-19 03:17:13 -08:00
Thiago Marcos P. Santos
bf82b07ac8 [Qt] Use system defaults CA
The CA certificate we are bundling will expire in Aug/2018.
2017-01-19 11:33:04 +01:00
Eric Wolfe
a2ceeb4a5b [core] Evict cached resources and tiles equally by access time (#7770) 2017-01-18 18:43:24 -08:00
Minh Nguyễn
feb4da4a24 [android] Removed conflict marker from changelog 2017-01-18 15:48:42 -08:00
Justin R. Miller
f6715694f9 refs #6779: mobile & Mac SDK style transition options (#7711) 2017-01-18 12:43:08 -08:00
Bruno de Oliveira Abinader
14fe15e3fc [Qt] Avoid QApplication duplication via test main() 2017-01-18 19:06:32 +01:00
Bruno de Oliveira Abinader
49da57393a [core] Remove platform-specific main.cpp from MBGL_TEST_FILES 2017-01-18 19:06:32 +01:00
Tobrun
c637a658db [android] - remove deprecated emerald (#7767)
[android] - remove deprecation annoation for setStyle

[android] - dismiss tracking on gesture deprecation cleanup
2017-01-18 18:26:58 +01:00
Minh Nguyễn
7ef2843e6a Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.7 2017-01-16 11:38:35 -08:00
Minh Nguyễn
13b97dd0ce [ios, macos] Correct podspecs, readmes (#7730)
* [macos] RC 1 errata

Synchronized bundled README installation instructions with those in INSTALL.md. Bumped screenshot up a bit. Corrected link to published documentation.

* [ios, macos] Corrected podspec URLs

Fixed podspec linter errors. The podspecs were pointing to unreachable (or soon to be unreachable) screenshot URLs. The -symbols podspecs’ names additionally needed to differ from the normal podspecs’ names.
2017-01-16 10:16:40 -08:00
Thiago Marcos P. Santos
76301b252c [build] Fix mbgl-offline tool build on recent Linux distros 2017-01-16 17:53:02 +02:00
Molly Lloyd
6a7966fd36 fix typo in android docs (#7686) 2017-01-16 10:16:46 +01:00
Tobrun
87402f234b [android] - notify team when nightly snapshot build fails, update slack message. (#7654) 2017-01-16 09:29:29 +01:00
Tobrun
5c61ea0869 [android] - safe guard making asyncrhonous calls to map object while it's beeing destroyed (#7613) 2017-01-16 09:06:29 +01:00
Minh Nguyễn
4adcdac7b5 [macos] Upgrade macOS deployment and distribution (#7649)
* [macos] Updated deployment scripts

Ported fixes from #6581 and #6740.

* [macos] Acknowledge AppleScript support

* [macos] Prepared for published documentation

Also added link to Dash docset.

* [macos] Added CocoaPods podspecs

Ported from #5653.

* [macos] Rewrote readme; updated screenshot

* [macos] Include setup instructions in standalone docs
2017-01-15 13:18:21 -08:00
Tobrun
9a635672a6 [android] - update build tools to bitrise supported version (#7729) 2017-01-15 21:11:42 +01:00
Minh Nguyễn
15caf0fd63 [ios, macos] Default to system font for attribution titles 2017-01-14 14:46:15 -08:00
Jason Wray
bc0c8043d2 [ios] Add larger polyline to iosapp test shapes 2017-01-13 15:43:41 -05:00
Jason Wray
8f6009ea20 [ios, macos] Revert deprecation of alphaForShapeAnnotation: delegate method 2017-01-13 15:43:41 -05:00
Minh Nguyễn
4d5036616f [ios, macos] Rewrote style layer tests
Replaced the style layer integration tests with unit tests. Test conversion of style values to property values and vice versa, not just round-tripping. Test the initial state and null-resetting of each null-resettable property. Test NSValue additions for style attribute enumerations. Test properties common to all style layer classes. Test MGLStyle’s source and layer collections.

Eviscerated implementations of unavailable style layer properties corresponding to style specification properties that were renamed. Implemented corresponding getters to prevent ivars from being autosynthesized for these unavailable properties.

Added a missing bridging header to the iOS test project.
2017-01-13 10:26:43 -08:00
Minh Nguyễn
85fc75db8d [ios, macos] Fixed nilling out predicate 2017-01-12 16:19:14 -08:00
Jesse Bounds
00bacf5951 [ios, macos] Temporarily ignore the fill extrusion layer (#7706) 2017-01-12 16:06:23 -08:00
Minh Nguyễn
0a1987f091 Fixed link in “Working with GeoJSON Data” guide 2017-01-12 12:39:15 -08:00
Tobrun
831bb21dc8 [android] - improve fling gesture by calculating animation time from velocity, ignore small fling gestures. (#7676) 2017-01-12 21:25:40 +01:00
Minh Nguyễn
43c6bb0f24 [ios, macos] Note that MGLShapeSource.shape must be set on main thread (#7687)
* Add Clarification for modifying ShapeCollections

Spinoff task from https://github.com/mapbox/mapbox-gl-native/issues/7622

* update wording for both get/set, remove whitespace
2017-01-12 11:54:07 -08:00
Minh Nguyễn
f1d661ad36 [ios, macos] Document simpler types for style values in Swift 2017-01-12 11:03:20 -08:00
Minh Nguyễn
13243ba26b [ios, macos] Made style-related tests more robust
Removed UIViewController from MGLStyleLayerTests on iOS, because we aren’t really testing integration at that level. Switched to delegate-based expectation fulfillment for both MGLStyleLayerTests and MGLStyleTests, conditionalized on whether the style has already loaded, to avoid race conditions that bleed into other tests.
2017-01-12 08:19:29 -08:00
John Firebaugh
a47600a41d [linux] No need for CXXABI suffix for mesa 2017-01-12 13:10:24 -02:00
Jason Wray
4aecb18f54 [ios] Release v3.4.0-beta.7 2017-01-11 20:04:37 -05:00
Jesse Bounds
6ad47cfbad [ios, macos] Add convenience initializers to shape source (#7665)
This adds two new convenience initializers to MGLShapeSource:

-initWithIdentifier:features:options: takes an array of shape objects
that conform to MGLFeature, inserts them in a shape collection feature
and creates a source with that shape. -initWithIdentifier:shapes:options
does the same but with concrete MGLShape objects that get added to
a shape collection.

Throw an exception if an shape source is created with the features
initializer but is sent an array of features that contains something
that is not actually an object that conforms to the feature protocol.

Updates to geojson data guide

Qualify APIs that take arrays of shapes that are features
2017-01-11 16:05:38 -08:00
Jesse Bounds
4332b3b953 Flush telemetry cache when data collection is paused (#7672)
[ios] Flush telemetry cache when data collection is paused

This flushes the cache just before pausing so that data collected
before the pause is not thrown away. It also refactors event
creation to avoid possible nil value inserts into dictionaries
and adds a small optimization to avoid creating immutable
dictionaries to help create mutable ones.

Also:

- Remove cancel API in API client

The cancelAll API is not used. The array of data tasks it maintains
has proven problematic. This removes the API and the problematic
implementation. As safer version of it can be brought back if cancel
task functionality is required in the future.

- Remove unused battery method
2017-01-11 15:55:54 -08:00
Fredrik Karlsson
f1fc9bdfeb [ios] Optional positioning and stickiness for callout view 2017-01-11 15:48:08 -08:00
Minh Nguyễn
57644b2804 [macos] Run style layer tests headlessly (#7684)
* [macos] Run style layer tests headlessly

* [ios, macos] How about a manual expectation?
2017-01-11 15:30:55 -08:00