summaryrefslogtreecommitdiff
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
* [core] fix logging so we don't use strings as a formatterKonstantin Käfer2015-11-061-1/+1
|
* [core] move mbgl.gyp to gyp directoryMike Morris2015-11-041-6/+6
| | | | | So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-302-11/+9
| | | | | | | | | | Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles. Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs. Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles. /ref #1462
* [core] Remove bundled styles.Leith Bade2015-10-301-1/+0
| | | | Fixes #2239
* mason variant@1.0Mike Morris2015-09-301-0/+1
|
* allow setting a location and print the location on exitKonstantin Käfer2015-08-111-4/+40
|
* add benchmark mode that shows the real frame time rather than the vsync timeKonstantin Käfer2015-08-111-2/+11
|
* Make build system architecture agnostic to remove Android special caseKonstantin Käfer2015-08-041-3/+3
|
* use OpenGL and Boost for the linux appKonstantin Käfer2015-08-041-0/+1
|
* respect fullscreen flag in Linux appKonstantin Käfer2015-08-041-4/+4
|
* don't use certain STL functionsKonstantin Käfer2015-08-042-0/+3
| | | | 
some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-261-2/+1
|
* DefaultFileSource has responsibility for handling mapbox:// URLsJohn Firebaugh2015-05-261-8/+9
|
* change the window title to indicate the current styleKonstantin Käfer2015-05-071-1/+4
|
* Make all GLFWView attributes privateThiago Marcos P. Santos2015-05-071-2/+1
|
* Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-072-1/+21
| | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* on OS X, styles for the linux test app weren't bundled correctlyKonstantin Käfer2015-05-071-1/+1
|
* Remove Map::start/stopJohn Firebaugh2015-04-281-2/+2
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* 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
* make implementation files private headersKonstantin Käfer2015-04-131-1/+1
|
* hide Thread<> and separate the Implementation objectKonstantin Käfer2015-04-131-4/+3
|
* convert DefaultFileSource to use util::Thread<>Konstantin Käfer2015-04-101-2/+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.
* Delete the GLFWView object at exitThiago Marcos P. Santos2015-03-201-2/+3
| | | | | Also destroy the glfwWindow we create. This leak was probably harmless but a nice cleanup helps us debug other serious memory leaks.
* scripts for running linux tests with dockerKonstantin Käfer2015-03-131-5/+0
|
* Get rid of printf and cout by using Log::*Thiago Marcos P. Santos2015-03-121-1/+1
| | | | | | | Use our logging system that will route the message accordingly on the target platform. Fixes #613
* Merge pull request #972 from mapbox/log_cleanupThiago Marcos P. Santos2015-03-121-3/+1
|\ | | | | Refactoring of the log system
| * Make the logging system staticThiago Marcos P. Santos2015-03-121-3/+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).
* | fixes black flicker on rotating the deviceKonstantin Käfer2015-03-121-0/+4
|/ | | | | | | | | | | | fixes #838 instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible. - upgrades GLFW to 3.1 - removes swapped/needsSwap in favor of a more explicit scheme - View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update - sets all iOS deployment targets to 7.0 - disables SQLite3 version check, since the library version changed on iOS 8.2
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-161-2/+5
|
* refactor makefileKonstantin Käfer2015-02-042-4/+6
|
* rework linux gyp filesKonstantin Käfer2015-02-041-2/+2
|
* use standard DEBUG macro rather than NDEBUGKonstantin Käfer2015-02-041-3/+3
|
* make storage lib separate so we can build without storage libsKonstantin Käfer2015-02-041-28/+23
|
* fixes for linuxKonstantin Käfer2015-02-041-4/+8
|
* rearrange tests and add storage testsKonstantin Käfer2015-02-041-1/+1
|
* Use v7 styles / testsJohn Firebaugh2015-01-221-1/+1
|
* sqlite3_static_libs on linuxMike Morris2015-01-131-0/+1
|
* change file:// to asset:// to indicate that they aren't arbitrary filesKonstantin Käfer2014-12-171-2/+2
| | | | refs #579
* Make file request overridable by platform implementationsKonstantin Käfer2014-12-172-1/+2
| | | | refs #579: Android can now rename AssetRequest to FileRequest and implement it differently
* Move setAccessToken to CachingHTTPFileSourceJohn Firebaugh2014-12-041-1/+1
|
* make most headers privateKonstantin Käfer2014-12-041-1/+1
|
* break out FileSource as an abstract classMike Morris2014-12-031-1/+3
| | | | add CachingHTTPFileSource implementation
* simplify image_readers creation implementationartemp2014-11-191-2/+0
| | | | | * remove static callbacks registration * link png_reader/jpeg_reader into mbgl-linux lib
* move image_reader to mbgl-linuxartemp2014-11-071-1/+0
|
* add cflags for linux buildsartemp2014-11-071-0/+2
|
* add image_reader abstraction layer to hanfle multiple image formatsartemp2014-11-071-0/+5
| | | | (work-in-progress)
* Use v6 stylesJohn Firebaugh2014-11-041-1/+1
|
* add -s,--style command line option to specify path to the styleartemp2014-11-031-5/+22
| | | | e.g ./build/Release/mapbox-gl -s ./styles/styles/bright-v5.json
* fix 'run-linux' target - refs #534/#511Dane Springmeyer2014-11-031-1/+1
|