summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* hide Thread<> and separate the Implementation objectKonstantin Käfer2015-04-1333-205/+195
|
* use std::tuple<> to forward parameters into the Thread<> objectKonstantin Käfer2015-04-131-6/+30
| | | | works around GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226
* don't shadow variable namesKonstantin Käfer2015-04-101-7/+7
|
* OS X needs -framework Foundation for CURL testsKonstantin Käfer2015-04-101-0/+1
|
* convert DefaultFileSource to use util::Thread<>Konstantin Käfer2015-04-1030-243/+164
|
* guarantee that Object stays aroundKonstantin Käfer2015-04-102-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 RunLoopKonstantin Käfer2015-04-1017-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. Miller2015-04-090-0/+0
|
* show Dark style in demo appios-v0.2.10Justin R. Miller2015-04-091-0/+1
|
* [publish ios-v0.2.10]Justin R. Miller2015-04-090-0/+0
|
* bump podspec versionJustin R. Miller2015-04-091-1/+1
|
* [publish ios-v0.2.10]Justin R. Miller2015-04-090-0/+0
|
* Merge pull request #1249 from mapbox/1247-altitudeBrad Leege2015-04-093-1/+7
|\ | | | | Altitude Metric
| * #1247 - Adding Altitude and Vertical Accuracy attributes to location eventsBrad Leege2015-04-093-1/+7
| |
* | Merge branch 'master' of https://github.com/mapbox/mapbox-gl-nativePeter Liu2015-04-0919-605/+180
|\ \
| * \ Merge pull request #1244 from mapbox/uvJohn Firebaugh2015-04-0919-605/+180
| |\ \ | | |/ | |/| Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++
| | * Remove some uv.hpp includesJohn Firebaugh2015-04-092-3/+2
| | |
| | * Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++John Firebaugh2015-04-0918-602/+178
| | |
* | | updated emerald stylePeter Liu2015-04-091-0/+0
|/ /
* | Merge pull request #1237 from mapbox/1237-text-font-functionKonstantin Käfer2015-04-092-3/+3
|\ \ | | | | | | 404 errors when style uses functions for text-font
| * | set the correct v7 default fontKonstantin Käfer2015-04-092-3/+3
|/ / | | | | | | - also skip layers with empty font names
* | Merge pull request #975 from mapbox/974-current-sdkJustin R. Miller2015-04-091-1/+1
|\ \ | | | | | | build with current iOS SDK
| * | Build with current iOS SDKMinh Nguyễn2015-03-111-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 linesAnsis Brammanis2015-04-091-2/+2
| |/ |/| | | | | fixes https://github.com/mapbox/mapbox-gl-native/issues/1242
* | Remove unnecessary use of weak_ptrJohn Firebaugh2015-04-091-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/cppJohn Firebaugh2015-04-097-20/+21
| |
* | Merge pull request #1239 from friedbunny/locate-buttonMinh Nguyễn2015-04-0913-1/+24
|\ \ | | | | | | Add simple tracking mode button to demo app
| * | Animate the thing, I'm not an animalJason Wray2015-04-091-1/+3
| | |
| * | Add simple tracking mode button to demo appJason Wray2015-04-0813-1/+22
| | |
* | | Merge pull request #1236 from mapbox/1ec5-streetsMinh Nguyễn2015-04-081-3/+12
|\ \ \ | | | | | | | | Override file name for Mapbox Streets style JSON
| * | | Override file name for Mapbox Streets style JSONMinh Nguyễn2015-04-081-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-pinJustin R. Miller2015-04-082-2/+7
|\ \ \ | | | | | | | | fixes #1228: bring in Streets & Light & update styles pin
| * | | fixes #1228: bring in Streets & Light & update styles pinJustin R. Miller2015-04-082-2/+7
| |/ /
* | | Merge pull request #1071 from mapbox/1071-sqlite-avoid-crashKonstantin Käfer2015-04-0811-104/+580
|\ \ \ | |/ / |/| | Gracefully handle SQLite errors
| * | use sqlite itself to lock the database file rather than those unportable bsd ↵Konstantin Käfer2015-04-081-10/+19
| | | | | | | | | | | | locks
| * | guard against invalid database filesKonstantin Käfer2015-04-084-5/+79
| | |
| * | make sqlite storage more resilient to sporadic errorsKonstantin Käfer2015-04-079-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. Miller2015-04-070-0/+0
| | |
* | | bump podspec version to 0.2.9ios-v0.2.9Justin R. Miller2015-04-071-1/+1
| | |
* | | Merge pull request #1221 from mapbox/1216-pauseBrad Leege2015-04-074-1/+62
|\ \ \ | | | | | | | | Pause and Resume Metrics
| * | | #1216 - Commenting out pause / resume test hooksBrad Leege2015-04-071-1/+2
| | | |
| * | | #1216 - Documenting use of pauseMetricsCollection and resumeMetricsCollectionBrad Leege2015-04-071-0/+10
| | | |
| * | | #1216 - Added test usage of pausing / resuming Metrics to simulate app ↵Brad Leege2015-04-072-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-pauseBrad Leege2015-04-075-11/+52
| |\ \ \
| * | | | #1216 - Adding start and stop location manager update to pause and resume ↵Brad Leege2015-04-062-1/+10
| | | | | | | | | | | | | | | | | | | | functions.
| * | | | #1216 - Add pause and resume methods with corresponding isPaused boolean ↵Brad Leege2015-04-062-0/+23
| | | | | | | | | | | | | | | | | | | | flag property
* | | | | Revert "move to Debug for iOS builds"Justin R. Miller2015-04-071-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 buildsJustin R. Miller2015-04-071-1/+1
| | | | |
* | | | | Merge pull request #1227 from mapbox/fix-repo-podspecJustin R. Miller2015-04-071-7/+8
|\ \ \ \ \ | |_|/ / / |/| | | | fix up Podspec (flatten, back to iOS subfolder)
| * | | | fix up Podspec (flatten, back to iOS subfolder)Justin R. Miller2015-04-071-7/+8
|/ / / /