summaryrefslogtreecommitdiff
path: root/linux/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Move linux and osx to platform subdirectoryJohn Firebaugh2015-12-101-178/+0
|
* [core] Remove unused libuv includesThiago Marcos P. Santos2015-12-011-1/+0
|
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-271-2/+2
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* [core] allow changing pitch in GLFW based appsKonstantin Käfer2015-11-171-1/+9
|
* [core] fix logging so we don't use strings as a formatterKonstantin Käfer2015-11-061-1/+1
|
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-301-9/+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
* 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
|
* respect fullscreen flag in Linux appKonstantin Käfer2015-08-041-4/+4
|
* don't use certain STL functionsKonstantin Käfer2015-08-041-0/+2
| | | | 
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-071-1/+18
| | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* 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.
* 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.
* 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
* 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 #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-161-2/+5
|
* refactor makefileKonstantin Käfer2015-02-041-1/+1
|
* 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
|
* 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-171-1/+1
| | | | 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
* 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
|
* linux app: fix path to stylesDane Springmeyer2014-10-311-1/+1
|
* Get mapbox-gl-styles via submodule (fixes #511)John Firebaugh2014-10-311-1/+1
|
* restructure gyp filesKonstantin Käfer2014-10-241-4/+5
|
* remove uv.h dependency from header filesKonstantin Käfer2014-08-121-0/+1
|
* consolidate into one lineKonstantin Käfer2014-08-111-3/+1
|
* use a file source object to abstract loading of resourcesKonstantin Käfer2014-08-081-10/+4
|
* Flip name and units and sign of rotation APIJohn Firebaugh2014-07-211-2/+2
| | | | | | Angle -> Bearing Radians -> Degrees Clockwise -> Counterclockwise
* rename llmr => mbglKonstantin Käfer2014-07-161-6/+6
|
* add nslog and stderr log backendsKonstantin Käfer2014-07-111-1/+4
|
* read access token from environmentKonstantin Käfer2014-07-101-2/+8
|
* move Linux & OS X to per-map access tokensJustin R. Miller2014-07-091-2/+1
|
* Use API v4 and access tokensJohn Firebaugh2014-07-081-0/+3
|
* typoKonstantin Käfer2014-06-021-1/+1
|
* error early when it can't read the style fileKonstantin Käfer2014-06-021-0/+4
|