Commit Graph

12762 Commits

Author SHA1 Message Date
Jason Wray
30ece0d623 [ios] Update changelog and podspecs for 4.2.0-alpha.1 2018-06-27 16:29:57 -04:00
Fabian Guerra
7892c39d49 [ios] Update changelogs and bump podspec. 2018-06-27 16:29:57 -04:00
Osana Babayan
0de0790d3e updated MAS version to 3.3.0 (#12236) 2018-06-27 15:57:30 -04:00
Randall Lee
16c4208a33 [ios] Update Events Library submodule to include china endpoint (#12233)
Brings in changes from mapbox/mapbox-gl-native#11860 and mapbox/mapbox-gl-native#11845
2018-06-27 14:43:55 -04:00
tobrun
abca28c66b [android] - range alpha between 0 and 1 with android color conversion 2018-06-27 19:11:48 +02:00
Bruno de Oliveira Abinader
192bee256b [build] GLFW version 2018-06-27-0be4f3f 2018-06-27 17:23:49 +03:00
Asheem Mamoowala
1067dd7ea2 [qt] Add QMapboxGL::getFilter() 2018-06-27 12:15:55 +03:00
John Firebaugh
37e71666d8 [node] Build and publish for node 6.x, 8.x, and 10.x
Note that we're still only testing the 6.x ABI (48).
2018-06-26 17:20:46 -07:00
John Firebaugh
ec05ee41d1 [node] Drop node 4.x support 2018-06-26 17:20:46 -07:00
John Firebaugh
3a1c7f3b99 [build] Exit with nonzero status if file does not exist 2018-06-26 15:02:47 -07:00
John Firebaugh
58a3a32ec2 [build] Update libmapbox-gl.so location 2018-06-26 15:02:47 -07:00
John Firebaugh
51abde1b56 [build] Remove unused 2018-06-26 15:02:47 -07:00
Konstantin Käfer
488b68c693 [node] add compatibility with node-pre-gyp binary publishing 2018-06-26 10:51:56 -07:00
tobrun
95fd7ee742 [android] - remove reflection lookup for MarkerViewAdapter intialisation 2018-06-26 15:39:24 +02:00
tobrun
50ff53ae3b [android] - fix geojson example, internal logic change with expressions conversion 2018-06-26 13:20:44 +02:00
John Firebaugh
d176e9bb46 [core] Fix issues in unique_any
* Eliminate unnecessary temporary in VTableStack::move, which also fixes calling the destructor on the incorrect instance
* Make move consistent: it destructs the src, not the dest, which is always empty
* delete doesn't need a null guard
* Conversions to void* don't need a cast
2018-06-25 13:14:52 -07:00
Jason Wray
f3341dd589 [core] Bump deployment versions to iOS 9, macOS 10.11 2018-06-25 14:58:46 -04:00
Zsolt Bölöny
bc6094eb55 [core] Fix GCC8's new -Wcatch-value warnings
Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead.
2018-06-25 10:07:04 -07:00
tobrun
279dd93f7c [android] - add support for sdf by exposing sdf confiigurationn when calling MapboxMap#addImage. 2018-06-25 13:44:15 +02:00
Molly Lloyd
e1af62e87d [core] add raster-resampling property (#12176)
* update style-code for raster-resampling

* implement user-defined raster-resampling

* invert filter condition

* raster-resampling -> raster-resampling-mode for darwin language conventions
2018-06-21 14:37:17 -07:00
Lloyd Sheng
eb70b89849 [core] Measuring tiles requesting/parsing time using logging (#12152)
* Tile timing

* Refactor logging code

* Keep the scope of `messageStream` constrained

* Make log message more clear

* Fix crash issue if onlineResponse.data is null
2018-06-21 11:24:14 +08:00
Julian Rex
2886aca3e2 [ios, macos] Updated change logs and podspecs for ios v4.1.0 and macOS 0.8.0 release (#12185) 2018-06-20 15:22:19 -04:00
Łukasz Paczos
36c3fb640d [android] - dispatch camera start callback only when actually moving 2018-06-20 16:14:38 +02:00
Konstantin Käfer
8d5b4db6f9 [android] make sure the object is still valid before calling nativeOnResponse() 2018-06-20 14:56:43 +02:00
Julian Rex
bdf2e1f5d4 [ios] Added check for -Wtautological-constant-compare prior to ignore. (#12177) 2018-06-19 22:55:45 -04:00
Jordan Kiley
673144786b [ios] updated predicates (#12178) 2018-06-19 16:53:10 -07:00
Molly Lloyd
325ad2f711 [core] port zero line-width fix from gl-js (#12175)
* port zero line-width fix from gl-js

* ignore transition test

* ignore feature-state tests
2018-06-19 13:46:12 -07:00
Konstantin Käfer
4c7842045a [android] initialize RunLoop::Impl::nextRunnable iterator 2018-06-19 16:23:59 +02:00
Jason Wray
b84a184d2d [ios, build] Completely remove support for Fabric (#12106) 2018-06-18 22:03:59 -04:00
Julian Rex
87143a355d [ios] Fix for integration tests not running on iOS 9. (#12145) 2018-06-18 14:24:14 -04:00
Łukasz Paczos
c3857a9db8 [android] - fix Android licenses formatting 2018-06-18 12:41:32 +02:00
Łukasz Paczos
0deb468646 [android] - telemetry bump to v3.1.3 2018-06-15 19:54:39 +02:00
Thiago Marcos P. Santos
a5ef72a051 Use a shared scheduler on threads without a default scheduler
Render threads won't have a scheduler, so we create one that is
shared by all the maps rendering at this thread. The bad side
effect of this is that we need to wake up the render thread
to process events.

Mapbox GL should get rid of processing events on the render
thread. This solution is a workaround.
2018-06-15 19:33:27 +03:00
Julian Rex
144c167274 [macos] Tweaked change log for PR #12123 (#12146) 2018-06-14 09:50:32 -04:00
Łukasz Paczos
2096908933 [android] - added Android licenses make target 2018-06-14 11:55:13 +02:00
Łukasz Paczos
3584ee40f4 [android] - changelog for 6.2.0-beta.2
(cherry picked from commit ffb30bb)
2018-06-14 11:34:22 +02:00
Minh Nguyễn
ee790818d8 [ios, macos] Look more widely for IBDesignablesAgent
The IBDesignablesAgent helper process has been renamed for each platform as of Xcode 10, so cast a wider net when trying to detect it.
2018-06-13 11:49:21 -07:00
Thiago Marcos P. Santos
caecdc8482 [core] Use a getter for the BackendScope static variable
Fix a static variable initialization issue when dynamic loading
Mapbox GL Native.
2018-06-13 17:13:13 +03:00
Antonio Zugaldia
a8e7963168 [android] Remove support for Fabric (#12126)
* [android] remove fabric properties file
* [android] fabric.properties no longer present
* [android] fabric step in release.py no longer necessary
2018-06-12 14:36:23 -04:00
tobrun
aa16b90e2b [android] - move match stops conversion to Stop.toExpressionArray 2018-06-12 18:08:58 +02:00
Konstantin Käfer
0ecdbebb09 [core] consolidate database opening workflow
Before this change, we've tried to open the database in read/write, but not create mode. In situations where the database didn't exist yet, this logged an error to the console, and we proceeded to opening it again in read/write/create mode, which actually created the file. The reason we did this is so that we could detect really old caching databases from January 2016 in case a developer upgraded from an older SDK (iOS v3.1 and earlier, Android v3.2 and earlier) that didn't have https://github.com/mapbox/mapbox-gl-native/pull/3715 yet.

However, these error messages, while innocent, look scary in the console and some users suspect that it's a bug. This change opens the file directly in read/write/create mode, omitting the first failed attempt. To handle old cache databases, we're now deleting the `http_cache` table, which was the only table in those old databases, and create the new schema, rather than deleting the entire file and recreating the Database object. In most scenarios, this will lead to one fewer opening attempt, while the database migration will continue to work for the few users who upgrade all the way from a January 2016 SDK.

Additionally, this fixes a mismatch between the Qt and non-Qt implementation: Qt doesn't support opening a file in read/write mode without the create flag. This means that we've seen a different control flow on Qt compared to the non-Qt implementation when opening a database.
2018-06-12 17:41:16 +02:00
Konstantin Käfer
79394ee47d [core] remove unused flags from SQLite header 2018-06-12 17:41:16 +02:00
Konstantin Käfer
4477dd4119 [core] support moving Database object during a Transaction 2018-06-12 17:41:16 +02:00
Konstantin Käfer
a50493ea51 [test] verify log messages of OfflineDatabase tests 2018-06-12 17:41:16 +02:00
Konstantin Käfer
1a0f8e652f [core] send all SQLite log messages to the Info bucket and add error codes 2018-06-12 17:41:16 +02:00
Konstantin Käfer
2b2de05612 [core] allow logging error codes and formatting strings at the same time 2018-06-12 17:41:16 +02:00
Konstantin Käfer
bed86b98f1 [test] add partial message matching support to FixtureLog 2018-06-12 17:41:16 +02:00
Konstantin Käfer
1fbf3f2d48 [test] standardize on database file name and move I/O functions to util 2018-06-12 17:41:16 +02:00
Konstantin Käfer
31953c4c83 [test] pull out using namespace mbgl to reduce verbosity 2018-06-12 17:41:16 +02:00
Bruno de Oliveira Abinader
ae61b9d35f [Qt] Add QMapboxGL::layerIds() 2018-06-12 16:32:47 +03:00