Commit Graph

48 Commits

Author SHA1 Message Date
Konstantin Käfer
92a7f73bbe fixes for linux 2015-02-04 10:49:06 +01:00
Konstantin Käfer
8a1fce547e rearrange tests and add storage tests 2015-02-04 10:49:05 +01:00
John Firebaugh
9495b686e7 Use v7 styles / tests 2015-01-22 12:00:26 -08:00
Konstantin Käfer
b5e9998b15 change file:// to asset:// to indicate that they aren't arbitrary files
refs #579
2014-12-17 14:59:05 +01:00
Konstantin Käfer
936e096514 Make file request overridable by platform implementations
refs #579: Android can now rename AssetRequest to FileRequest and implement it differently
2014-12-17 12:14:32 +01:00
John Firebaugh
ff640132de Move setAccessToken to CachingHTTPFileSource 2014-12-04 17:03:23 -08:00
Konstantin Käfer
abafb52f37 make most headers private 2014-12-04 20:02:50 +01:00
Mike Morris
dac76a0f92 break out FileSource as an abstract class
add CachingHTTPFileSource implementation
2014-12-03 12:25:11 -05:00
John Firebaugh
05c5c3a8bc Use v6 styles 2014-11-04 12:26:14 -08:00
artemp
1e2c5f988e add -s,--style command line option to specify path to the style
e.g ./build/Release/mapbox-gl -s ./styles/styles/bright-v5.json
2014-11-03 16:00:40 +00:00
Dane Springmeyer
f0b8fa2839 fix 'run-linux' target - refs #534/#511 2014-11-03 09:20:13 -05:00
Dane Springmeyer
b2032103f2 linux app: fix path to styles 2014-10-31 17:14:30 -04:00
John Firebaugh
d675828fe1 Get mapbox-gl-styles via submodule (fixes #511) 2014-10-31 17:14:30 -04:00
Konstantin Käfer
cd9a89257a restructure gyp files 2014-10-24 16:40:08 +02:00
Konstantin Käfer
6f80264291 remove uv.h dependency from header files 2014-08-12 11:45:30 +02:00
Konstantin Käfer
be15af7e04 consolidate into one line 2014-08-11 12:17:27 +02:00
Konstantin Käfer
4657e6e023 use a file source object to abstract loading of resources 2014-08-08 18:25:45 +02:00
John Firebaugh
86336ed838 Flip name and units and sign of rotation API
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
Konstantin Käfer
4ea281c750 rename llmr => mbgl 2014-07-16 18:53:56 -07:00
Konstantin Käfer
7ffe4a7858 add nslog and stderr log backends 2014-07-11 14:34:17 -07:00
Konstantin Käfer
0d7b3462e9 read access token from environment 2014-07-10 11:27:03 -07:00
Justin R. Miller
cfbd9f2469 move Linux & OS X to per-map access tokens 2014-07-09 18:08:53 -07:00
John Firebaugh
815f8be96e Use API v4 and access tokens 2014-07-08 13:16:38 -07:00
Konstantin Käfer
3019cc502a typo 2014-06-02 12:34:04 +02:00
Konstantin Käfer
15c12701e3 error early when it can't read the style file 2014-06-02 12:01:33 +02:00
Konstantin Käfer
6bbac8559f run executable with correct working dir 2014-06-01 22:28:36 +02:00
Young Hahn
04610023de Load stylesheet from disk. 2014-06-01 13:50:32 -04:00
Konstantin Käfer
9bbdba9eab remove concept of settings object from library 2014-04-30 13:47:03 +02:00
Konstantin Käfer
1216a061d3 move to libuv for the rendering loop 2014-04-30 12:01:26 +02:00
Konstantin Käfer
1ecff57829 use libuv event loop in the glfw view
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
2014-04-22 16:54:55 +02:00
Konstantin Käfer
a807ace3c1 rename to glfw_view.cpp/hpp 2014-04-16 11:10:54 -04:00
Konstantin Käfer
305e688a3a clean up os x + ios request code
fixes #129
2014-04-14 11:47:57 -04:00
Konstantin Käfer
3c5bac0f6b add debug window showing the glyph atlas 2014-03-14 12:43:42 +01:00
Konstantin Käfer
bdfa761c39 remove code duplication between osx/glfw and linux/glfw programs 2014-03-14 11:33:45 +01:00
Konstantin Käfer
80ae10a070 add back sigint handling 2014-03-11 12:21:05 +01:00
Konstantin Käfer
d9922b2a46 add animation modes to linux wrapper 2014-03-11 12:15:26 +01:00
Konstantin Käfer
c37701d41d accept --fullscreen option
Conflicts:
	linux/main.cpp
2014-03-11 12:11:36 +01:00
Konstantin Käfer
5037e00ed9 add SIGINT handling 2014-03-05 16:59:15 +01:00
Konstantin Käfer
69a5c0e15f better support for gles2 2014-03-05 16:58:46 +01:00
Konstantin Käfer
f850856cec move requests to global threadpool 2014-03-03 12:55:32 +01:00
Konstantin Käfer
b26f3d319b add threadpool implementation 2014-03-03 12:17:32 +01:00
Konstantin Käfer
e134e6a8f3 add threadpooled requests 2014-03-02 11:26:54 +01:00
Konstantin Käfer
7fdff4176b use atomics instead of mutexes 2014-03-01 18:01:59 +01:00
Konstantin Käfer
bc1d6774c5 make linux downloads cancellable 2014-03-01 17:52:59 +01:00
Konstantin Käfer
6c58101b12 multithreaded curl for linux 2014-03-01 13:05:13 +01:00
Ansis Brammanis
c4313c25ae async http requests for linux wrapper 2014-02-18 06:40:05 -05:00
Konstantin Käfer
9fb05741d6 make sure that mapView is initialized before referencing into it 2014-02-17 17:55:47 +01:00
Ansis Brammanis
9d89bc0909 first attempt at linux wrapper 2014-02-17 10:27:31 -05:00