summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Update test suiteJohn Firebaugh2015-05-191-0/+0
| | | |
* | | | port sprite atlas pollution fixAnsis Brammanis2015-05-193-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #1398 js: 212760981493460b438f1cc117001825773fad91 https://github.com/mapbox/mapbox-gl-js/pull/1195 The sprite atlas already had two empty pixels between each each icon. But the icon's real boundary isn't used for drawing. Drawing uses an icon's box rounded up to the nearest multiple of four. Sometimes this rounded boundary was directly on the edge of another icon. When the icon was sampled with linear interpolation it's edge would get polluted with values from the other icon. This commit shifts all icons and glyphs by 1px so that there is padding on all sides of the box being drawn. The quads used for drawing are shifted in the opposite direction by 1px to compensate for this.
* | | | bump test suiteKonstantin Käfer2015-05-191-0/+0
| | | |
* | | | only return locked FontStack objectsKonstantin Käfer2015-05-193-19/+40
| | | |
* | | | extend the FontStack lock to returned valuesKonstantin Käfer2015-05-193-7/+8
| | | |
* | | | don't mark the glyphs as parsed until we've actually parsed themKonstantin Käfer2015-05-191-1/+2
| | | |
* | | | Merge pull request #1591 from mapbox/1591-always-upload-testsKonstantin Käfer2015-05-191-1/+1
|\ \ \ \ | | | | | | | | | | Upload test results regardless of outcome
| * | | | fix Travis stage nameKonstantin Käfer2015-05-191-1/+1
|/ / / /
* | | | Merge pull request #1589 from mapbox/1396-info-plist-onlyBrad Leege2015-05-182-1/+9
|\ \ \ \ | | | | | | | | | | Manage Metrics TEST URL Via Info.plist
| * | | | #1396 - Backing out accidental commit from ↵Brad Leege2015-05-181-0/+0
| | | | | | | | | | | | | | | | | | | | fa34b5396482faa66af0a38d24d724db026d722c
| * | | | #1396 - Refactoring Metrics Test Server URL configuration to be drive via ↵Brad Leege2015-05-183-1/+9
| | | | | | | | | | | | | | | | | | | | Info.plist
* | | | | Less bland default title for user dot annotationMinh Nguyễn2015-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | What’s a map without a You Are Here sticker?
* | | | | Marked unused parameters with __unusedMinh Nguyễn2015-05-183-46/+16
| | | | | | | | | | | | | | | | | | | | Replaced haphazard usage of pragmas and `(void)` expressions with the `__unused` keyword.
* | | | | Don't crash if VAO extensions are not availableJohn Firebaugh2015-05-183-4/+5
| | | | | | | | | | | | | | | | | | | | Fixes #1585
* | | | | Fix typos and add access token reminderJohn Firebaugh2015-05-181-4/+4
| | | | | | | | | | | | | | | [skip ci]
* | | | | Add README instructions for running on Android emulator and devicesLeith Bade2015-05-191-5/+34
|/ / / /
* | | | Update token.txt location in READMEJohn Firebaugh2015-05-181-1/+1
| | | | | | | | | | | | [skip ci]
* | | | Remove clean from ipackage* dependenciesJohn Firebaugh2015-05-181-2/+2
| | | | | | | | | | | | Fixes #1584
* | | | Removed “private” headerMinh Nguyễn2015-05-183-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | Instead of exposing these methods in a private header that winds up triggering warnings publicly, just redeclare the methods in a category. Since this is a test app, we’ll catch any issues that arise from refactoring simply by testing. Fixes #1579.
* | | | Privatized MGLMapboxEventsMinh Nguyễn2015-05-189-42/+10
| | | | | | | | | | | | | | | | `-pauseMetricsCollection` and `-resumeMetricsCollection` were originally introduced to mitigate concerns around battery usage, but `MGLMapboxEvents` has since evolved to tread much lighter on the battery. There’s no longer any need for the client to call these methods directly. The iOS test project now includes MGLMapboxEvents.h explicitly to avoid having to package a header that will go unused.
* | | | Move mobile logo to internal repoJohn Firebaugh2015-05-181-1/+0
| | | | | | | | | | | | [skip ci]
* | | | Merge pull request #1461 from mapbox/1458-partial_tiles_reparseThiago Marcos P. Santos2015-05-1811-34/+127
|\ \ \ \ | | | | | | | | | | Do not process partial tiles if no new resources have arrived
| * | | | Only emit tile updated signals when the tile really changesThiago Marcos P. Santos2015-05-187-17/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only emit signals when the number of buckets increase (i.e. the new data that arrived added a new bucket to the tile). Also, if we try to reparse a partial tile but it is not possible, we keep the flag up for trying to reparse it again on the next update, because the data might have arrived after the bucket that is waiting for the data was processed but before the end of the parsing. Fixes #1458
| * | | | Allow reparsing partial tiles when we have new tilesThiago Marcos P. Santos2015-05-184-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When parsing a tile, we request resources from the network, like sprites and glyphs. In the rare case of the resources arriving before the tile is parsed for the first time, if we don't mark it for being parsed again, it can end up with a tile eternally stuck in the partial state.
| * | | | Do not process partial tiles if no new resources have arrivedThiago Marcos P. Santos2015-05-184-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial tiles are now only processed again when there is a new resource available. If we don't have new resources - like new glyphs - the end result of the reparsing is the same, because no new SymbolBuckets would are created. In my tests debugging with PowerTOP, this patch drops the CPU utilization during the sampling period from 100ms/s to 40ms/s. The improvements on slow connections (i.e. more time waiting for resources) are even more noticeable.
| * | | | Emit the signal on the MapThreadThiago Marcos P. Santos2015-05-183-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were previously emitting the signal on the thread parsing the glyph, but signals can only be trigger from the MapThread because the observers are living there.
| * | | | Keep a pointer to GlyphStore on ResourceLoaderThiago Marcos P. Santos2015-05-183-7/+29
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | For now, keep a pointer so we can subscribe/unsubscribe to events. In the future, we should move this object completely to ResourceLoader, but we can't do it now because we delete the ResourceLoader when changing the style.
* | | | Merge pull request #1573 from mapbox/1ec5-designable-redux-1568Minh Nguyễn2015-05-161-0/+1
|\ \ \ \ | | | | | | | | | | Restore IB designable support
| * | | | Revert "refs #1568: remove IBDesignable support for now"Minh Nguyễn2015-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5a918cbb2c97271b3144fb8aace06f6fbdf30cb9. The designable works fine because of #1469. Fixes #1568.
* | | | | Merge pull request #1577 from mapbox/1ec5-did-fail-to-failMinh Nguyễn2015-05-164-2/+9
|\ \ \ \ \ | |/ / / / |/| | | | Properly fail to load the map
| * | | | Properly fail to load the mapMinh Nguyễn2015-05-164-2/+9
|/ / / / | | | | | | | | | | | | A typo in a selector literal meant that `-[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:]` would never be sent to delegates even if `MGLMapView` had called it. Along for the ride, create a proper `NSError` to pass into that callback, and an error domain for that error.
* | | | Merge pull request #1571 from mapbox/android-stylesLeith Bade2015-05-162-40/+22
|\ \ \ \ | | | | | | | | | | Update Android to use new styles
| * | | | Update Android to use new stylesLeith Bade2015-05-162-40/+22
|/ / / /
* | | | Merge branch 'ios-b1'Justin R. Miller2015-05-151-0/+4
|\ \ \ \
| * | | | update changelog for 0.3.1Justin R. Miller2015-05-151-0/+4
| | | | |
* | | | | Merge branch 'ios-b1'Justin R. Miller2015-05-153-2/+4
|\ \ \ \ \ | |/ / / /
| * | | | use full raw screenshot for portability into API docsJustin R. Miller2015-05-151-1/+1
| | | | |
| * | | | [publish ios-v0.3.1]Justin R. Miller2015-05-150-0/+0
| | | | |
| * | | | bump podspec to 0.3.1ios-v0.3.1Justin R. Miller2015-05-151-1/+1
| | | | |
| * | | | add podspec site docs URLJustin R. Miller2015-05-151-0/+1
| | | | |
| * | | | add iOS screenshot to README, which goes into API docsJustin R. Miller2015-05-151-0/+2
| | | | |
| * | | | refs #1568: remove IBDesignable support for nowJustin R. Miller2015-05-151-1/+0
| | | | |
* | | | | Render translucent background layers (fixes #1514)John Firebaugh2015-05-153-72/+50
| | | | |
* | | | | Merge pull request #1567 from mapbox/threadset-emplace-followupKonstantin Käfer2015-05-151-5/+3
|\ \ \ \ \ | | | | | | | | | | | | Removed unneeded unique_ptr
| * | | | | Removed unneeded unique_ptrThiago Marcos P. Santos2015-05-151-5/+3
| | | | | |
* | | | | | Merge pull request #1408 from mapbox/1408-fix-integer-overflowKonstantin Käfer2015-05-151-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Coverity [64756] Unintentional integer overflow
| * | | | | make sure bit shifts happen with unsigned integersKonstantin Käfer2015-05-151-2/+2
|/ / / / / | | | | | | | | | | | | | | | fixes #1407 and #1408
* | | | | Merge pull request #1291 from mapbox/threadset-emplaceThiago Marcos P. Santos2015-05-152-9/+8
|\ \ \ \ \ | | | | | | | | | | | | emplace into threadSet
| * | | | | Make the MapContext object run on its own thread on the testsThiago Marcos P. Santos2015-05-151-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MapContext can only run on its own thread because it is registering a EnvironmentScope and it is making many assertions on Debug mode if its methods are being called on the Map thread.
| * | | | | emplace into threadSetMike Morris2015-05-151-4/+1
|/ / / / / | | | | | | | | | | | | | | | Map thread and Main thread should be separated in Mode::Static now