Commit Graph

10348 Commits

Author SHA1 Message Date
John Firebaugh
a261f7ff53 [android] Preflight argument validity before constructing LatLng 2017-04-06 09:22:51 -07:00
John Firebaugh
e6122d9bf0 [darwin] Preflight argument validity before constructing mbgl::LatLng 2017-04-06 09:22:51 -07:00
John Firebaugh
391a10db0e [darwin] Use MGLLatLngFromLocationCoordinate2D where appropriate 2017-04-06 09:22:51 -07:00
John Firebaugh
0314a46ee4 [core] Tighten LatLng and other geo.hpp classes
* Remove LatLng::null and enforce invariants
* Remove unnecessary operator bool()
2017-04-06 09:22:51 -07:00
John Firebaugh
56ea87357a [darwin] Fix invalid coordinates in MGLShapeSource tests 2017-04-06 09:22:51 -07:00
Bruno de Oliveira Abinader
d7c431f942 [Qt] Fix typo in gl.hpp 2017-04-06 15:14:10 +03:00
Konstantin Käfer
6fcac0f580 [core] always create a pixelbuffer surface in the EGL backend
We need a surface to activate a context. Some implementation don't seem to error when passing EGL_NO_SURFACE, but it doesn't seem standards compliant.
2017-04-05 23:05:46 +02:00
Konstantin Käfer
7c69cfa6de [core] destroy surface before context in EGL backend 2017-04-05 23:05:46 +02:00
Konstantin Käfer
038062af86 [core] destroy HeadlessDisplay after HeadlessBackend implementation 2017-04-05 23:05:46 +02:00
Tobrun
b404457a74 [android] - apply mix/max zoom xml attributes (#8631) 2017-04-05 16:20:11 +02:00
Chris Loer
ad2948927f Slightly move center of text-font/chinese test to avoid render errors
presumed to stem from issue #6863.
2017-04-04 11:33:12 -07:00
Chris Loer
5cdf838a38 [core] De-mutex GlyphAtlas and SpriteAtlas
- Expose glyph and icon information to workers via message interface.
 - Glyph/SpriteAtlas track which tiles have outstanding requests
    and send messages to them when glyphs/icons become available.
 - Remove obsolete "updateSymbolDependentTiles" pathway
 - Symbol preparation for a tile now depends on all glyphs becoming
    available before it can start.
 - Start tracking individual icons needed for a tile, although we don't
    do anything with the information yet.
 - Introduce typedef for GlyphID
2017-04-04 11:33:12 -07:00
Konstantin Käfer
64beba3acc [core] fix equality operator on Color 2017-04-04 18:31:11 +03:00
Ivo van Dongen
1d1ea2fa24 [core] fixup stale constants references in test fixtures 2017-04-04 18:31:11 +03:00
Ivo van Dongen
705caf0f26 [core] return empty optional when color could not be parsed 2017-04-04 18:31:11 +03:00
Eimantas Vaiciunas
4a4b6a8af3 Show zoom level in window's title bar 2017-04-03 21:44:14 -07:00
Anand Thakker
b5b4549b6d Fix edge case in composite function interpolation (#8613)
This fixes a bug where, for a zoom value greater than that of the highest zoom
stop, composite function interpolation would return nan. (Blocking a render
test over in #8593)

* Add failing tests for composite function edge case

The failing cases here are:
 - Should interpolate before the first stop
 - Should interpolate past the last stop

* Fix edge case in composite function interpolation

* Hold functions constant outside stop-defined domain
2017-04-03 12:25:36 -04:00
John Firebaugh
d092841b19 [core] Add another explanatory comment to PaintPropertyBinder 2017-04-03 09:12:46 -07:00
John Firebaugh
da35f64f09 [core] Remove unused ThreadLocal constructor 2017-04-03 14:27:41 +03:00
Konstantin Käfer
74ff435462 [build] Add Android Release build on Circle CI 2017-04-03 10:54:47 +02:00
Konstantin Käfer
b2570b909b [android] Fix implicit geometry conversions for NDK r13b 2017-04-03 10:54:47 +02:00
Thiago Marcos P. Santos
939864cb90 [core] Do not throw on dtors
Fix build on GCC6 + Ubuntu 16.04.
2017-04-01 12:57:06 +03:00
John Firebaugh
1a9bccbb85 [core] Add DDS support for icon-image 2017-03-31 14:17:33 -07:00
John Firebaugh
743d954053 [core] Add DDS support for text-rotate 2017-03-31 13:26:27 -07:00
John Firebaugh
c4f9582bfa [core] Pass fully-evaluated layout properties to SymbolInstance and quad methods 2017-03-31 13:26:27 -07:00
John Firebaugh
d7a55a4be1 [core] Introduce a fully-evaluated tuple type for layout properties 2017-03-31 13:26:27 -07:00
Tobrun
939526bac4 [android] - transition options for layer properties (#8509)
[android] fixup highlevel bindings for transition options

finish integration
2017-03-31 17:51:26 +02:00
Tobrun
05992c47ac [android] - update getting started and distribution docs (#8412)
* [android] - update project documentation

* add linux instructions
2017-03-31 15:11:20 +02:00
Bruno de Oliveira Abinader
83d22a5bd4 [core] Value stored to 'format' is never read in Context::drawPixels
Captured via clang-analyzer-deadcode.DeadStores.
2017-03-31 15:51:40 +03:00
Tobrun
f0b683237d [android] - disable requiring supported languages for test applications (#8597) 2017-03-31 13:48:27 +02:00
Pablo Guardiola
1a0dc66486 update test documentation adding how to run firebase tests within android studio (#8566) 2017-03-30 23:23:44 +02:00
Minh Nguyễn
003caddbc0 [ios] Localized map view proxy accessibility hint 2017-03-30 11:47:09 -07:00
Tobrun
6c92199a16 [android] - Transifex intregration and Dutch translations. (#8556)
add Catalan translations
2017-03-30 17:00:23 +02:00
Ivo van Dongen
61e2695190 [android] resource transform callback example 2017-03-30 15:27:05 +03:00
Ivo van Dongen
2bfbe90765 [android] allow resetting of resource transform callback 2017-03-30 15:27:05 +03:00
Ivo van Dongen
8aa625bf96 [android] execute resource transform callback on the right thread 2017-03-30 15:27:05 +03:00
Tobrun
a827799174 [android] - fixup location permissions in test app pre Android Marshmallow (#8559) 2017-03-30 13:31:04 +02:00
Tobrun
74bf366666 [android] - Update CircleLayerActivity with style switching. (#8274) 2017-03-30 13:30:43 +02:00
Tobrun
a4959131b2 [android] - transition options in milliseconds, added test cases, fixup test activity code (#8576) 2017-03-30 13:25:56 +02:00
Tobrun
152b48fd92 [android] - consitent use of ms unit for time in java code, unit conversion always happens in cpp code (#8578) 2017-03-30 13:25:42 +02:00
Lucas Wojciechowski
93706c65a5 [❤️] Create .topissuesrc (#8568)
* Create .topissuesrc

* Update .topissuesrc
2017-03-30 03:44:56 -07:00
John Firebaugh
1616140a95 RIP, @mention-bot 2017-03-29 09:37:59 -07:00
Konstantin Käfer
a9896fa01b [build] generate .xcconfig files with configure_file
We previously used incremental `file(WRITE ...)` commands that gradually recreated the file on every CMake invocation. This sometimes lead to Xcode parsing a partially written file, which in turn breaks building dependend targets. Instead, we're now using a templated configuration file, which ensure that the file is created in one go and hopefully reduces the race condition between CMake and Xcode's automatic project updating.
2017-03-28 21:24:12 +02:00
Konstantin Käfer
c86b492bf7 [build] don't advertise headers that aren't used in public headers 2017-03-28 21:24:12 +02:00
Ivo van Dongen
b3ffeceb9e [core] check null data in query source features 2017-03-28 21:31:35 +03:00
Molly Lloyd
47c1e42ac1 [core] implement dds for text-offset 2017-03-28 11:06:58 -07:00
John Firebaugh
5f40297526 [core] Update mapbox-gl-js submodule
Includes lowp ⇢ highp fix for shader color attributes / uniforms.
2017-03-28 11:06:58 -07:00
Molly Lloyd
e9cc666390 [node] fix node bindings 🐛 2017-03-28 11:06:58 -07:00
Ivo van Dongen
6fa578aa4e [android] geojson source - add conversion tests 2017-03-28 15:44:22 +03:00
Ivo van Dongen
02fd38ccbc [android] add option to set geometry and feature on geojson source 2017-03-28 15:44:22 +03:00