summaryrefslogtreecommitdiff
path: root/linux/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* run executable with correct working dirKonstantin Käfer2014-06-011-1/+1
|
* Load stylesheet from disk.Young Hahn2014-06-011-0/+10
|
* remove concept of settings object from libraryKonstantin Käfer2014-04-301-10/+19
|
* move to libuv for the rendering loopKonstantin Käfer2014-04-301-2/+2
|
* use libuv event loop in the glfw viewKonstantin Käfer2014-04-221-62/+0
| | | | | | Integrates libuv's default loop with GLFW's glfwWaitEvents() call. See https://github.com/joyent/libuv/issues/1246 for more details on integrating event loops. fixes #149
* rename to glfw_view.cpp/hppKonstantin Käfer2014-04-161-1/+1
|
* clean up os x + ios request codeKonstantin Käfer2014-04-141-14/+14
| | | | fixes #129
* add debug window showing the glyph atlasKonstantin Käfer2014-03-141-4/+0
|
* remove code duplication between osx/glfw and linux/glfw programsKonstantin Käfer2014-03-141-278/+55
|
* add back sigint handlingKonstantin Käfer2014-03-111-6/+6
|
* add animation modes to linux wrapperKonstantin Käfer2014-03-111-1/+11
|
* accept --fullscreen optionKonstantin Käfer2014-03-111-10/+29
| | | | | Conflicts: linux/main.cpp