Commit Graph

4631 Commits

Author SHA1 Message Date
Justin R. Miller
146a9f9fd3 [publish ios-v0.2.12] 2015-04-10 16:41:54 -07:00
Justin R. Miller
e572bf8988 bump podspec to 0.2.12 2015-04-10 16:39:34 -07:00
Justin R. Miller
32e5196373 change default style to Streets 2015-04-10 16:38:49 -07:00
Justin R. Miller
18ef67b002 Revert "Override file name for Mapbox Streets style JSON"
Mapbox Streets has stock naming again; reverting. Easier
to ensure we name properly than build in logic.

This reverts commit 0b35a88708.
2015-04-10 16:34:42 -07:00
Justin R. Miller
53af2bda3f bump CocoaPods 2015-04-10 16:09:48 -07:00
Justin R. Miller
42dd2bdc5b [publish ios-v0.2.11] 2015-04-10 15:33:49 -07:00
Justin R. Miller
a233a39c0b bump styles pin 2015-04-10 15:32:27 -07:00
Minh Nguyễn
c5b0478e9a Detach GLKView while app is in background
Throw a static snapshot up for the app switcher. Hope you didn’t plan on moving markers around while the app is in the background.

Fixes #1050, #1186, #1203, #1243.
2015-04-10 14:29:18 -07:00
Konstantin Käfer
0f79a89502 don't shadow variable names 2015-04-10 23:19:35 +02:00
Brad Leege
2a468156a9 Merge pull request #1253 from mapbox/1252-created
Created Cleanup
2015-04-10 16:15:27 -05:00
Brad Leege
22a35c23be #1252 - Merging 2 "created" attribute value setting attempts into 1 2015-04-10 15:53:07 -05:00
Konstantin Käfer
00e9cd9e9d OS X needs -framework Foundation for CURL tests 2015-04-10 22:39:53 +02:00
Konstantin Käfer
4c7132337f convert DefaultFileSource to use util::Thread<> 2015-04-10 22:37:27 +02:00
Konstantin Käfer
bd531b9e08 guarantee that Object stays around
Adds more documentation, and guarantees that the Object in the managed thread stays around until the Thread<> destructor is called. This might happen if .start() returns before .stop() is called, e.g. when a run loop in Object() terminates prematurely.
2015-04-10 15:52:02 +02:00
Konstantin Käfer
bba3d9838a add Thread<T> and RunLoop
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.
2015-04-10 15:36:32 +02:00
Justin R. Miller
8eafe36932 [publish ios-v0.2.10] 2015-04-09 23:45:52 -07:00
Justin R. Miller
159ffddefd show Dark style in demo app 2015-04-09 23:45:04 -07:00
Justin R. Miller
ba8679b4ac [publish ios-v0.2.10] 2015-04-09 23:08:30 -07:00
Justin R. Miller
1c7c78deda bump podspec version 2015-04-09 23:07:19 -07:00
Justin R. Miller
087d5e7a64 [publish ios-v0.2.10] 2015-04-09 23:05:45 -07:00
Brad Leege
88ec0f1607 Merge pull request #1249 from mapbox/1247-altitude
Altitude Metric
2015-04-09 18:49:53 -05:00
Brad Leege
19e4bc7541 #1247 - Adding Altitude and Vertical Accuracy attributes to location events 2015-04-09 18:08:15 -05:00
Peter Liu
8f987ae4cd Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native 2015-04-09 16:00:08 -07:00
Peter Liu
051c9c0b12 updated emerald style 2015-04-09 15:59:54 -07:00
John Firebaugh
566c6718d7 Merge pull request #1244 from mapbox/uv
Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++
2015-04-09 15:59:38 -07:00
John Firebaugh
6708959d12 Remove some uv.hpp includes 2015-04-09 15:30:58 -07:00
John Firebaugh
0c087603e6 Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++ 2015-04-09 15:30:58 -07:00
Konstantin Käfer
a22c2dd0a1 Merge pull request #1237 from mapbox/1237-text-font-function
404 errors when style uses functions for text-font
2015-04-09 22:50:32 +02:00
Konstantin Käfer
ec94e03a8e set the correct v7 default font
- also skip layers with empty font names
2015-04-09 22:29:05 +02:00
Justin R. Miller
6efce53e29 Merge pull request #975 from mapbox/974-current-sdk
build with current iOS SDK
2015-04-09 12:44:42 -07:00
Ansis Brammanis
7ac01660d7 port line icon angle fix
-js: 37a498a7aa2c37d6b94611b614b4efe134e6dd59
2015-04-09 12:17:43 -07:00
Ansis Brammanis
9b0376e58e fix angle of icons along lines
fixes https://github.com/mapbox/mapbox-gl-native/issues/1242
2015-04-09 12:05:16 -07:00
John Firebaugh
0b779eaa8b Remove unnecessary use of weak_ptr
The request callback runs in the same thread as ~TileData, and is not run
if the request is cancelled. So either ~TileData runs first and cancels
the request, or the callback runs first, before TileData is destructed.
Therefore the weak pointer and lock() check is unnecessary; `this` can
be used instead.
2015-04-09 11:10:51 -07:00
John Firebaugh
691756d7dd Move ClipID to clip_id.hpp/cpp 2015-04-09 10:58:11 -07:00
Minh Nguyễn
fc3802eddb Merge pull request #1239 from friedbunny/locate-button
Add simple tracking mode button to demo app
2015-04-09 09:56:01 -07:00
Jason Wray
be599fa385 Animate the thing, I'm not an animal 2015-04-09 00:03:17 -07:00
Jason Wray
56cd674077 Add simple tracking mode button to demo app 2015-04-08 23:44:57 -07:00
Minh Nguyễn
c0eee9565e Merge pull request #1236 from mapbox/1ec5-streets
Override file name for Mapbox Streets style JSON
2015-04-08 18:03:24 -07:00
Minh Nguyễn
0b35a88708 Override file name for Mapbox Streets style JSON
Some styles have nonstandard file names that don’t end with “-v7”. This commit adds a special case for Mapbox Streets that can be extended in the future for other styles.

