Commit Graph

11507 Commits

Author SHA1 Message Date
John Firebaugh
2efaeb8816 Upload headless results in after_script
I need to see the results even for passing builds, so I can tell how
allowed failures are still failing.
2015-05-14 17:44:33 -07:00
Justin R. Miller
816796172a Merge branch 'ios-b1' 2015-05-14 15:34:05 -07:00
Justin R. Miller
6ab4f974ca touch up README around CocoaPods 2015-05-14 15:31:26 -07:00
Justin R. Miller
1bb7be6702 update podspec homepage 2015-05-14 14:53:26 -07:00
Minh Nguyễn
00b2e13b64 mapID → styleID
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.
2015-05-14 14:49:26 -07:00
Justin R. Miller
e7d60f8e0b [publish ios-v0.3.0] 2015-05-14 14:17:17 -07:00
Justin R. Miller
b1fac0a796 bump podspec to 0.3.0 2015-05-14 14:17:03 -07:00
Brad Leege
594603f929 Merge pull request #1560 from friedbunny/compass-device-rotation-rotation
Rotate compass on device orientation changes
2015-05-14 16:10:00 -05:00
Jason Wray
03a129176c Rotate compass on device orientation changes 2015-05-14 13:13:24 -07:00
John Firebaugh
d1107fb4ed Fix misleading headless test output (fixes #1557) 2015-05-14 13:03:12 -07:00
Mike Morris
2da70779c6 gcc -Wshadow is annoying 2015-05-14 15:39:48 -04:00
Mike Morris
99e24102c5 drop FLAVOR env var 2015-05-14 13:57:44 -04:00
Mike Morris
068491711b test against io.js 2.0.1 2015-05-14 13:56:47 -04:00
Mike Morris
b7ab9485d4 upgrade node modules, switch from tap-spec to faucet 2015-05-14 13:53:05 -04:00
Mike Morris
11b214fed6 if/else on NODE_MODULE_VERSION instead of UV_VERSION 2015-05-14 12:55:54 -04:00
Mike Morris
c0fe624ecd add node v0.12 and io.js compatibility 2015-05-14 12:55:54 -04:00
Mike Morris
1455822111 BIG matrix with multiple node versions and iojs 2015-05-14 12:23:42 -04:00
Mike Morris
78df900284 break out NODE_EXE env var 2015-05-14 12:17:28 -04:00
Mike Morris
79c73f990b Merge pull request #121 from mapbox/source-madness
Don't do things that set -e in Travis's shell
2015-05-14 11:39:26 -04:00
Mike Morris
1942333685 bump mbgl 2015-05-14 11:14:47 -04:00
Minh Nguyễn
a04703e2d5 Updated Metrics in-app opt-out assertion
The message referred to `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]`, which is no longer available.
2015-05-14 00:38:52 -07:00
Minh Nguyễn
0ad76c95d2 Obsoleted +setMapboxMetricsEnabledSettingShownInApp:
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.
2015-05-13 22:33:03 -07:00
John Firebaugh
7d4f12434e Ensure call-once semantics inside InitializeExtensions 2015-05-13 19:01:58 -07:00
John Firebaugh
a2344c36c3 Extensible GL extension support 2015-05-13 19:01:58 -07:00
John Firebaugh
0f7c6b0b52 Remove unused GL feature flags
These were used only for prerendered textures, which were removed.
2015-05-13 19:01:57 -07:00
John Firebaugh
9cd749b55a Update test suite 2015-05-13 18:51:25 -07:00
Konstantin Käfer
83484dc849 move result deployment to after_failure script 2015-05-13 17:19:53 -07:00
Konstantin Käfer
37a34d4287 update test suite and fail Travis when comparisons fail 2015-05-13 17:19:53 -07:00
Minh Nguyễn
164ff72297 Fall back on MGLAccountManager access token
Makes IB designables aware of access tokens set via Info.plist.
2015-05-13 16:33:40 -07:00
Minh Nguyễn
cbb7112e8c Set up MGLAccountManager without any prodding
`MGLAccountManager` is now guaranteed to initialize without the code ever making any mention of it. It also is guaranteed to be set up before `MGLMapboxMetrics` but will definitely cause `MGLMapboxMetrics` to be set up on the main thread if the access token is set in Info.plist.
2015-05-13 16:08:40 -07:00
Minh Nguyễn
2529baa62b Grab access token and other app-wide data from Info.plist
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.
2015-05-13 15:33:28 -07:00
John Firebaugh
4db34bd9ef Don't do things that set -e in Travis's shell
Sourcing files that set flags bleed into Travis' wrapper script, which
messes with their workflow, e.g. preventing after_failure scripts from
triggering.

These changes fix that:

* Move exported variables from install.sh to setup.sh, so install.sh
  doesn't have to be sourced.
* Source setup.sh from run.sh, rather than directly from .travis.yml.

In addition, as a good practice, remove `set -e` etc. from setup.sh,
and add a comment not to add them back. It's the sourcing script's
responsibility to set these flags.
2015-05-13 15:21:56 -07:00
John Firebaugh
b334b7ee4e Remove unnecessary use of shared_from_this()
If the request is cancelled, the response callback won't be called, and
~Source ensures that the request is cancelled. So it's safe to bind
`this` in the lambda.
2015-05-13 13:57:32 -07:00
John Firebaugh
e6eb6c7fe4 Use uv::async 2015-05-13 13:54:16 -07:00
John Firebaugh
386be7c0fa Remove unused
There are no longer any requests made that don't have a run loop to
dispatch back to.
2015-05-13 13:54:16 -07:00
Justin R. Miller
059d42c8cb [publish ios-v0.2.25] 2015-05-13 13:03:33 -07:00
Justin R. Miller
625f644180 bump podspec to 0.2.25 2015-05-13 13:02:36 -07:00
Mike Morris
0117921017 Merge pull request #118 from mapbox/separate-threads
separate threads
2015-05-13 14:47:58 -04:00
Konstantin Käfer
ac1dcecef6 Merge pull request #1532 from mapbox/1465-text_collision
Calculate text collision correctly
2015-05-13 11:29:32 -07:00
Mike Morris
40ad3501a7 Merge pull request #119 from mapbox/travis-1339
update travis script
2015-05-13 13:46:01 -04:00
Justin R. Miller
1ae3b1d122 Merge pull request #1547 from mapbox/1ec5-ib-nil
Return nil for IB designables agent
2015-05-13 10:28:09 -07:00
Mike Morris
99b37c64f9 compile OS X with --std=c++1y
because Travis uses Apple LLVM 6.0 and full c++14 support landed in 6.1
https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/WhatsNewXcode.pdf
2015-05-13 12:58:34 -04:00
Mike Morris
1b9f98440a ignore GCC diagnostics for node.h 2015-05-13 12:58:34 -04:00
Mike Morris
1eeb7b65e9 update travis script for https://github.com/mapbox/mapbox-gl-native/pull/1339
refactor mbgl travis scripts

source travis_helper.sh, run setup.sh

pushd/popd

sudo false

travis matrix with c++14 support?

drop setup_mesa.sh

update binding.gyp

language: c

drop thread_object, add async_queue

fix async_queue.hpp includes

std::make_unique

pip install awscli
2015-05-13 12:58:04 -04:00
Justin R. Miller
1d38b63640 Merge pull request #1547 from mapbox/1ec5-ib-nil
Return nil for IB designables agent
2015-05-13 09:03:41 -07:00
Minh Nguyễn
9a404a3088 Return nil for IB designables agent
In Objective-C, the return value for a non-void method is the receiver by default. Hello NeXTSTEP.
2015-05-13 07:53:32 -07:00
Konstantin Käfer
f4221dcdd2 Merge pull request #1523 from mapbox/1523-fix-still-image-rendering
Still image rendering doesn't wait until all tiles are parsed
2015-05-13 11:44:00 +02:00
Konstantin Käfer
e274959753 abort rendering early when we don't need to
when rendering still images, we don't need to render until everything is completely loaded
2015-05-13 10:39:22 +02:00
Konstantin Käfer
3ec48b1030 allow passing --debug to view tile boundaries in mbgl-render 2015-05-13 10:39:22 +02:00
Konstantin Käfer
42b626ea1e Merge pull request #1532 from mapbox/1465-text_collision
Calculate text collision correctly
2015-05-13 10:38:43 +02:00