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
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
Konstantin Käfer
07315711d6
[core] remove Raster object in favor of a more low-level Texture object
2016-10-04 14:00:30 -07:00
Sam Matthews
280fd8c28e
[core] Preserve non-access_token query parameters in canonicalizeTileURL
2016-10-03 10:08:17 -07:00
Konstantin Käfer
3f3fc7b772
[test] add .test.cpp suffix to test case files
2016-09-28 16:34:22 +02:00
Konstantin Käfer
44c7e9d05e
[core] merge gl::ObjectStore into gl::Context
2016-09-27 11:03:29 -07:00
Konstantin Käfer
ce42d22984
[core] rename gl::Config to gl::Context
2016-09-27 11:03:29 -07:00
Konstantin Käfer
21386b3146
[core] move GL value accessors to gl::value namespace
2016-09-27 11:03:29 -07:00
Konstantin Käfer
c88ce2d51e
[core] add ability to render to offscreen textures
2016-09-27 10:42:10 +02:00
Thiago Marcos P. Santos
34e783ed9c
[tests] Remove memory fragmentation test ( #6226 )
...
It is not reliable.
2016-09-20 14:47:08 +03:00
Jake Pruitt
d169ea55c1
Keep query strings in source URLs ( #6182 )
...
Carries over any query strings from mapbox://-prefixed styles urls,
source urls and tile urls to the api.mapbox.com requests.
2016-09-16 14:11:16 -07:00
John Firebaugh
32fac7cbe4
[core] Use optional to represent possible absence, not empty strings
2016-09-16 09:00:55 -07:00
John Firebaugh
1f375581c3
[core] Move {clip,merge}_lines to layout directory
2016-09-16 09:00:54 -07:00
Tobrun
9ef65440b6
[core] [android] - public api configurable base endpoint ( #6309 )
...
add runloop to test
2016-09-15 22:01:09 -07:00
Ivo van Dongen
290bd07a92
[core] OnlineFileSource - rate limit
2016-09-13 14:21:37 +02:00
John Firebaugh
030234c7a6
[core] Rework invokeWithCallback so that the callback is last
2016-09-08 16:36:47 -07:00
John Firebaugh
646528bc53
[core] Simplify Thread::invokeSync ( #6128 )
2016-08-24 09:36:11 -07:00
Thiago Marcos P. Santos
65e2822f21
[Qt] Use Qt text codec instead of nunicode
...
Remove one extra dependency. Qt has some bugs on the text codec it
seems, but it is also important to keep the behavior aligned with
the client API.
2016-07-22 18:56:30 +03:00
Thiago Marcos P. Santos
0f367c93d0
[tests] Added a PT string on text conversions tests
2016-07-22 16:59:01 +03:00
Brad Leege
1972d932d5
Merge branch 'release-android-v4.1.1'
...
# Conflicts:
# platform/android/MapboxGLAndroidSDK/gradle.properties
# test/util/mapbox.cpp
2016-07-19 16:32:45 -05:00
Konstantin Käfer
6e830725de
[android] #5725 - Cherry picking 559f3a654b
2016-07-19 13:31:11 -05:00
Konstantin Käfer
559f3a654b
[core] add check for missing sprite URL file extension
2016-07-19 16:01:24 +02:00
Thiago Marcos P. Santos
2425cf4ef8
Revert "[android] Do not create Timers on Default main loops"
...
This reverts commit 13cd75f099 .
2016-07-06 17:43:09 +03:00
Thiago Marcos P. Santos
13cd75f099
[android] Do not create Timers on Default main loops
...
Not supported, because we don't have control over the Looper
timeout like we do for Loopers we create. On the main thread,
Android takes care of making the application sleep and sets
an arbitrary timeout. This could be properly fixed by implementing
timers in Java, but we don't really have the use case of timers
in the main thread.
2016-07-05 21:04:27 +03:00
jingsam
e82ecc60ac
mapbox: URL containing query string causes infinite loop ( #5554 )
...
* correct all EXPECT_EQ(actual, expected) to EXPECT_EQ(expected, actual)
* fix getMapboxURLPathname() of URL with querystring
* add test for normalizeSourceURL of non-mapbox protocal
* Update mapbox.cpp
2016-07-04 00:26:28 -07:00
Thiago Marcos P. Santos
ddc6bc330f
[tests] Add memory tests
...
Simple tests that will render a raster and a vector map and
hopefully the valgrind bot will detect something wrong if any.
The other test will look for application lifetime leaks that cannot
be detected with valgrind. It can also detect GL leaks if they are
very expressive. A threshold is needed because of memory will grow
anyway due to fragmentation.
2016-06-21 19:12:32 +02:00
Bruno de Oliveira Abinader
6e22de8cce
[tidy] Check modernize-use-auto
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
2016-06-13 23:32:06 +03:00
Konstantin Käfer
2bdecdf9f9
[core] fix pedantic warning messages
2016-06-13 11:16:19 +02:00
Bruno de Oliveira Abinader
9b6c2e6940
[test] Added Projection tests
2016-06-13 10:11:20 +03:00
Konstantin Käfer
aa88ca4757
[core] remove unused code
2016-06-07 13:55:35 +02:00
Konstantin Käfer
c5fc7f1980
[core] use rapidjson's dtoa implementation to stringify floating point numbers
2016-05-18 12:26:51 +02:00
Konstantin Käfer
002393bdea
[core] remove MockView and View dependency in Transform
2016-05-18 12:07:21 +02:00
Bruno de Oliveira Abinader
c13dd32242
[core] Added Viewport mode
...
Satisfies embedding platforms that requires the viewport coordinate
systems to be set according to its standards e.g. viewport mirrored
vertically.
2016-05-11 15:48:51 +03:00
Konstantin Käfer
7332ae0073
[core] retain tiles differently and remove old TileID class
2016-05-10 14:50:56 +02:00
Konstantin Käfer
ec70125e41
[core] move TileData and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
Konstantin Käfer
dde59eaf76
[core] move Painter and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
John Firebaugh
ce2a06e677
[core] Privatize math.hpp and vec.hpp
2016-05-05 11:16:57 -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
Ansis Brammanis
61d14089e0
[core] implement queryRenderedFeatures
2016-04-29 12:00:24 -07:00
John Firebaugh
6e78eabfff
[core] Clean up ThreadContext vestiges
2016-04-15 09:56:18 -07:00
Konstantin Käfer
618b9f1dbf
[darwin] use CFRunLoopSourceInvalidate() to also cancel any pending AsyncTask invocations
2016-04-12 12:46:59 -07:00
John Firebaugh
1209ae4213
[test] This "very unlikely" condition in fact happens regularly in CI ( #4679 )
2016-04-11 16:31:56 -07:00
John Firebaugh
169755e89a
[core] Unify FileRequest and WorkRequest
2016-03-24 10:54:32 -07:00
John Firebaugh
2f9e6f4e94
[core] Allow the use of special characters in property field names
...
Fixes #4336
2016-03-23 17:15:18 -07:00
Konstantin Käfer
c587eefbb1
[ios] make unit tests work on iOS and iOS Simulator
2016-03-22 11:56:01 -07:00
Konstantin Käfer
db5ac4785f
[test] rearrange test files so they're not in the fixtures folder
2016-03-22 11:56:01 -07:00
Bruno de Oliveira Abinader
ac70ada2d3
[core] Check for NaNs in mbgl::util::{min,max,clamp}
2016-03-18 00:53:14 +02:00
Bruno de Oliveira Abinader
3879bc6a4e
[core] Make vec{2,3,4} operator bool explicit
2016-03-11 02:24:09 +02:00
Bruno de Oliveira Abinader
026b6d4c01
[core] Coordinate wrapping fixes
...
- Make returning LatLngs unwrapped by default.
- PointAnnotation and ShapeAnnotation are always wrapped so they can be
selected via intersection from the visible tile boundaries.
- Fixes LatLng::wrap() calculation.
- Fixes LatLng::unwrapForShortestPath() calculation.
The new unwrapForShortestPath algorithm unwraps the start coordinate
either forwards or backwards depending on the end coordinate value, so
we can always cross the antimeridian when needed and still obtain a
wrapped end coordinate in the end.
Fixes #4214 .
2016-03-10 03:36:45 +02:00