Commit Graph

3668 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
10b8ef6441 [Qt] Document QMapbox + qdoc fixes 2017-02-22 13:52:33 +02:00
Minh Nguyễn
2f388d6635 Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.2 2017-02-21 22:47:15 -08:00
Minh Nguyễn
b512af6a66 [ios, macos] Smarten apostrophes after backticks
jazzy is inconsistently converting straight apostrophes that immediately follow backticks into either ‘ or ’ from one run to the next. Smarten the apostrophe to keep it stable.
2017-02-21 22:14:29 -08:00
Minh Nguyễn
df6a06bd07 ios-v3.4.2, macos-v0.3.1 2017-02-21 16:53:10 -08:00
Jason Wray
ac0e2e0a98 [ios] Update changelog for iOS 8 deployment target 2017-02-21 16:10:00 -05:00
Jason Wray
a1c477b4db [ios] Update docs for iOS 8 deployment target 2017-02-21 16:10:00 -05:00
Jason Wray
c7975e6a18 [ios] Clean-up conditionals for iOS <8 2017-02-21 16:10:00 -05:00
Jason Wray
3b063d9be0 [ios] Set project deployment target to iOS 8 2017-02-21 16:09:59 -05:00
Tobrun
b49fc44498 [android] - post invoking onMapReady to the end of the main thread message queue (#8137) 2017-02-21 16:24:31 +01:00
Tobrun
a394578876 [android] - rename simple example map view (#8132)
* [android] - rename simple example map view from Wear module to explicitly state Wear in it's name

* ignore flaky test
2017-02-21 15:00:48 +01:00
Bruno de Oliveira Abinader
177a27b48a [Qt] Added missing conversion helpers 2017-02-21 15:26:46 +02:00
Antonio Zugaldia
051bd9ac93 Bring all architectures back to CI builds (#8124)
* [android] build all archs for scheduled workflow

* [android] build all archs for nightly workflow
2017-02-21 08:19:08 +01:00
Tobrun
22c060d414 [android] - only remove location updates when connected (#8107) 2017-02-21 08:16:59 +01:00
Jason Wray
4f91e70204 [ios, macos] Enable localizations in iosapp & macosapp 2017-02-20 23:07:05 -05:00
Tobrun
a0992f0550 [core] - allow moveBy to use AnimationOptions
[android] - update jni bindings for moveBy with an interpolator
2017-02-20 16:52:18 -08:00
Minh Nguyễn
b845af66d3 [ios, macos] Include Ukranian stringsdict in project 2017-02-20 14:54:57 -08:00
Minh Nguyễn
64a034285b [ios, macos] Added Lithuanian localization 2017-02-20 14:54:57 -08:00
Andrey Golovin
e67bc1a7ac [ios, macos] Fixed Ukrainian pluralization 2017-02-20 14:54:57 -08:00
Minh Nguyễn
de99ec3bd0 [ios, macos] Fixed Polish pluralization 2017-02-20 14:54:57 -08:00
Minh Nguyễn
adbcaceb85 [ios, macos] Fixed Russian pluralization 2017-02-20 14:54:57 -08:00
Minh Nguyễn
c8d8b82522 [ios, macos] Polish, Russian, Spanish, Ukrainian translations 2017-02-20 14:54:57 -08:00
Fabian Guerra Soto
657c9f92cb [ios, macos] fixed wyoming inverted coordinates (#8069) 2017-02-20 16:35:03 -05:00
Justin R. Miller
a39526654b [ios] add setting to toggle two maps for thread debugging (#8122) 2017-02-20 16:19:00 -05:00
Konstantin Käfer
e5b9605ab2 [macos] reuse OpenGL context when switching screens
Cherry-picked from 43e81509fb.
2017-02-20 12:34:05 -08:00
John Firebaugh
773f330774 [core] Ensure that context resources are destroyed before context is destroyed 2017-02-20 12:04:21 -08:00
John Firebaugh
5354572620 [core] Eliminate manual HeadlessBackend activation management 2017-02-20 12:04:21 -08:00
John Firebaugh
ed7844d08f [core] Inline HeadlessBackend::{activate,deactivate,destroy}Context
HeadlessContext::destroyContext isn't even necessary; std::unique_ptr handles that automatically.
2017-02-20 12:04:21 -08:00
John Firebaugh
694159c49e [core] Nestable BackendScope 2017-02-20 12:04:21 -08:00
Konstantin Käfer
3ef9e26593 [ios,macos,android,qt] use shared threadpool 2017-02-20 19:26:06 +01:00
Konstantin Käfer
f8ab327874 [macos,ios] add tests for MGLOfflineStorageDelegate 2017-02-20 14:36:27 +01:00
Konstantin Käfer
9ad29af400 [android] OfflineManager#setResourceTransform to allow transforming URLs prior to internet requests 2017-02-20 14:36:27 +01:00
Konstantin Käfer
c86e38e303 [android] use shared DefaultFileSource for all maps + OfflineManager 2017-02-20 14:36:27 +01:00
Konstantin Käfer
6c0310209d [macos,ios] expose callback for transforming URLs 2017-02-20 14:36:27 +01:00
Konstantin Käfer
03a14ff000 [darwin] move RunLoop initialization to static variable 2017-02-20 14:36:27 +01:00
Konstantin Käfer
e2d8a83664 [core] add ability to transform URLs before they're requested from the Internet 2017-02-20 14:36:27 +01:00
Minh Nguyễn
4eef3df183 [ios, macos] Updated changelogs
Removed a duplicate entry; moved the #7125 entry to the right release; added a blurb about #7937.
2017-02-18 20:49:03 -08:00
Minh Nguyễn
8669f933fd [ios, macos] Convert NSColor/UIColor expressions to CSS color string values
When converting a constant NSExpression to an mbgl::Value, turn an NSColor or UIColor into an std::string containing a CSS color string. This allows developers to set an attribute of an MGLFeature to an NSColor or UIColor (rather than a CSS color string, which would be foreign), then use it in an MGLStyleFunction with identity interpolation.
2017-02-18 14:42:16 -08:00
Minh Nguyễn
d790132eda [ios, macos] Short-circuit redundant camera changes
Avoid canceling transitions (and triggering preexisting completion handlers) until we get a chance to ensure that a new transition really does have to begin. Consistently avoid mbgl transitions for redundant camera changes. Upon bailing, schedule the completion handler to run asynchronously on a delay equivalent to the requested animation duration.

Added a “functional” equality method to MGLMapCamera that avoids trivial differences.

Fixed invocations of XCTAssertEqualWithAccuracy() that incorrectly expressed the accuracy as a number of digits rather than a scalar tolerance.
2017-02-18 14:14:09 -08:00
Jason Wray
65b42949c7 [ios] Fix locale-based language switching demo
Copy-pasted the better implementation from macOS.
2017-02-17 18:47:32 -05:00
Ivo van Dongen
ab20d38883 [android] fix default value conversion on dds functions 2017-02-17 13:17:20 -08:00
Anand Thakker
062b18374d [core] Enable property functions for text-{field,transform} (#7944) 2017-02-17 13:16:25 -08:00
Jesse Crocker
d4c569a018 [ios] Disable region monitoring when stopping location monitoring (#7833) 2017-02-16 12:36:21 -08:00
Jesse Bounds
655b7c035c [ios] Search for ICU path using cmake cache 2017-02-16 10:59:54 -08:00
Minh Nguyễn
06eebd3793 [ios, macos] Reorganized changelogs 2017-02-15 22:51:30 -08:00
Minh Nguyễn
b06ae5e6b7 [macos] Make ± key bindings respect tab order, zoomEnabled 2017-02-15 22:51:30 -08:00
Eimantas Vaiciunas
d8bdc7307d [macos] Make + and - keys zoom the map
Override `insertText:`

- send all `keyDown:` events to `interpretKeyEvents:` method;
- in `insertText:` method check for the text to be sent and
  adjust zoom level if needed;
2017-02-15 22:51:30 -08:00
Anand Thakker
685f237d02 Refactor: use conversion system to convert MGLStyleFunction to mbgl core types (#8026)
This leverages the work already happening in `mbgl::style::conversion` to convert style functions from style-spec definitions into `mbgl::style::{Camera,Source,Composite}Function`s.  In particular, this allows the conversions system to handle the differing typing requirements based on whether the output type of the style function is interpolatable or non-interpolatable.
2017-02-15 17:16:54 -05:00
Tobrun
0c0d7ceaeb [android] - use project wide configurations for all modules + fixup wear compile error (#8066) 2017-02-15 19:56:31 +01:00
Tobrun
8bf1cf7843 Do not draw foregroundBearingDrawable when rotation sensor is not available (#8065) 2017-02-15 16:02:34 +01:00
Tobrun
9ed9a32ded [android] - remove unused telem constants (#8061) 2017-02-15 16:02:17 +01:00