summaryrefslogtreecommitdiff
path: root/platform/default
Commit message (Collapse)AuthorAgeFilesLines
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-1/+1
|
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-36/+50
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [glfw] Added 'addRandomLineAnnotations'Bruno de Oliveira Abinader2016-07-231-5/+26
|
* [default] uv_run should use UV_RUN_NOWAITThiago Marcos P. Santos2016-07-221-1/+1
| | | | | UV_RUN_ONCE might block and that is not the semantics we expect from RunLoop::runOnce().
* [core] Clean-up threading #ifdefsThiago Marcos P. Santos2016-07-161-19/+3
|
* [core] Make the AssetFileSource thread low priorityThiago Marcos P. Santos2016-07-161-1/+1
|
* [core] Trim thread name on Linux to 16 bytesThiago Marcos P. Santos2016-07-161-1/+5
| | | | | That is a hard limit, if you set a string bigger than that, it doesn't get set.
* [core] Move set/get thread names to platform::Thiago Marcos P. Santos2016-07-161-4/+25
| | | | Android needs its own implementation.
* [core] code style cleanupsKonstantin Käfer2016-07-012-10/+56
| | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* [core] Added CharArrayBufferBruno de Oliveira Abinader2016-06-302-5/+7
| | | | | | | | Implements a custom std::streambuf to avoid creating temporary std::string objects and thus optimizing image decode. Suggested by @artemp in https://github.com/mapbox/mapbox-gl-native/pull/5417#issuecomment-227700063.
* [core] Increment completedTileCount when appropriate (#5475)John Firebaugh2016-06-241-0/+2
|
* [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-241-2/+2
|
* [core] Replace boost iostream with standard {i,s}streamBruno de Oliveira Abinader2016-06-212-35/+16
| | | | Fixes #4915.
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-182-3/+3
|
* [core] Runtime source API: private implsJohn Firebaugh2016-06-161-14/+14
|
* [core] Use variant<std::string, GeoJSON> in GeoJSON sourceJohn Firebaugh2016-06-151-3/+7
|
* [core] Use variant<std::string, Tileset> in TileSourceJohn Firebaugh2016-06-151-8/+13
| | | | A tile source can either specify a URL to TileJSON, or inline TileJSON.
* [tidy/linux] clang-analyzer-deadcode.DeadStoresBruno de Oliveira Abinader2016-06-141-2/+2
|
* [tidy/linux] modernize-pass-by-valueBruno de Oliveira Abinader2016-06-141-4/+4
|
* [tidy/linux] modernize-use-overrideBruno de Oliveira Abinader2016-06-141-1/+1
|
* [tidy/linux] modernize-use-nullptrBruno de Oliveira Abinader2016-06-145-20/+20
|
* [tidy/linux] llvm-namespace-commentBruno de Oliveira Abinader2016-06-144-4/+5
|
* [core] Add virtual Source::getTileSize()John Firebaugh2016-06-141-5/+5
|
* [core] Push Source::url down to subclassesJohn Firebaugh2016-06-141-8/+13
|
* [core] Push Source::tileset down to TileSourceJohn Firebaugh2016-06-141-6/+12
|
* [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-142-4/+4
|
* [core] Make enum ↔ string conversion more generic-friendlyJohn Firebaugh2016-06-131-1/+2
| | | | | | Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types. While there, properly validated enumerated property values.
* [tidy] Check modernize-use-overrideBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-135-16/+15
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check modernize-use-nullptrBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-132-3/+3
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-131-2/+2
|
* [core] Fix deleter mismatchThiago Marcos P. Santos2016-06-071-2/+5
| | | | | | | | | | | | | | | | | | | | delete[] was being called for a malloc() allocated C buffer. Found by valgrind: ``` ==23065== Mismatched free() / delete / delete [] ==23065== at 0x4C2F77B: operator delete[](void*) (vg_replace_malloc.c:621) ==23065== by 0x50C5529: std::default_delete<unsigned char []>::operator()(unsigned char*) const (unique_ptr.h:119) ==23065== by 0x523EC85: std::unique_ptr<unsigned char [], std::default_delete<unsigned char []> >::reset(unsigned char*) (unique_ptr.h:581) ==23065== by 0x523E3D4: mbgl::Raster::upload(mbgl::gl::ObjectStore&) (raster.cpp:63) ==23065== by 0x520CA08: mbgl::RasterBucket::upload(mbgl::gl::ObjectStore&) (raster_bucket.cpp:16) ==23065== by 0x520E56A: mbgl::Painter::render(mbgl::style::Style const&, mbgl::FrameData const&, mbgl::SpriteAtlas&) (painter.cpp:130) ==23065== by 0x52BE15A: mbgl::Map::Impl::render() (map.cpp:265) ==23065== by 0x52BD9BE: mbgl::Map::render() (map.cpp:175) ==23065== by 0x50C9EB4: QMapboxGL::render() (qmapboxgl.cpp:579) ==23065== by 0x4056D3: MapWindow::paintGL() (mapwindow.cpp:166) ```
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-024-30/+31
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-021-1/+0
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-011-32/+8
|
* [core] Use geometry.hpp types for shape annotationsJohn Firebaugh2016-06-011-12/+11
|
* [ios] Update telem domain and certs (#5181)Jesse Bounds2016-05-272-0/+0
| | | | | Change domain from api -> events Replace old certs with new ones with the same name. The new certs have an expiry that is further out.
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-241-51/+0
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [core] allow creating optional requestsKonstantin Käfer2016-05-181-11/+25
| | | | | | Introduces "optional" requests. These should be fulfilled by the FileSource only there's a low-cost/easy way to obtain the data (e.g. from a local cache). If the data for an optional request cannot be found, it *must* return a Response object with a NotFound error. Traditional "required" requests still work the same way, with one change: If you set any prior* field in the Resource (i.e. priorModified, priorEtag, or priorExpires), the DefaultFileSource assumes that you already have the cache value and will not consult the cache before performing the request. If a prior cache lookup didn't turn up any data, and you therefore don't have an Etag or Modified value, you can still skip the cache by setting priorExpires. This will of course always result in a non-conditional HTTP request.
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-134-32/+43
|
* [core] remove indirection via Task object in DefaultFileSourceKonstantin Käfer2016-05-121-25/+16
|
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-111-0/+1
| | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically.
* [core] retain tiles differently and remove old TileID classKonstantin Käfer2016-05-102-7/+6
|
* [core] Replace boost::lexical_cast with std::to_stringJohn Firebaugh2016-05-021-1/+8
| | | | This removes the only boost dependency from public headers.
* [linux] Build with GCC 5 (#4901)John Firebaugh2016-04-292-10/+3
| | | | | | * [linux] Build with GCC 5 * [build] -fabi-version=0 is the default for GCC 5
* [glfw] Atomic is no longer neededThiago Marcos P. Santos2016-04-281-4/+3
| | | | All View events come from the same thread.
* [core] Refactor getRegionCompletedStatus; add completedTileCount; add testsJohn Firebaugh2016-04-272-23/+32
|
* [ios, osx] Add a property for bytes used by offline tilesBrent Whitman2016-04-272-13/+26
|