Konstantin Käfer
f16a4e5da6
[all] make default_styles header-only
2017-07-13 01:39:00 -04:00
John Firebaugh
baaae99a03
[core, android] Factor JSON string conversions
...
This adds a `convertJSON` template, to be used like:
Error error
optional<Foo> foo = convertJSON<Foo>(string, error);
Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.
While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Bruno de Oliveira Abinader
f59ba4e3f3
Revert "[Qt] Don't regen BackendScope on every QMapboxGL::render() call"
...
This reverts commit 806da5d940 .
2017-05-04 21:02:40 +03:00
Bruno de Oliveira Abinader
806da5d940
[Qt] Don't regen BackendScope on every QMapboxGL::render() call
2017-05-04 15:58:30 +03:00
Thiago Marcos P. Santos
18c52ab5e4
[Qt] Add extrusion example to the Qt app
2017-05-02 10:07:02 +03:00
Thiago Marcos P. Santos
184a4389e1
[Qt] Handle extrusion filters
2017-05-02 10:07:02 +03:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Minh Nguyễn
0d1d0efd60
[qt] Bring back icon.png
2017-04-20 11:46:50 -04:00
John Firebaugh
092da9c956
[core] Remove non-Map-dependent projection methods from Map
2017-04-18 14:43:31 +03:00
Bruno de Oliveira Abinader
2f4d162deb
[core] Tighten geo.hpp ctors
2017-04-14 12:33:13 -07:00
Bruno de Oliveira Abinader
04a3a7383a
[core] Remove unused bool() functions
2017-04-14 12:33:13 -07:00
John Firebaugh
f1c06f8d83
[all] Remove redundant scale-related camera methods
...
We don't need to have two different measurement systems for map zoom.
2017-04-13 10:28:44 -07:00
Minh Nguyễn
6b29b2bde6
[qt] Avoid hardcoding Qt cellar path
2017-04-10 14:43:13 -07:00
Bruno de Oliveira Abinader
b25c8f043b
[Qt] Sanitize QSize → mbgl::Size conversion
2017-04-10 18:01:28 +03:00
Minh Nguyễn
3172a9744f
[qt] Renamed qt5 formula to qt
2017-04-08 15:55:10 -07:00
John Firebaugh
16a2839e23
[all] Make LatLng coordinates read-only
2017-04-06 09:22:51 -07:00
Konstantin Käfer
a84aa453a9
[core] Privatize OpenGL/Context headers
2017-03-28 13:53:19 +02:00
Bruno de Oliveira Abinader
9b39013ce4
[core] Internalize rapidjson.hpp
2017-03-28 13:53:19 +02:00
Konstantin Käfer
234384ece9
[core] Move OpenGL extension initialization to Backend
2017-03-23 14:50:11 -07:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7
[all] Replace Result<T> with optional<T> plus out Error parameter
2017-03-23 13:31:13 -07:00
Bruno de Oliveira Abinader
1c757cce34
[build] Autodetect Qt{4,5}
2017-03-23 16:09:07 +02:00
Konstantin Käfer
d20327844c
[qt] Add setFramebufferObject() for correct FBO binding restoration
2017-03-22 14:15:50 +01:00
Bruno de Oliveira Abinader
fa2b7676b8
[Qt] Updated MapObserver::onSourceChanged
2017-03-21 17:36:56 +02:00
Bruno de Oliveira Abinader
bfc7c2967c
[Qt] Update changes in MapObserver::onDidFailLoadingMap
2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
2a25b026af
[Qt] Support mbgl::MapObserver
2017-03-15 14:53:32 +02:00
John Firebaugh
6ceb0c832b
[build] Remove custom bitrise 'skip ci' stuff ( #8346 )
2017-03-10 08:55:34 -08:00
John Firebaugh
3afae825c7
Use ICU compiled with -Os
2017-03-08 14:05:19 -08:00
Bruno de Oliveira Abinader
84f69bfcc0
Update README.md
...
Fix patch typo.
2017-03-06 13:47:01 -08:00
Thiago Marcos P. Santos
2b7319d529
[Qt] Remove the QML app
...
We are now on Qt 5.9 and this is where the plugin will be developed
from now on.
2017-03-06 11:40:05 -08:00
Thiago Marcos P. Santos
f6cd017f58
[Qt] Remove legacy QOpenGL dependency from Qt5 build
...
OpenGL on Qt5 is offered via QtGui.
2017-03-03 17:28:07 -08:00
Bruno de Oliveira Abinader
f28d75dccd
[Qt] FBO handling should happen outside of QMapboxGL::render
2017-03-01 09:25:52 -08:00
Thiago Marcos P. Santos
d2469f4bdb
[build] Fix build on Ubuntu 16.04+
...
gtest was broken because of lack of CXX11ABI support.
2017-02-23 18:39:40 +02:00
Bruno de Oliveira Abinader
10b8ef6441
[Qt] Document QMapbox + qdoc fixes
2017-02-22 13:52:33 +02:00
Bruno de Oliveira Abinader
177a27b48a
[Qt] Added missing conversion helpers
2017-02-21 15:26:46 +02:00
Konstantin Käfer
3ef9e26593
[ios,macos,android,qt] use shared threadpool
2017-02-20 19:26:06 +01:00
Bruno de Oliveira Abinader
b9af073e98
[Qt] Added QMapboxGL::sourceExists
2017-02-09 12:31:32 +02:00
Konstantin Käfer
bb931505c5
[build] Remove Mason submodule in favor of CMake mason
2017-02-08 19:07:16 +01:00
Bruno de Oliveira Abinader
d3ca6c67f1
[Qt] Added QMapbox::Feature → GeoJSON conversion helper
2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
7db79da501
[Qt] Added QMapbox::Feature
2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
59d279b689
[Qt] Moved GeoJSON-related conversion functions to qt_geojson.hpp
2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
8b9a511357
[Qt] Added QMapboxGL::layerExists
2017-02-08 15:55:47 +02:00
Bruno de Oliveira Abinader
ab814ef9b0
[Qt] Guarantee QSqlDatabase connection name uniqueness
...
Guarantee QSqlDatabase connection name uniqueness by using a static
counter together with the current thread.
2017-02-01 17:00:17 +02:00
Konstantin Käfer
62ea1f2185
[core] remove trailing whitespace, add trailing newlines, add space after //
2017-01-27 11:44:16 +01:00
Thiago Marcos P. Santos
a8225b8fff
[Qt] Make datatypes compatible with the default implementation
...
On the default all integers map to `sqlite3_bind_int64`.
2017-01-26 18:37:42 +02:00
Bruno de Oliveira Abinader
be43310b6f
[Qt] Refactor QMapbox Annotations API
2017-01-26 14:53:45 +02:00
Thiago Marcos P. Santos
1f3424fafa
[Qt] Remove QtQuick dependency from the low-level API
...
Not really needed.
2017-01-24 10:26:33 +01:00
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