summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* [osx] Build output goes to build/osxJohn Firebaugh2016-04-191-1/+1
|
* [build] Refactor and simplify build systemJohn Firebaugh2016-04-074-58/+270
| | | | | | | | | | | | | | * Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts.
* add pitch to bin/render.cppMike Morris2016-04-051-0/+3
|
* Add test script for offline database size comparisonJohn Firebaugh2016-03-161-0/+18
|
* [test] Fix crash in offline binaryJohn Firebaugh2016-03-151-10/+11
|
* [bin] Add explicit ^C handling to bin/offline, to test deactivationJohn Firebaugh2016-03-071-6/+28
|
* [bin] Print message when tile count limit is exceededJohn Firebaugh2016-03-041-0/+4
|
* [offline] Accept parametersThiago Marcos P. Santos2016-03-022-7/+50
| | | | | | | | | | | | | | | | | | | The defaults remains the same: Bay area at zoom 15. The key, if not supplied, is taken from the environment. ``` Allowed options: -s [ --style ] URL Map stylesheet --north degrees (=37.200000000000003) North latitude --west degrees (=-122.8) West longitude --south degrees (=38.100000000000001) South latitude --east degrees (=-121.7) East longitude --minZoom number (=0) Min zoom level --maxZoom number (=15) Max zoom level --pixelRatio number (=1) Pixel ratio -t [ --token ] key Mapbox access token -o [ --output ] file (=offline.db) Output database file name ```
* [core] status.requiredResourceCountIsIndeterminate ⇢ ↵John Firebaugh2016-02-241-1/+1
| | | | | | status.requiredResourceCountIsPrecise Change the name and reverse the sense. Naming things in the positive is better than naming them in the negative.
* [core] Optimize offline database schemaJohn Firebaugh2016-02-101-1/+1
| | | | | * Under the hood, SQLite creates surrogate keys (ROWID) anyway. We may as well take advantage of this and use the surrogates for foreign keys as well, since they are simpler and more efficient than compound foreign keys. * Create indexes for efficient eviction queries
* Add binary for smoke-testing offline downloadsJohn Firebaugh2016-02-102-0/+120
|
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-1/+3
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [core] Privatize SQLiteCacheJohn Firebaugh2016-01-081-3/+1
|
* [core] Merge SQLiteCache into the platform libraryJohn Firebaugh2015-12-221-1/+0
| | | | OfflineFileSource will depend on SQLite too.
* [render] Add a RunLoop to `render` main threadThiago Marcos P. Santos2015-12-011-26/+10
| | | | Also simplified the code making the logic more linear.
* [core] Don't link with libuv on components not using it directlyThiago Marcos P. Santos2015-12-011-3/+0
|
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-271-1/+1
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-251-3/+3
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [core] Rewrite image handlingJohn Firebaugh2015-11-251-7/+4
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] move mbgl.gyp to gyp directoryMike Morris2015-11-041-7/+7
| | | | | So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243
* [core] bump libuv to 1.7.5 across all platformsMike Morris2015-10-141-1/+7
| | | | | | UV_ASYNC_PARAMS and UV_TIMER_PARAMS for libuv <= 0.10 compatibility use st_mtim.tv_sec in libuv > 0.10.x
* [osx] Fix build on Xcode 6.4John Firebaugh2015-09-281-6/+1
|
* [osx] disable -Wunused-local-typedefsMike Morris2015-09-241-1/+5
| | | | | Fixes OS X builds with Xcode 7, necessitated by https://svn.boost.org/trac/boost/ticket/11240
* Make build system architecture agnostic to remove Android special caseKonstantin Käfer2015-08-041-7/+7
|
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-081-2/+1
| | | | also moves framebuffer size out of TransformState into its own object
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-261-1/+0
|
* DefaultFileSource has responsibility for handling mapbox:// URLsJohn Firebaugh2015-05-261-4/+4
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-221-1/+10
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* allow passing --debug to view tile boundaries in mbgl-renderKonstantin Käfer2015-05-131-0/+6
|
* use boost_program_options from masonKonstantin Käfer2015-05-121-2/+1
|
* Update the 'render' to reflect recent API changesThiago Marcos P. Santos2015-05-081-7/+2
| | | | | We don't call start/stop anymore and the resize is done via the map object.
* merge build targets so we only have one build file per platformKonstantin Käfer2015-04-241-0/+0
| | | | previously, we used multiple different projects for various targets (app, test, render) that overwrote each other, so it was impossible to have one project to build them all, one project to compile them, one project to run them all and in the darkness bind them
* rename Mode::Static => Mode::StillKonstantin Käfer2015-04-171-1/+1
|
* align static render mode and still image render modeKonstantin Käfer2015-04-172-10/+27
| | | | | - static rendering now also runs in a separate thread; you have to start it with map.start(Map::Mode::Static) and join the thread with map.stop() before destructing the Map object - map.renderStill() takes a callback with will be invoked on the *map* thread, so you'll have to figure out your own method of dispatching back to the main thread.
* make implementation files private headersKonstantin Käfer2015-04-131-1/+1
|
* hide Thread<> and separate the Implementation objectKonstantin Käfer2015-04-131-3/+2
|
* add Thread<T> and RunLoopKonstantin Käfer2015-04-101-2/+3
| | | | | | Thread<T> is a generic thread management object that starts a thread, creates an object T in that thread and calls its .start() function. When the Thread<T> object is destructed (which must happen in the thread that created it), it'll call the object's .stop() function, and wait for thread termination. The .stop() function must somehow get the thread to terminate. Note that object T's constructor/destructor/start()/stop() must be protected/private, and Thread<T> must be declared as a friend class. All public functions may be called from any thread and are exposed through operator->(). RunLoop encapsulates a libuv runloop and has a facility of dispatching function objects to the thread. It can be used either as a worker thread class by itself, or it can be derived from. This commit converts SQLiteCache to derive from RunLoop and removes the custom code used previously for managing the cache thread.
* Make the logging system staticThiago Marcos P. Santos2015-03-121-13/+1
| | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously).
* Trivial build fix, do not call private methodThiago Marcos P. Santos2015-03-111-1/+0
| | | | Resize is internally called by the view now.
* Fix build warnings on GCCThiago Marcos P. Santos2015-03-111-0/+7
| | | | Apperently boost has a few quirks on its headers.
* update static image rendering executableKonstantin Käfer2015-03-061-10/+4
|
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-161-1/+1
|
* cleanup makefilesKonstantin Käfer2015-02-041-2/+2
|
* refactor makefileKonstantin Käfer2015-02-042-38/+44
|
* make storage lib separate so we can build without storage libsKonstantin Käfer2015-02-041-4/+4
|
* update bin/render for recent changesMike Morris2015-01-162-1/+2
|
* automatically copy the certificate bundleKonstantin Käfer2014-12-161-0/+1
|
* don't assing nullptr to std::stringKonstantin Käfer2014-12-161-1/+4
|
* don't provide a default value for the stylesheet fileKonstantin Käfer2014-12-111-1/+1
|
* allow setting the cache databaseKonstantin Käfer2014-12-111-1/+3
|