Commit Graph

11072 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
4954da23e7 [core] No need for default ctor in {Update,Tile}Parameters 2017-07-19 19:24:30 +03:00
Bruno de Oliveira Abinader
6c12de8d12 [core] std::vector can be bracket-initialized 2017-07-19 19:24:30 +03:00
Bruno de Oliveira Abinader
5d4ed27068 [core] Bracket init works for optional<T> in GCC 4.9 2017-07-19 19:24:30 +03:00
Bruno de Oliveira Abinader
15c5bf359a [build] Downgrade GCC support from 5.0 to 4.9 2017-07-19 19:24:30 +03:00
Bruno de Oliveira Abinader
65ee065d45 [build] Separate CODE-OF-CONDUCT.md to its own file 2017-07-19 19:24:30 +03:00
Thiago Marcos P. Santos
7e8fe05af0 [Qt] Avoid using brace-list init ctor in QMapboxGL 2017-07-19 16:44:30 +03:00
Tobrun
68324913d7 [android] - rewrite map object intialisation (#9462) 2017-07-19 14:17:06 +02:00
Łukasz Paczos
da581cc485 [android] - trying to update non-existent polyline fix #9543 (#9544) 2017-07-19 14:16:25 +02:00
Thiago Marcos P. Santos
a3244421a5 [Qt] Rename files with same name
QMake is having some issues with files with same names when
building the Qt Location plugin.
2017-07-19 14:39:39 +03:00
Jason Wray
05df451f3c [build] Add ccache install reminder and docs (#9520) 2017-07-18 12:36:22 -04:00
Thiago Marcos P. Santos
964287e5a4 [Qt] Destroy the map object before the renderer frontend
The Map object will call the renderer frontend on its destructor.

Fixes #9535.
2017-07-18 17:53:08 +03:00
Tobrun
8deab57e17 [android] - add OnPolygonClickListener and OnPolylineClickListener (#9443) 2017-07-18 15:34:55 +02:00
Tobrun
aca2e7984f [android] - bump OkHttp dependency to avoid null pointer exceptions on Android 7.0 (#9522) 2017-07-18 15:34:36 +02:00
Tobrun
13db36f02c [android] - fine tune fling gesture (#9532) 2017-07-18 12:32:40 +02:00
Konstantin Käfer
f7b0661104 [build] do not run clang-tidy on master 2017-07-18 11:54:39 +02:00
Konstantin Käfer
698542cf45 [build] make Xcode use the correct compiler when it is installed in a non-standard location 2017-07-18 11:54:14 +02:00
Ivo van Dongen
b5c0bf1b8d [android] remove manual ref counting on activation/deactivation 2017-07-18 10:45:12 +02:00
Ivo van Dongen
9ebf727f56 [core] BackendScope prevent double (de-)activation
- Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones
- Makes sure that only the most outer backend scope deactivates by tracking activation state
2017-07-18 10:45:12 +02:00
Ivo van Dongen
a5a0558bde [test] allow only a single shared display to avoid egl errors 2017-07-18 10:45:12 +02:00
Ivo van Dongen
815ffb253b [android][glfw][ios][macos][node][qt] rename backend to renderer backend 2017-07-18 10:45:12 +02:00
Ivo van Dongen
46c43510d7 [core] rename backend to renderer backend 2017-07-18 10:45:12 +02:00
Ivo van Dongen
ee205ca9ca [qt] rendering interface changes 2017-07-18 10:45:12 +02:00
Ivo van Dongen
2e9fb06941 [benchmark] rendering interface changes 2017-07-18 10:45:12 +02:00
Ivo van Dongen
8401325a82 [glfw] rendering interface changes 2017-07-18 10:45:12 +02:00
Ivo van Dongen
d68d8a7846 [android] rendering interface changes 2017-07-18 10:45:12 +02:00
Ivo van Dongen
b6d56ad634 [ios][macos] rendering interface changes 2017-07-18 10:45:12 +02:00
Ivo van Dongen
b97cc980e0 [node] rendering interface changes 2017-07-18 10:45:12 +02:00
Ivo van Dongen
3832f8d0d8 [core] renderer interface 2017-07-18 10:45:12 +02:00
Ivo van Dongen
39a732d7ae [android][glfw][ios][macos][node][qt] split backend from mapobserver 2017-07-18 10:45:12 +02:00
Ivo van Dongen
57351c068b [core] split backend from mapobserver 2017-07-18 10:45:12 +02:00
Ivo van Dongen
e35cbbae55 [core] mutate style on annotation mutations immediately 2017-07-18 10:45:12 +02:00
Asheem Mamoowala
8ae7010546 [core][ios][android][macos] Use premultiplied image directly for RasterTile and ImageSource, un-premultiply in the shader for blending 2017-07-17 12:20:03 -07:00
Asheem Mamoowala
1d15ed64dc [core] Use shared pointer to manage Image source raster data and speed up change detection 2017-07-17 12:20:03 -07:00
Asheem Mamoowala
b69f8338bb [macos] Use [NSImage CGImageForProposedRect:context:hints:] instead of drawing into a bitmap representation 2017-07-17 12:20:03 -07:00
Thiago Marcos P. Santos
544d875445 [tests] Add test to enforce database not found behavior
Make sure all the implementations, currently Qt and Default, throw
an exception with error code CANTOPEN when opening a database that
doesn't exist without the CREATE flag.
2017-07-17 16:47:29 +03:00
Thiago Marcos P. Santos
d9ad09ca36 [Qt] Align database creation behavior with the default implementation
Qt doesn't throw a Exception::Code::CANTOPEN when trying to open
a database that doesn't exist without the Create flag.
2017-07-17 16:47:29 +03:00
Konstantin Käfer
fdfd5f91f5 [core] abort early when the dimension is 0 2017-07-17 15:02:47 +02:00
Konstantin Käfer
6b954677c0 [core] fix undefined behavior for division through 0 2017-07-17 15:02:47 +02:00
Bruno de Oliveira Abinader
fef873f68f [build] Fix node package publish logic 2017-07-17 13:43:33 +03:00
Tobrun
00dbd033a2 [android] - feature - location accuracy indicator threshold (#9472) 2017-07-17 09:13:21 +02:00
Tobrun
3c6a6c53b4 [android] - rewire gesture handling and telemetry event push (#9494) 2017-07-17 09:12:19 +02:00
Bruno de Oliveira Abinader
a019f26d99 [node] Bump version to 3.5.5 2017-07-14 15:28:36 +03:00
Bruno de Oliveira Abinader
460643b213 [build] Publish node packages with RelWithDebInfo 2017-07-14 15:28:36 +03:00
Thiago Marcos P. Santos
48ddfef89f [core] Make sure ThreadLocal will not own the pointer it is managing
ThreadLocal should not own the pointer it is managing because
the use case in Mapbox GL is to keep a pointer to a stack allocated
object, like:

```
MyObject foo;
threadLocal.set(&foo);
```

To keep consistency, it is required that we clear the managed
object before ThreadLocal gets destroyed by setting it to `nullptr`.
2017-07-14 15:18:54 +03:00
Chris Loer
3b26177e9d [test] Fix undefined behavior warning:
quads.test.cpp used a bin with unsupported x/y coordinates.
Issue #9499.
2017-07-14 09:45:06 +02:00
Konstantin Käfer
04fba1e01f [core] add unused default template parameter to keep Xcode 9's Clang from crashing 2017-07-13 18:46:39 +02:00
Konstantin Käfer
13d6920661 [core] fix division by zero when defaultFadeDuration is 0 2017-07-13 17:57:36 +02:00
Konstantin Käfer
86682f2507 [core] fix undefined access for HTTP responses that don't contain a body 2017-07-13 17:54:18 +02:00
Konstantin Käfer
06e202441e [build] upload cache on Circle CI before running tests 2017-07-13 17:29:09 +02:00
Konstantin Käfer
6ca7b28e60 [build] add ccache + Circle CI caching 2017-07-13 15:11:12 +02:00