Commit Graph

143 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
75ca6d9bdd [build] Workaround automoc issue on some cmake versions 2016-08-05 11:42:22 +02:00
Konstantin Käfer
95b6d48b71 [build] use cmake script bundled with Mason 2016-08-05 11:42:22 +02:00
Konstantin Käfer
e46b580c67 [build] unify naming of Makefile targets
`make foo` just builds
`make run-foo` builds and runs
2016-08-05 11:42:22 +02:00
Konstantin Käfer
a2e758b417 [build] make headless rendering work with Qt on macOS 2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
795d17dbdb [Qt] Use Qt decoder instead of nunicode 2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
c6313681d2 [build] Re-enable Qt bots 2016-08-05 11:42:22 +02:00
Konstantin Käfer
e82aeddb6f [build] add missing Qt5 files 2016-08-05 11:42:22 +02:00
Konstantin Käfer
8b625f4d1f [build] exclude CMake 3.6.0 due to an automoc naming bug 2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
821e58fdc1 [build] Build Qt with CMake 2016-08-05 11:42:22 +02:00
Konstantin Käfer
692fe1f3ff [build] switch to CMake
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Bruno de Oliveira Abinader
472ab7442f [qt] Added QQuickMapboxGL{Layout,Paint}StyleProperty 2016-07-29 19:14:41 +03:00
Vladimir Agafonkin
9ecc0d9597 GeoJSON point clustering (#5724)
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00
Bruno de Oliveira Abinader
6edaf2dc81 [qt] Implement QQuickMapboxGL color property 2016-07-27 16:24:11 +03:00
Bruno de Oliveira Abinader
26a9213f6e [build] Upgrade geojson-vt-cpp@6.1.2 2016-07-26 16:35:29 +03:00
Thiago Marcos P. Santos
65e2822f21 [Qt] Use Qt text codec instead of nunicode
Remove one extra dependency. Qt has some bugs on the text codec it
seems, but it is also important to keep the behavior aligned with
the client API.
2016-07-22 18:56:30 +03:00
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