Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hide Thread<> and separate the Implementation object | Konstantin Käfer | 2015-04-13 | 33 | -205/+195 |
| | |||||
* | use std::tuple<> to forward parameters into the Thread<> object | Konstantin Käfer | 2015-04-13 | 1 | -6/+30 |
| | | | | works around GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 | ||||
* | don't shadow variable names | Konstantin Käfer | 2015-04-10 | 1 | -7/+7 |
| | |||||
* | OS X needs -framework Foundation for CURL tests | Konstantin Käfer | 2015-04-10 | 1 | -0/+1 |
| | |||||
* | convert DefaultFileSource to use util::Thread<> | Konstantin Käfer | 2015-04-10 | 30 | -243/+164 |
| | |||||
* | guarantee that Object stays around | Konstantin Käfer | 2015-04-10 | 2 | -1/+12 |
| | | | | 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. | ||||
* | add Thread<T> and RunLoop | Konstantin Käfer | 2015-04-10 | 17 | -180/+279 |
| | | | | | | 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. | ||||
* | [publish ios-v0.2.10] | Justin R. Miller | 2015-04-09 | 0 | -0/+0 |
| | |||||
* | show Dark style in demo appios-v0.2.10 | Justin R. Miller | 2015-04-09 | 1 | -0/+1 |
| | |||||
* | [publish ios-v0.2.10] | Justin R. Miller | 2015-04-09 | 0 | -0/+0 |
| | |||||
* | bump podspec version | Justin R. Miller | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | [publish ios-v0.2.10] | Justin R. Miller | 2015-04-09 | 0 | -0/+0 |
| | |||||
* | Merge pull request #1249 from mapbox/1247-altitude | Brad Leege | 2015-04-09 | 3 | -1/+7 |
|\ | | | | | Altitude Metric | ||||
| * | #1247 - Adding Altitude and Vertical Accuracy attributes to location events | Brad Leege | 2015-04-09 | 3 | -1/+7 |
| | | |||||
* | | Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native | Peter Liu | 2015-04-09 | 19 | -605/+180 |
|\ \ | |||||
| * \ | Merge pull request #1244 from mapbox/uv | John Firebaugh | 2015-04-09 | 19 | -605/+180 |
| |\ \ | | |/ | |/| | Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++ | ||||
| | * | Remove some uv.hpp includes | John Firebaugh | 2015-04-09 | 2 | -3/+2 |
| | | | |||||
| | * | Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++ | John Firebaugh | 2015-04-09 | 18 | -602/+178 |
| | | | |||||
* | | | updated emerald style | Peter Liu | 2015-04-09 | 1 | -0/+0 |
|/ / | |||||
* | | Merge pull request #1237 from mapbox/1237-text-font-function | Konstantin Käfer | 2015-04-09 | 2 | -3/+3 |
|\ \ | | | | | | | 404 errors when style uses functions for text-font | ||||
| * | | set the correct v7 default font | Konstantin Käfer | 2015-04-09 | 2 | -3/+3 |
|/ / | | | | | | | - also skip layers with empty font names | ||||
* | | Merge pull request #975 from mapbox/974-current-sdk | Justin R. Miller | 2015-04-09 | 1 | -1/+1 |
|\ \ | | | | | | | build with current iOS SDK | ||||
| * | | Build with current iOS SDK | Minh Nguyễn | 2015-03-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | xcodebuild does not require a specific SDK version, but Mason puts packages in a version-specific directory. So this change uses the logic for $MASON_PLATFORM_VERSION in mason.sh in mapbox/mason. Fixes #974. | ||||
* | | | fix angle of icons along lines | Ansis Brammanis | 2015-04-09 | 1 | -2/+2 |
| |/ |/| | | | | | fixes https://github.com/mapbox/mapbox-gl-native/issues/1242 | ||||
* | | Remove unnecessary use of weak_ptr | John Firebaugh | 2015-04-09 | 1 | -21/+10 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Move ClipID to clip_id.hpp/cpp | John Firebaugh | 2015-04-09 | 7 | -20/+21 |
| | | |||||
* | | Merge pull request #1239 from friedbunny/locate-button | Minh Nguyễn | 2015-04-09 | 13 | -1/+24 |
|\ \ | | | | | | | Add simple tracking mode button to demo app | ||||
| * | | Animate the thing, I'm not an animal | Jason Wray | 2015-04-09 | 1 | -1/+3 |
| | | | |||||
| * | | Add simple tracking mode button to demo app | Jason Wray | 2015-04-08 | 13 | -1/+22 |
| | | | |||||
* | | | Merge pull request #1236 from mapbox/1ec5-streets | Minh Nguyễn | 2015-04-08 | 1 | -3/+12 |
|\ \ \ | | | | | | | | | Override file name for Mapbox Streets style JSON | ||||
| * | | | Override file name for Mapbox Streets style JSON | Minh Nguyễn | 2015-04-08 | 1 | -3/+12 |
|/ / / | | | | | | | | | | | | | | | | 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 | ||||
* | | | Merge pull request #1229 from mapbox/update-styles-pin | Justin R. Miller | 2015-04-08 | 2 | -2/+7 |
|\ \ \ | | | | | | | | | fixes #1228: bring in Streets & Light & update styles pin | ||||
| * | | | fixes #1228: bring in Streets & Light & update styles pin | Justin R. Miller | 2015-04-08 | 2 | -2/+7 |
| |/ / | |||||
* | | | Merge pull request #1071 from mapbox/1071-sqlite-avoid-crash | Konstantin Käfer | 2015-04-08 | 11 | -104/+580 |
|\ \ \ | |/ / |/| | | Gracefully handle SQLite errors | ||||
| * | | use sqlite itself to lock the database file rather than those unportable bsd ↵ | Konstantin Käfer | 2015-04-08 | 1 | -10/+19 |
| | | | | | | | | | | | | locks | ||||
| * | | guard against invalid database files | Konstantin Käfer | 2015-04-08 | 4 | -5/+79 |
| | | | |||||
| * | | make sqlite storage more resilient to sporadic errors | Konstantin Käfer | 2015-04-07 | 9 | -103/+496 |
| | | | | | | | | | | | | | | | | | | | | | | | | - catch SQLite exceptions and report them - failed statements are ignored, we're really just caching here, so if it fails we're handling it gracefully elsewhere - handle cases where the database file goes away after we opened it - handle cases where the schema wasn't created after the database file was opened successfully - add tests | ||||
* | | | [publish ios-v0.2.9] | Justin R. Miller | 2015-04-07 | 0 | -0/+0 |
| | | | |||||
* | | | bump podspec version to 0.2.9ios-v0.2.9 | Justin R. Miller | 2015-04-07 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1221 from mapbox/1216-pause | Brad Leege | 2015-04-07 | 4 | -1/+62 |
|\ \ \ | | | | | | | | | Pause and Resume Metrics | ||||
| * | | | #1216 - Commenting out pause / resume test hooks | Brad Leege | 2015-04-07 | 1 | -1/+2 |
| | | | | |||||
| * | | | #1216 - Documenting use of pauseMetricsCollection and resumeMetricsCollection | Brad Leege | 2015-04-07 | 1 | -0/+10 |
| | | | | |||||
| * | | | #1216 - Added test usage of pausing / resuming Metrics to simulate app ↵ | Brad Leege | 2015-04-07 | 2 | -0/+18 |
| | | | | | | | | | | | | | | | | entering background mode and no other location manager running. Added paused state checking to pauseMetricsCollection and resumeMetricsCollection | ||||
| * | | | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into 1216-pause | Brad Leege | 2015-04-07 | 5 | -11/+52 |
| |\ \ \ | |||||
| * | | | | #1216 - Adding start and stop location manager update to pause and resume ↵ | Brad Leege | 2015-04-06 | 2 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | functions. | ||||
| * | | | | #1216 - Add pause and resume methods with corresponding isPaused boolean ↵ | Brad Leege | 2015-04-06 | 2 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | flag property | ||||
* | | | | | Revert "move to Debug for iOS builds" | Justin R. Miller | 2015-04-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should stay on Release mode for performance reasons. We can look into providing symbols for builds for crash log purposes. This reverts commit cf1ecb6976b4f572b3d3eb6fd3f203e2f1ef2714. | ||||
* | | | | | move to Debug for iOS builds | Justin R. Miller | 2015-04-07 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #1227 from mapbox/fix-repo-podspec | Justin R. Miller | 2015-04-07 | 1 | -7/+8 |
|\ \ \ \ \ | |_|/ / / |/| | | | | fix up Podspec (flatten, back to iOS subfolder) | ||||
| * | | | | fix up Podspec (flatten, back to iOS subfolder) | Justin R. Miller | 2015-04-07 | 1 | -7/+8 |
|/ / / / |