Ref #1228
2015-04-08 17:29:58 -07:00
Justin R. Miller
d1be8ed786 Merge pull request #1229 from mapbox/update-styles-pin
fixes #1228: bring in Streets & Light & update styles pin
2015-04-08 10:56:53 -07:00
Justin R. Miller
b2c232a1f7 fixes #1228: bring in Streets & Light & update styles pin 2015-04-08 10:31:48 -07:00
Konstantin Käfer
b47ebba2b9 Merge pull request #1071 from mapbox/1071-sqlite-avoid-crash
Gracefully handle SQLite errors
2015-04-08 16:48:58 +02:00
Konstantin Käfer
59bd300b43 use sqlite itself to lock the database file rather than those unportable bsd locks 2015-04-08 16:24:10 +02:00
Konstantin Käfer
4b66c490b4 guard against invalid database files 2015-04-08 14:55:47 +02:00
Justin R. Miller
7811acef21 [publish ios-v0.2.9] 2015-04-07 22:20:55 -07:00
Justin R. Miller
b1771fbfa1 bump podspec version to 0.2.9 2015-04-07 22:20:33 -07:00
Brad Leege
7dc7fbb495 Merge pull request #1221 from mapbox/1216-pause
Pause and Resume Metrics
2015-04-07 20:23:59 -05:00
Justin R. Miller
ce32e9f92b Revert "move to Debug for iOS builds"
We should stay on Release mode for performance reasons. We
can look into providing symbols for builds for crash log
purposes.

This reverts commit cf1ecb6976.
2015-04-07 18:07:17 -07:00
Justin R. Miller
cf1ecb6976 move to Debug for iOS builds 2015-04-07 16:31:18 -07:00
Justin R. Miller
59241db579 Merge pull request #1227 from mapbox/fix-repo-podspec
fix up Podspec (flatten, back to iOS subfolder)
2015-04-07 14:29:50 -07:00