Vladimir Agafonkin
a9e4e98e8e
Revert "add supercluster dependency"
...
This reverts commit f84e9fdb2b .
2016-07-18 16:58:32 +03:00
Vladimir Agafonkin
f84e9fdb2b
add supercluster dependency
...
[skip ci]
2016-07-18 16:21:28 +03:00
Thiago Marcos P. Santos
3fd874de8d
[Qt] Use the thread implementation appropriated to the target
...
Qt has a thread abstraction, but we would need to use QThread to use it.
2016-07-16 10:38:42 +03:00
Aki Koskinen
63298066b1
[qt] if qmake isn't available, try qmake-qt5 ( #5658 )
2016-07-12 19:13:34 +03:00
Thiago Marcos P. Santos
86cebd4cca
[core] Report conversion errors using std::string
...
char* increases the risk of pointing to a invalid reference. Qt had
to use a static variable as retainer to workaround.
2016-07-12 16:04:20 +03:00
Thiago Marcos P. Santos
462137a536
[Qt] Bind 'L' on the example app to runtime style example
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
5ad22bd672
[Qt] Implement a GeoJSON coverter from QByteArray
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
abeee2087c
[Qt] Added add/remove style source method
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
abff8e42c1
[Qt] Added add style layer method
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
18c8830169
[Qt] Added set style filter method
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
b59070590b
[Qt] Added set style paint properties method
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
e9259fc03e
[Qt] Added set style layout properties method
2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
46df5d58f9
[Qt] Added conversion functions for the runtime style API
2016-07-11 17:01:31 +03:00
Thiago Marcos P. Santos
03b2bb68ba
[Qt] Avoid a deep copy on the network reply
...
QByteArray::data() may do a deep copy.
2016-07-11 17:01:31 +03:00
Thiago Marcos P. Santos
843fff99b5
[Qt] Fix build on Linux with clang-3.8
...
clang finds this construction ambiguous, go figure.
2016-07-11 17:01:31 +03:00
Bruno de Oliveira Abinader
65868b28cc
[Qt] Janitor private headers
2016-07-11 17:01:31 +03:00
Young Hahn
71a3b1d0db
[core] geometry@0.8.0 / geojsonvt@6.0.0 ( #5514 )
...
* [core] geometry.hpp 0.8.0
* geojsonvt @ 6.0.0
* Update platform deps, build scripts
* Perf optimizations/cleanup
* Rebase in geometry@080
* D.R.Y. etc
* Ensure fill annotation geometries have closed rings.
* Optimizations
* Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt
* Apply close multi/poly geoms for line annotations as well
2016-07-06 17:29:34 -04:00
Bruno de Oliveira Abinader
7d63847bec
[Qt] Use mbgl::LineString instead of mbgl::Polygon as default shape
2016-06-22 18:07:19 +03:00
Thiago Marcos P. Santos
7ea0a0db32
[tests] Run memory tests on travis
...
Qt4 will run tests with libjemalloc.so. The Memory.Footprint and
the Memory.Fragmentation will only run with libjemalloc.so because
we have then a better control over the results.
2016-06-21 19:12:32 +02:00
Bruno de Oliveira Abinader
760a692378
[Qt] Added QMapbox::TransitionOptions to style class functions
2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
061511bc69
[build] Don't override CXX11ABI if already set
2016-06-17 20:44:40 +03:00
Bruno de Oliveira Abinader
a08bb4ccea
[Qt] Define QT_IMAGE_DECODERS if needed
2016-06-17 20:43:21 +03:00
Bruno de Oliveira Abinader
3f024ebaf0
[Qt] Install valgrind on-demand
2016-06-16 19:30:20 +03:00
Bruno de Oliveira Abinader
d323f393ec
[Qt] Cleanup annotation usage
2016-06-16 19:30:19 +03:00
Minh Nguyễn
b9702ef41a
[macos] Renamed OS X SDK to macOS SDK
...
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
Thiago Marcos P. Santos
8bbb721636
[Qt][build] Updated valgrind supression and make it a target for Qt
2016-06-09 19:56:35 +03:00
Bruno de Oliveira Abinader
e9dcfa0ed6
[build] Added Bitrise Qt5 status image to README.md [skip ci]
2016-06-03 15:42:57 +03:00
Bruno de Oliveira Abinader
f3b168b9a8
[build] Added Bitrise Qt{4,5} OS X
...
Part of #5121 .
2016-06-03 12:22:12 +03:00
John Firebaugh
c902f9098b
[core] Rationalize naming for style-related code
2016-06-02 14:51:39 -07:00
John Firebaugh
d7e1ecd19e
[core] Generalize Map::{add,remove}CustomLayer
2016-06-02 14:51:39 -07:00
John Firebaugh
0fba70d5a8
[all] Rationalize annotation API
2016-06-01 17:37:01 -07:00
Thiago Marcos P. Santos
cfd6757ecc
[Qt] Use geometry.hpp internally for shape annotations
2016-06-01 17:36:50 -07:00
Bruno de Oliveira Abinader
6c94898297
[Qt] Fix typo in QMapboxGL::resize
2016-06-01 15:52:00 +03:00
Bruno de Oliveira Abinader
a3e0c60a7c
[build] Added unique_resource as dependency
2016-06-01 13:53:39 +03:00
John Firebaugh
faaafb8387
[core] Replace clipper and libtess with earcut.hpp
2016-05-31 10:15:18 -07:00
Thiago Marcos P. Santos
5be5bab730
[Qt] Share the same RunLoop if in the same thread
2016-05-27 15:44:59 +03:00
Thiago Marcos P. Santos
d0561c5d6c
[Qt] Assert that we run the async on the right loop
2016-05-27 15:44:59 +03:00
Bruno de Oliveira Abinader
26a425fa6d
[Qt] QMapboxGLPrivate::getPixelRatio() cleanup
2016-05-26 17:52:34 +03:00
Bruno de Oliveira Abinader
64064088af
[Qt] Cycle debug options in Qt example app
2016-05-24 19:58:24 +03:00
Bruno de Oliveira Abinader
835790d41a
[Qt] Consider pixel ratio in View::getFramebufferSize()
2016-05-24 19:58:24 +03:00
John Firebaugh
eb03611943
[build] Make gyp commands more consistent
2016-05-24 09:55:13 -07:00
John Firebaugh
d378d1f823
[build] Avoid variable name coupling between main.mk and configure
2016-05-23 17:38:11 -07:00
John Firebaugh
f38f58f758
[build] Avoid variable name coupling between main.mk and configure.sh
2016-05-23 17:36:20 -07:00
John Firebaugh
9a7b7f6af3
[core] Update to geometry.hpp 0.5.0
2016-05-13 09:01:32 -07:00
Konstantin Käfer
cd65a43855
[core] move from microsecond precision timestamp to integer second precision
2016-05-13 17:24:22 +02:00
Bruno de Oliveira Abinader
c1dde52c73
[Qt] Fix map aspect ratio
...
Take QGuiApplication::devicePixelRatio() in consideration when resizing
the map.
Fixes #4889 .
2016-05-13 17:29:36 +03:00
Bruno de Oliveira Abinader
d36111abed
[Qt] Initialize GL extensions on MapWindow
...
QMapboxGL relies on its embedding widget to call for the GL extensions
initialization function.
Fixes #5024 .
2016-05-13 13:28:49 +03:00
Bruno de Oliveira Abinader
12258215af
[Qt] Update style to v9 + bumped min/max zoom levels
2016-05-11 16:25:51 +03:00
Bruno de Oliveira Abinader
ae7a0ddea4
[Qt] Added viewport mode
...
Qt Quick requires third-party rendering codes to follow its standards
with regards to viewport transform. Qt 5.6 adds a 'mirrorVertically'
property but that only solves the solution for that version of Qt
onwards. Telling Mapbox GL core to flip the Y axis makes QQuickMapboxGL
item available for Qt 5.2 onwards.
Qt 'mirrorVertically' property documentation:
http://doc.qt.io/qt-5/qquickframebufferobject.html#mirrorVertically-prop
Fixes #4866 .
2016-05-11 15:50:28 +03:00
Thiago Marcos P. Santos
e84b9a83fa
[Qt] Always use setCoordinateZoom()
...
Because at low zoom levels setting a new coordinate won't
correspond to the actual coordinate on the map.
2016-05-10 21:04:06 +03:00