summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Defailablize init methodsMinh Nguyễn2015-05-271-2/+2
| | | | If an OpenGL context couldn’t be created, there’s just no point to soldiering on. Things are going to fall apart pretty quickly anyways. Assert and be done with it.
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-264-26/+1
|
* DefaultFileSource has responsibility for handling mapbox:// URLsJohn Firebaugh2015-05-263-8/+10
|
* prefix Reachability with "MGL" to avoid linking conflicts and app store ↵Konstantin Käfer2015-05-261-4/+4
| | | | rejections
* update Reachability with latest versionKonstantin Käfer2015-05-261-25/+8
|
* Notify failures when loading glyphsThiago Marcos P. Santos2015-05-221-0/+5
|
* Notify failures when loading tilesThiago Marcos P. Santos2015-05-221-0/+5
|
* Notify failures when loading the sprite JSON and imageThiago Marcos P. Santos2015-05-221-0/+5
|
* Notify failures when loading the source JSONThiago Marcos P. Santos2015-05-221-0/+5
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-222-1/+3
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* Merge pull request #1561 from 1ec5-style-id-1500Minh Nguyễn2015-05-212-4/+5
|\ | | | | | | mapID → styleID
| * mapID → styleIDMinh Nguyễn2015-05-142-4/+5
| | | | | | | | | | | | Deprecated `-mapID` and `-setMapID:` to accurately reflect the APIs the ID is used for. Marked the property unavailable but reimplemented its getter and setter to assert with helpful messages. Fixes #1500.
* | Made accessToken uninspectableMinh Nguyễn2015-05-211-1/+0
| |
* | Merge branch '1ec5-plist-1535'Minh Nguyễn2015-05-202-17/+12
|\ \
| * | Removed accessToken from MGLMapView public APIMinh Nguyễn2015-05-201-16/+11
| | | | | | | | | | | | With helpful instructions for migrating to Info.plist or the `MGLAccountManager` API.
| * | Obsoleted +setMapboxMetricsEnabledSettingShownInApp:Minh Nguyễn2015-05-131-1/+1
| | | | | | | | | | | | Made `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]` unavailable, with a message explaining what to do instead. Removed a commented-out call to that method. Only the environment for an access token if one hasn’t already been set in Info.plist.
| * | Grab access token and other app-wide data from Info.plistMinh Nguyễn2015-05-131-1/+1
| | | | | | | | | | | | | | | | | | That way there’s no ambiguity about when you should call things like `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]`. In fact, that method is now deprecated because it’s so easy to call in the wrong place. Fixes #1535.
* | | only return locked FontStack objectsKonstantin Käfer2015-05-191-0/+30
| | |
* | | Removed “private” headerMinh Nguyễn2015-05-181-14/+0
| | | | | | | | | | | | | | | | | | 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-181-60/+0
| | | | | | | | | | | | `-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.
* | | 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.
* | | | Properly fail to load the mapMinh Nguyễn2015-05-161-0/+2
|/ / / | | | | | | | | | 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 branch 'ios-b1'Justin R. Miller2015-05-151-1/+0
|\ \ \ | |_|/ |/| |
| * | refs #1568: remove IBDesignable support for nowJustin R. Miller2015-05-151-1/+0
| | |
| * | Merge pull request #1491 from mapbox/1ec5-metrics-opt-way-outJustin R. Miller2015-05-124-23/+30
| | | | | | | | | | | | refactor metrics system to immediately jettison data & tracking when users opt out
| * | Merge pull request #1528 from mapbox/1516-getterMinh Nguyễn2015-05-121-0/+1
| | | | | | | | | Adding Getter Method
| * | Merge pull request #1520 from mapbox/1516-opt-out-checkingBrad Leege2015-05-121-0/+1
| | | | | | | | | Explicit Opt Out Checking
* | | Extensible GL extension supportJohn Firebaugh2015-05-131-123/+24
| | |
* | | Remove unused GL feature flagsJohn Firebaugh2015-05-131-8/+0
| | | | | | | | | | | | These were used only for prerendered textures, which were removed.
* | | Use uv::asyncJohn Firebaugh2015-05-131-2/+2
| | |
* | | Remove unusedJohn Firebaugh2015-05-133-6/+0
| |/ |/| | | | | | | There are no longer any requests made that don't have a run loop to dispatch back to.
* | add header docs for new MGLAccountManager; reorgJustin R. Miller2015-05-121-4/+23
| |
* | fix spacing, ordering, importsJustin R. Miller2015-05-122-2/+4
| |
* | Merge branch 'master' into 1ec5-metrics-opt-way-outMinh Nguyễn2015-05-121-0/+2
|\ \
| * | #1516 - Adding public setter method to MGLAccountManager.h. Fixing example ↵Brad Leege2015-05-121-0/+1
| | | | | | | | | | | | signal opt out in MBXAppDelegate.
| * | Merge pull request #1520 from mapbox/1516-opt-out-checkingBrad Leege2015-05-121-0/+1
| |\ \ | | | | | | | | Explicit Opt Out Checking
| | * | #1516 - Renaming setShowsOptOutInApp to ↵Brad Leege2015-05-121-1/+1
| | | | | | | | | | | | | | | | setMapboxMetricsEnabledSettingShownInApp for app consistency. Implementing wordsmith edits to NSAssert text. Removing technical debt.
| | * | #1516 - Adding explicit checks for developer implementation of user Opt Out ↵Brad Leege2015-05-111-0/+1
| | |/ | | | | | | | | | functionality
* | | Consolidated logic for pausing/resuming MGLMapboxEventsMinh Nguyễn2015-05-121-0/+3
| | | | | | | | | | | | `MGLMapboxEvents` automatically recreates its location manager when the host app is reauthorized for Location Services. Added some redundancy to ensure that there is no location manager when either Location Services or Mapbox Metrics is off.
* | | Folded MGLMetricsLocationManager into MGLMapboxEventsMinh Nguyễn2015-05-121-4/+0
| | | | | | | | | | | | `MGLMetricsLocationManager` was nothing but overhead for `CLLocationManager`. Also removed an unused method.
* | | Refactored MGLMapboxEvents for better data managementMinh Nguyễn2015-05-122-13/+0
|/ / | | | | | | The shared `MGLMapboxEvents` now owns the only instance of `MGLMetricsLocationManager`. It also owns a `MGLMapboxEventsData` object, to which all user-specific data has been relegated. This object can be built up and torn down on the fly, whenever the opt-out preference is toggled. `MGLMapboxEvents` has also given up knowledge of the access token and now queries `MGLAccountManager` for that information, which `MGLMapView` keeps up-to-date.
* | Merge pull request #1469 from mapbox/1435-android-gl-crashBrad Leege2015-05-113-8/+8
|\ \ | | | | | | Android GL Crash
| * | Ignore deactivate when no valid EGL display. Fixes #1435Leith Bade2015-05-093-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialise NativeMapView's EGL variables before Map Fix hang Add check for double pause Add test for double pause
* | | fix division by zero conditionsDane Springmeyer2015-05-081-1/+5
| |/ |/|
* | Fix Linux GCC Debug buildThiago Marcos P. Santos2015-05-081-1/+1
| | | | | | | | | | Compiler was complaining about shadowed variable after macro expansion.
* | change the window title to indicate the current styleKonstantin Käfer2015-05-071-0/+2
| |
* | Make all GLFWView attributes privateThiago Marcos P. Santos2015-05-071-5/+6
| |
* | Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-072-2/+9
| | | | | | | | | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* | don't doc or package private headersJustin R. Miller2015-05-051-0/+0
|/