Commit Graph

102 Commits

Author SHA1 Message Date
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
Thiago Marcos P. Santos
6a9a8e2008 [build] Fix broken build on OSX 2016-05-10 14:41:04 +03:00
Thiago Marcos P. Santos
4213dc53dc [Qt] Use C++11 ABI packages
These were causing linking errors on more recent Linux distros.

Fixes #3123.
2016-05-10 11:36:56 +03:00
Bruno de Oliveira Abinader
c4b3c0142c [Qt] Added Qt SDK documentation
Fixes #4970.

[skip ci]
2016-05-08 14:12:28 +03:00
John Firebaugh
771e79a769 [core] Update geometry to 0.3.0 2016-05-06 11:59:29 -07:00
John Firebaugh
9330d674a9 [core] Use geometry.hpp's point 2016-05-05 11:30:53 -07:00
Thiago Marcos P. Santos
a818917714 [Qt] Make it possible to disable libwebp and libjpeg-turbo at build time
Pull less dependencies.
2016-05-05 18:47:14 +03:00
Thiago Marcos P. Santos
bdf4f81553 [Qt] Include what you use
Build fix for some Qt versions.
2016-05-04 22:01:09 +03:00
John Firebaugh
c8391729c7 [core] Use geometry.hpp feature type 2016-05-03 17:25:49 -07:00
Dane Springmeyer
c82b02c508 [core] port to protozero (#4906) 2016-05-03 13:57:17 -07:00
Bruno de Oliveira Abinader
78584b7fed [Qt] Removed unused resource 2016-05-03 17:11:47 +03:00
Thiago Marcos P. Santos
ee75d18473 [Qt] Add new features to the Qt QML app
Cool features like Flipable, satellite maps and
sliders interacting with the map properties.
2016-05-03 14:35:00 +03:00
Thiago Marcos P. Santos
96a2c93609 [Qt] Use mbgl constants to define zoom limits 2016-05-03 14:35:00 +03:00
Thiago Marcos P. Santos
a60f401e5a [Qt] Add pitch property to QML MapboxGL Type 2016-05-03 14:34:59 +03:00
Thiago Marcos P. Santos
7aa0a88c64 [Qt] Fix panning the map not updating the center property 2016-05-03 13:51:52 +03:00
John Firebaugh
7800445c85 [core] Use gyp's direct_dependent_settings to propagate variant cflags 2016-05-02 13:12:24 -07:00
Thiago Marcos P. Santos
41f63db98b [Qt] Implement bearing on the QML Mapbox Map type 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
91cdcbebf4 [Qt] Implement pan() method 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
d3f08f1442 [Qt] Constrain zoom levels when min/max changes 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
da653ec537 [Qt] Allow setting the style via QML 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
c8d6540bc1 [Qt] Added plugin stub 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
1ac75a718d [Qt] Added error handling stubs 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
daf33180fd [Qt] Add QtLocation to the buildsystem
Needed by the next patch.
2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
133f71dd01 [Qt] Add more properties stubs 2016-05-02 19:33:54 +03:00
Thiago Marcos P. Santos
a02686447a [Qt] Set the test application icon
The super cool Mapbox logo.
2016-05-02 16:06:41 +03:00
John Firebaugh
c1ad321485 [linux] Build with GCC 5 (#4901)
* [linux] Build with GCC 5

* [build] -fabi-version=0 is the default for GCC 5
2016-04-29 09:57:21 -07:00
John Firebaugh
10528091db [core] Upgrade to boost 1.60.0 (#4899) 2016-04-28 15:21:50 -07:00