Bruno de Oliveira Abinader
f03afdee21
[core] Use overscaledZ for scale in collision box shader
2016-10-31 16:53:07 +02:00
Tobrun
ccc3964270
Android Nougat compatibility: onstart/onstop on MapView ( #6830 )
...
* introduce onstart/onstop on MapView
* update wear module
* update fragments
* update changeling
2016-10-31 13:17:56 +01:00
Tobrun
38ee3408c2
[android] - prevent null pointer when receiving connectivity change events while destroying the underlying map ( #6858 )
2016-10-31 10:59:18 +01:00
John Firebaugh
39d5cb3250
[core] Use VAOs internally
2016-10-28 17:14:07 -07:00
John Firebaugh
0e57d10d77
[core] Modern C++ bindings for OpenGL
2016-10-28 17:14:01 -07:00
John Firebaugh
a4c82b8a3b
[core] operator bool() must always be explicit
...
Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==.
2016-10-28 17:10:45 -07:00
John Firebaugh
ee3235708f
[core] Methods don't need to be Painter instance methods
2016-10-28 17:09:51 -07:00
Bruno de Oliveira Abinader
fa96612888
[Qt] Fix viewport size for Linux on Qt5
2016-10-28 14:36:07 +03:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
ef8017198c
[core] remove tiles for disabled sources
...
When no layer of a source is visible anymore, we are now evicting tiles that are still stored in that source and move them to the cache.
2016-10-27 18:14:53 -07:00
Konstantin Käfer
91272992f3
[core] don't load tiles from sources that aren't used
2016-10-27 16:15:36 -07:00
Tobrun
e7bfa7849e
[android] - Update to Android Studio 2.2.2 with tools/dependencies ( #6390 )
...
* [android] - update android gradle tools, update test app version number, update target sdk to nougat, update support lib versions to latest
* new tools generated an aligned test apk, breaks CI integration
* update to Nougat release 7.1, update related tooling, update version code test app to 5.0.0.
* update wear module
* update gradle.properties
2016-10-26 16:09:51 +02:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Cameron Mace
45f4dc0166
removed brew cask install android studio instruction ( #6723 )
...
* removed brew cask install android studio instruction
* link to download JDK
* made fixes to instruction
2016-10-25 16:44:03 -04:00
Tobrun
3457eb1144
[android] - MarkerView is responsible for managing height and width of a Marker (opposed to the recycled view). ( #6809 )
2016-10-25 17:36:26 +02:00
Ivo van Dongen
b14e83ea40
[core] geojson source - cancel any pending request when setting geojson explicitly
2016-10-25 16:11:36 +02:00
Ivo van Dongen
6277dca898
[core] geojson source - clear cache when json content is set
2016-10-25 16:11:36 +02:00
Tobrun
b0485bccd9
[android] - remove timer from compassView, make fading when facing north optional. ( #6786 )
...
save state for recreating map view
fix review comments
unit test covering default value for fading and setting a new value
fixup setter, fix default value
2016-10-25 15:53:16 +02:00
Tobrun
94b1a53f06
[android] - move marker view click handling to core ( #5639 )
2016-10-25 15:11:49 +02:00
Ivo van Dongen
068e78a2e7
[core] geojson source - reset req on setURL
2016-10-25 12:47:35 +02:00
Ivo van Dongen
31a7925205
[android] fix exception class
2016-10-25 12:41:28 +02:00
Bruno de Oliveira Abinader
fb9fbef6dd
[test] Update mapbox-gl-test-suite hash
...
Now testing 'query-tests/symbol-features-in/pitched-screen'.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
72df1658fa
[glfw] Added queryPointAnnotations shortcut
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
e55065e62a
[core] Reuse last placement data in CollisionTile::queryRenderedFeatures
...
To obtain precise results, we:
1. Round scale value to obtain same results from symbol shader.
2. Generate a boost geometry polygon to check if it intersects()
against all feature boxes.
3. Check if current scale is within each feature's minimum and maximum
placement scales.
4. De-scale feature boxes when intersecting to account for the
fractional zoom scaling.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
fc6344c546
[core] Added util::polygonIntersectsPolygon
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
679bfbfb32
[core] Simplify CollisionTile::findPlacementScale
...
Improve findPlacementScale semantics by moving the check if the
placement scale result is bigger than minimum scale out of the function
scope.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
846e57de58
[core] Avoid duplicating edges for CollisionTile
...
Make 'edges' static to avoid every instance of CollisionTile having its
own copy of it.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
8743f11345
[core] Cleanup function signatures in CollisionTile
...
- Prefer pass-by-value for primitive types.
- Use floating point precision for yStretch to match receiving type.
2016-10-25 08:12:31 +03:00
Tobrun
ed1ceecc09
[android] - only pin certificates on current used environement. ( #6766 )
...
update certificates sha256 for certificate pinning.
2016-10-24 22:38:10 +02:00
Bruno de Oliveira Abinader
89ba2f2151
[build] Set C++14 as default standard for CMake
2016-10-24 21:38:12 +03:00
Bruno de Oliveira Abinader
cff5360280
[qt] Fix macOS Qt demo app with Qt4.x
2016-10-24 21:38:12 +03:00
Tobrun
bc4cf3220c
[android] - cap width/height at maximum, don't throw exception. ( #6788 )
2016-10-24 10:34:40 +02:00
Mike Morris
eb1b385e50
[node] publish Bitrise tag builds
2016-10-22 00:35:26 -04:00
Tobrun
8633c34d01
Android Bitrise cleanup ( #6782 )
...
* [android] - update bitrise.yml, always use latest deploy step
cleanup bitrise.yml
formatting, separate download step -> if tests fail, build fails
improve shown console messages, correct package for firebase filter
update steps
add slack integration for all workflows
* fixup SKIPCI check
2016-10-21 22:24:52 +02:00
Tobrun
7a4cd67aa8
[android] - remove jni method logging, only keep lifecycle related logs ( #6787 )
2016-10-21 22:23:16 +02:00
Ivo van Dongen
e31a2c1c11
[core] fixup formatting
2016-10-21 10:05:00 -07:00
Cameron Mace
da9864f25d
Made telemetry dialog material ( #6726 )
...
* Made telemetry dialog material
* cleaned up attribution_main_menu
2016-10-21 10:29:12 -04:00
Mike Morris
7bbd49c72c
[core] extract weak_ptr mailbox->receive into Mailbox::maybeReceive
2016-10-20 14:39:11 -04:00
Mike Morris
a894870fb8
[node] remove internal NodeRequest class from public API
2016-10-20 14:38:36 -04:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Ivo van Dongen
ab85fdb452
[glfw] add map change callback methods to glfw_view
2016-10-20 17:02:40 +03:00
Tobrun
04a9a98b98
[android] - add realtime geojson example from gl-js ( #6751 )
2016-10-20 15:45:57 +02:00
Ivo van Dongen
ab63a9494f
[core] reload geojson source on url change
2016-10-20 16:18:08 +03:00
Ivo van Dongen
5527887c4b
[android] geojson source - remove explicit repaint requests
2016-10-20 11:41:24 +03:00
Tobrun
6d50435880
[android] - Configure Gradle properties as part of the instalation process. ( #6729 )
2016-10-20 10:21:15 +02:00
Tobrun
9a7139b65c
[android] - move instrumentation test code to correct package for Android Studio run configurations integration. ( #6748 )
2016-10-20 10:20:56 +02:00
Tobrun
76f91cc88d
[android] - configures AWS Device farm plugin from testapp. ( #6750 )
2016-10-20 10:20:26 +02:00
Cameron Mace
61a534241f
Adds map dialog activity to testapp ( #6741 )
...
* adds map dialog activity to testapp
* added to genertate-test-code script
2016-10-19 12:06:16 -04:00
Bruno de Oliveira Abinader
c50577d039
[core] Fix SymbolAnnotation coordinate system conversions
2016-10-19 08:11:41 +03:00