Commit Graph

2274 Commits

Author SHA1 Message Date
Konstantin Käfer
343fd4bcac allow setting the cache database 2014-12-11 18:31:56 +01:00
Konstantin Käfer
41d9e7730f add xcode project for render cli util 2014-12-11 18:31:32 +01:00
Konstantin Käfer
8b5bba08b3 show default values and allow setting the output filename 2014-12-11 18:02:24 +01:00
Konstantin Käfer
a81e822ef0 add cli tool for rendering a map to an image 2014-12-11 17:58:36 +01:00
Konstantin Käfer
0c62cd0655 Merge pull request #711 from mapbox/check-gl-error
Use CHECK_ERROR on every GL call
2014-12-10 13:55:39 +01:00
Konstantin Käfer
4ad28c931a only report STACK_OVERFLOW/STACK_UNDERFLOW when the GL implementation has them 2014-12-10 13:46:26 +01:00
Konstantin Käfer
93d56294cf update error reporting function 2014-12-10 13:21:08 +01:00
Leith Bade
127600ef8c Fix unused param 2014-12-10 22:23:53 +11:00
Leith Bade
08b07c30a7 Reduce GL log spew 2014-12-10 22:15:41 +11:00
Leith Bade
0808485453 Use CHECK_ERROR on every GL call 2014-12-10 21:57:34 +11:00
Mike Morris
392150dd48 Merge pull request #707 from mapbox/start-group
wrap mbgl-core and mbgl-linux in -Wl,--start-group/-Wl,--end-group
2014-12-09 12:11:12 -05:00
Mike Morris
538120bb7f wrap mbgl-core and mbgl-linux in -Wl,--start-group/-Wl,--end-group 2014-12-09 12:09:22 -05:00
Konstantin Käfer
bb0e57b838 Merge pull request #708 from mapbox/headless-tidy
Tidy up HeadlessView
2014-12-09 15:08:21 +01:00
Konstantin Käfer
5ccc988ff7 fix typo 2014-12-09 14:55:32 +01:00
Konstantin Käfer
90ac844d7e Merge pull request #709 from mapbox/version-header-only
Include version symbols only in mbgl-core library
2014-12-09 14:54:17 +01:00
Konstantin Käfer
753b6eedd6 also install the version header 2014-12-09 14:35:27 +01:00
Konstantin Käfer
917c0168ab don't include the source file in every library 2014-12-09 14:14:11 +01:00
Leith Bade
d2792e2987 Tidy up HeadlessView 2014-12-09 21:47:30 +11:00
Konstantin Käfer
318ef5d443 Merge pull request #705 from mapbox/user-agent-os
Include operating system and actual version number in User Agent string
2014-12-08 23:18:09 +01:00
Konstantin Käfer
8fd04ebc44 add missing gyp file 2014-12-08 22:35:03 +01:00
Mike Morris
c61537af8f nu_static_libs 2014-12-08 12:24:57 -08:00
Konstantin Käfer
b512c43296 support fewer parameters 2014-12-08 17:22:15 +01:00
Konstantin Käfer
5a3d0b0d3a don't print more information when a tag actually is available 2014-12-08 16:59:02 +01:00
Konstantin Käfer
0a84deef91 make sure it also works when there are no git tags 2014-12-08 16:47:24 +01:00
Konstantin Käfer
e11c073e51 report version number in user agent string
refs #628
2014-12-08 16:21:15 +01:00
Konstantin Käfer
d04d75abae Merge pull request #628 from mapbox/user-agents
Set user agent to something useful
2014-12-08 11:14:32 +01:00
Konstantin Käfer
1f91be988b add user agent header
fixes #628
2014-12-08 11:04:08 +01:00
John Firebaugh
de098591c5 Remove Map::cleanup and Painter::cleanup
Both were noops.
2014-12-06 14:08:40 -08:00
Dane Springmeyer
004d12ea0b Merge pull request #698 from mapbox/cache-shaders
Add caching of compiled shaders
2014-12-05 23:37:35 -05:00
Leith Bade
67c1ff2f95 Fix rebase 2014-12-06 14:28:34 +11:00
Leith Bade
6df4e4a52c Load program binary extension on Linux 2014-12-06 14:21:08 +11:00
John Firebaugh
ff640132de Move setAccessToken to CachingHTTPFileSource 2014-12-04 17:03:23 -08:00
John Firebaugh
0a942b6f14 Change Map::stop to use std::function<void()>
Fixes #685
2014-12-04 15:58:04 -08:00
John Firebaugh
13564fb876 Create GlyphStore up front 2014-12-04 15:26:54 -08:00
John Firebaugh
0c9ae49b47 get/setBase may be called from main thread 2014-12-04 15:26:54 -08:00
John Firebaugh
36500b9f95 Add CachingHTTPFileSource::clearLoop()
So loop state can be cleaned up in the appropriate thread.
This is a hack; loop needs to be externalized from Map.

Fixes #686
2014-12-04 15:26:54 -08:00
John Firebaugh
16fe8e64c4 Move setReachability to CachingHTTPFileSource 2014-12-04 15:14:40 -08:00
John Firebaugh
9aff2c386c Remove invalid map->terminate()
Map has already been destroyed by this point, so the
call is invalid. The work that terminate() would do
has already been done.
2014-12-04 14:31:29 -08:00
Konstantin Käfer
22f02ac007 Merge pull request #622 from mapbox/private-headers
make most headers private
2014-12-04 20:24:29 +01:00
Konstantin Käfer
3b190ddd0d fix build 2014-12-04 20:13:08 +01:00
Konstantin Käfer
1e3fb3a423 remove usage of relative paths 2014-12-04 20:02:51 +01:00
Konstantin Käfer
abafb52f37 make most headers private 2014-12-04 20:02:50 +01:00
Konstantin Käfer
bff6aeb4da switch to plain file streams rather than JSON 2014-12-04 20:00:41 +01:00
John Firebaugh
97d7f065d6 Add virtual destructor for FileSource 2014-12-04 10:52:26 -08:00
John Firebaugh
e5f70bddf6 Update mapbox-gl-cocoa 2014-12-04 10:35:50 -08:00
Konstantin Käfer
b449b22abc remove use of std::to_string in favor of boost::lexical_cast
std::to_string calls sprintf() internally, which is really slow
2014-12-04 12:59:09 +01:00
Konstantin Käfer
65451187f5 [performance] remove use of snprintf in hot path; it's pretty slow on iOS 2014-12-04 12:19:21 +01:00
John Firebaugh
57249ca32c Prefer stdlib to libuv (fixes #688) 2014-12-03 17:38:10 -08:00
John Firebaugh
10ebcbca93 Remove unused 2014-12-03 13:42:02 -08:00
John Firebaugh
21b4f8c501 libuv handles must be deallocated asynchronously
Fixes #659
2014-12-03 12:04:56 -08:00