Commit Graph

4049 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
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
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
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
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
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
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
Thiago Marcos P. Santos
3b92725de1 Stop processing SymbolBuckets at the first incomplete bucket
In order to calculate the collision correctly, the layer ordering
matters. Because of that, when we find the first incomplete symbol
bucket, we stop processing any furter SymbolBucket.

The side effect of this change is, if the first SymbolBucket is the
last to receive its resources, we won't see any label at all on
the screen until the last moment, when everything will be draw at
once.
2015-05-13 09:58:29 +02:00
Thiago Marcos P. Santos
af63b4980d Move the Collision object from TileParser to VectorTileData
We keep the Collision object alive longer because we need it
for the SymbolBuckets yet to be created in case more data
resources arrive. When the tile is no longer needed or if it
is completely parsed or obsolete (i.e. in a immutable state)
we throw the Collision object away.
2015-05-13 09:58:29 +02:00
Thiago Marcos P. Santos
41d619771e Make the state attribute private
Also add a virtual setState() method to give subclasses a chance
to intercept the change of state. This will be used by VectorTileData
to release resources when the TileData becomes immutable.
2015-05-13 09:58:19 +02:00
Konstantin Käfer
40b604448f add BinPack test 2015-05-12 20:46:56 -07:00
Konstantin Käfer
8dd6da5b5e don't implicitly cast to bool since this will make comparisons fails 2015-05-12 20:46:56 -07:00
karenzshea
76b47e801e add mobile badge 2015-05-12 20:44:31 -07:00
Mike Morris
a65c90fdcb compile OS X with --std=c++1y
because Travis uses Apple LLVM 6.0 and full c++14 support landed in 6.1
2015-05-12 20:43:01 -07:00
Justin R. Miller
7c14d8c8bf [publish ios-v0.2.24] 2015-05-12 18:54:11 -07:00
Justin R. Miller
bc0b783b59 bump podspec to 0.2.24 2015-05-12 18:53:48 -07:00
Justin R. Miller
6519d23611 Merge pull request #1491 from mapbox/1ec5-metrics-opt-way-out
refactor metrics system to immediately jettison data & tracking when users opt out
2015-05-12 18:48:10 -07:00
Justin R. Miller
13405479b7 Merge pull request #1517 from mapbox/metrics-tests
refs #1491: iOS metrics testing
2015-05-12 18:45:45 -07:00
Minh Nguyễn
523239c0e6 Merge pull request #1530 from mapbox/1ec5-metrics-assert
Corrected Settings.bundle assertion message
2015-05-12 18:45:30 -07:00
Minh Nguyễn
f140733414 Merge pull request #1528 from mapbox/1516-getter
Adding Getter Method
2015-05-12 18:45:11 -07:00
Brad Leege
0a1e89a9ca Merge pull request #1520 from mapbox/1516-opt-out-checking
Explicit Opt Out Checking
2015-05-12 18:44:49 -07:00
Justin R. Miller
a47f749fe4 Merge pull request #1491 from mapbox/1ec5-metrics-opt-way-out
refactor metrics system to immediately jettison data & tracking when users opt out
2015-05-12 18:36:59 -07:00
Justin R. Miller
190e911209 fix dispatch-thread pattern
1. Always bail early if in IB.
 2. Always run on main thread if not already.
 3. THEN dispatch_once to create the static instance.
2015-05-12 18:23:59 -07:00
Justin R. Miller
1c8d3c5e42 patch up test project 2015-05-12 17:14:29 -07:00
Justin R. Miller
efc4bb4ef6 add header docs for new MGLAccountManager; reorg 2015-05-12 16:44:26 -07:00
John Firebaugh
606e2c7383 Remove currently unsupported styles from defaultStyles 2015-05-12 16:42:26 -07:00
Justin R. Miller
18b96ec4fd fix spacing, ordering, imports 2015-05-12 16:33:32 -07:00
Minh Nguyễn
7ed31065ed Cleaned up in-app opt-out property
Renamed the property to be consistent with the public class methods. Also removed a spurious #import of a .m file.
2015-05-12 16:16:48 -07:00